Skip to content

Commit 442c8c4

Browse files
authored
feat: add getChildren and getChildFields methods to Node (#249)
This should make it easier to traverse ASTs when depending only on decaffeinate-parser. Also change test traversal to use this new method, so that our tests make sure every node is covered. (`stripExtraInfo` also had the wrong type before, so this makes it so the param is actually always `Node`.) Traverse function and parent pointers coming soon.
1 parent 77919ff commit 442c8c4

File tree

2 files changed

+242
-13
lines changed

2 files changed

+242
-13
lines changed

0 commit comments

Comments
 (0)