Skip to content

Is there a way to return a list of all expressions in an AST? #1334

Closed Answered by tobymao
steven-luabase asked this question in Q&A
Discussion options

You must be logged in to vote

[node.class for node, *_ in expression.walk()]

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@steven-luabase
Comment options

Answer selected by tobymao
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants