Fix a typo in 04-compile-time.md.

pull/3596/head
Elliot Waite 5 years ago committed by Conduitry
parent 4044458126
commit 0040f34c5c

@ -315,7 +315,7 @@ walk(ast: Node, {
---
The `walk` function provides a way to walk to abstract syntax trees generated by the parser, using the compiler's own built-in instance of [estree-walker](https://github.com/Rich-Harris/estree-walker).
The `walk` function provides a way to walk the abstract syntax trees generated by the parser, using the compiler's own built-in instance of [estree-walker](https://github.com/Rich-Harris/estree-walker).
The walker takes an abstract syntax tree to walk and an object with two optional methods: `enter` and `leave`. For each node, `enter` is called (if present). Then, unless `this.skip()` is called during `enter`, each of the children are traversed, and then `leave` is called on the node.

Loading…
Cancel
Save