You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When transforming the AST, it would be useful to re-use part of the old AST so I don't have to manually reconstruct all nodes nested in the part I'm transforming:
Of course. The builders don't care where the node comes from. But in your example, p is a NodePath. If you want to access the contained AST node, you need to use p.node or p.value.
When transforming the AST, it would be useful to re-use part of the old AST so I don't have to manually reconstruct all nodes nested in the part I'm transforming:
Is this possible?
The text was updated successfully, but these errors were encountered: