439c815e48
We want to have the rule parsing functions inside the |parse| method because we want them to share a common environment. In the future, initializers will be executed in this enviromnent and thus functions and variables defined by them will be accessible to the rule parsing functions. Moving various private properties from the parser object into the |parse| method was not strictly necessary, but it was a natural step after moving the functions. |
||
---|---|---|
.. | ||
compiler.js | ||
metagrammar.js | ||
metagrammar.pegjs |