You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39084496ca
The action/predicate code didn't have access to the parser object. This was mostly a side effect actions/predicates being implemented as nested functions, in which |this| is a reference to the global object (an ugly JavaScript quirk). The initializer, being implemented differently, had access to the parser object via |this|, but this was not documented. Because having access to the parser object can be useful, this commits introduces a new |parser| variable which holds a reference to it, is visible in action/predicate/initializer code, and is properly documented. See also: https://groups.google.com/forum/#!topic/pegjs/Na7YWnz6Bmg |
10 years ago | |
---|---|---|
.. | ||
generate-bytecode.js | 10 years ago | |
generate-javascript.js | 10 years ago | |
remove-proxy-rules.js | 12 years ago | |
report-left-recursion.js | 12 years ago | |
report-missing-rules.js | 12 years ago |