Skip to content

Conversation

dflook
Copy link
Owner

@dflook dflook commented Oct 17, 2024

Now that we wrap the ast module, we can create dummy nodes when node types are not present. This allows us test nodes types using isinstance instead of is_ast_node is most cases. is_ast_node is still required for determining constant types, so has been renamed is_constant_node

Now that we wrap the ast module, we can create dummy nodes when node types are not present.
This allows us test nodes types using isinstance instead of is_ast_node is most cases.
is_ast_node is still required for determining constant types.
@dflook dflook closed this Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant