Function: walk()
walk(root): Generator<ChildNode>
Traverse the syntax tree rooted at root in depth-first pre-order.
Parameters
• root: Node
The syntax tree node to start from.
Returns
Generator<ChildNode>
A generator producing nodes that are decedents of the root node.
Defined in
src/ast.ts:164