Expose the AST node visitor builder via PEG.compiler.visitor

This is useful mainly for plugins which manipulate the AST.
redux
David Majda 9 years ago
parent d34faba59e
commit 475215aa52

@ -4,6 +4,12 @@ var arrays = require("./utils/arrays"),
objects = require("./utils/objects");
var compiler = {
/*
* AST node visitor builder. Useful mainly for plugins which manipulate the
* AST.
*/
visitor: require("./compiler/visitor"),
/*
* Compiler passes.
*

Loading…
Cancel
Save