Introduction of structural ast nodes
Adds structural node category into AST, facilitating the distinction between expression nodes, structural nodes (e.g. statements, assignments, etc.) and other node types.
Adds structural node category into AST, facilitating the distinction between expression nodes, structural nodes (e.g. statements, assignments, etc.) and other node types.
marked this merge request as ready
requested review from @da15siwa
approved this merge request
added 1 commit
assigned to @zy69guqi
I pushed some additional changes - most of the cast
calls were unnecessary as mypy could narrow the types by itself, and I found it more sensible to resolve the typing using overloads and runtime checks in the remaining cases.
If you're fine with the additions, feel free to merge.
mentioned in commit 1998bc1e
merged