Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get nodes by type #45

Open
gazayas opened this issue Jun 10, 2023 · 0 comments
Open

Get nodes by type #45

gazayas opened this issue Jun 10, 2023 · 0 comments
Labels

Comments

@gazayas
Copy link
Owner

gazayas commented Jun 10, 2023

I'd like to return a list of nodes according to the type passed:

msmn.get_nodes_by_type(:var_field)

This would then return a list of all Masamune::AbstractSyntaxTree::VarField objects in msmn.node_list.

@gazayas gazayas added enhancement New feature or request feature and removed enhancement New feature or request labels Jun 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant