Skip to content

Conversation

@TomasVotruba
Copy link
Member

@TomasVotruba TomasVotruba commented Nov 19, 2025

cc @staabm I'm trying to replace node with StmtsAwareNode custom one. This is my first very raw attempt, no idea how to do it correctly.
Any feedback welcomed :)

Comment on lines 113 to 116

dump('unse here');
die;

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems the node cannot be If_ and StmtsAwareNode at the same time.
That means we don't see the If_ here. Instead of it's another StmtsAwareNode we'd have to unwrap.

@TomasVotruba TomasVotruba changed the title [stmts-aware] kick of custom node parser to use StmtsAwareNode [wip] [stmts-aware] kick of custom node parser to use StmtsAwareNode Nov 19, 2025
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.

3 participants