52d7ec2224
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. |
||
---|---|---|
.. | ||
vendor/qunit | ||
compiler-test.js | ||
helpers.js | ||
index.html | ||
parser-test.js | ||
passes-test.js | ||
README | ||
run |
PEG.js Test Suite ================= This is the PEG.js test suite. It ensures PEG.js works correctly. All tests should always pass on all supported platforms. Running in a browser -------------------- 1. Open the index.html file in your browser. 2. Watch the test pass (or fail). Running from a command-line --------------------------- 1. Make sure you have Node.js installed. 2. Run the following command: ./run 3. Watch the tests pass (or fail).