Replies: 1 comment 4 replies
-
Have you checked out this site? https://astexplorer.net/ Enter your code sample, and then you can see corresponding AST, which will include nodes to represent the variables on each side of the operator. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there !
I'm trying to improve my project, in which I've some touchy cases I would like to highlight in my Gitlab pipelines.
As an example, I want to check if part of "===" operator is an object or a specific type, and if it is, throw an error. I've a custom rule, which find the operator, but I'm not able to find the type of left and right parts.
Maybe someone know if that's possible and could explain to me ?
Many thanks !
Beta Was this translation helpful? Give feedback.
All reactions