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.
76f5c88073
The |plugins| option allows users to use plugins that change how PEG.js operates. A plugin is any JavaScript object with a |use| method. After the user calls |PEG.buildParser|, this method is called for each plugin with the following two parameters: * PEG.js config that describes used grammar parser and compiler passes used to generate the parser * options passed by user to |PEG.buildParser| The plugin is expected to change the config as needed, possibly based on the options passed by user. It can e.g. change the used grammar parser, change the compiler passes (including adding its own), etc. This way it can extend PEG.js in a flexible way. Implements part of GH-106. |
12 years ago | |
---|---|---|
.. | ||
compiler | 12 years ago | |
compiler.js | 12 years ago | |
grammar-error.js | 12 years ago | |
parser.js | 12 years ago | |
peg.js | 12 years ago | |
utils.js | 12 years ago |