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.
David Majda 52d7ec2224 Implement |trackLineAndColumn| option for |PEG.buildParser|
This option makes the generated parser track line and column during
parsing. Tracked line and column are made available inside actions and
predicates as |line| and |column| variables.

Note that in actions these variables denote start position of the
action's expression while in predicates they denote the current
position. The slightly different behavior is motivated by expected
usage.
13 years ago
..
compiler.js Allow passing options to |PEG.buildParser| 13 years ago
emitter.js Implement |trackLineAndColumn| option for |PEG.buildParser| 13 years ago
parser.js Implement |trackLineAndColumn| option for |PEG.buildParser| 13 years ago
parser.pegjs AST: Store rules in an array instead of an object 13 years ago
passes.js Fix a bug in param name fixup code for sequences 13 years ago
peg.js Allow passing options to |PEG.buildParser| 13 years ago
utils.js AST: Store rules in an array instead of an object 13 years ago