Replies: 2 comments 1 reply
-
If two node IDs are equal, what does it signify?For example, consider the following transformation: Input var foo = function () {}; Output var foo = function foo() {}; In this transformation, the |
Beta Was this translation helpful? Give feedback.
1 reply
-
I really want to have this. It would resolve lots of perf issues caused by lack of proper scoping. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I propose adding a
NodeId
field to each AST node:struct BinaryExpr { + id: NodeID; left: Box<Expr>; right: Box<Expr> }
And these values auto-incremented during the parsing phase, for example:
Beta Was this translation helpful? Give feedback.
All reactions