pegjs/lib
David Majda d1fe86683b Improve location info in tracing events
Replace |line|, |column|, and |offset| properties of tracing events with
the |location| property. It contains an object similar to the one
returned by the |location| function available in action code:

  {
    start: { offset: 23, line: 5, column: 6 },
    end:   { offset: 25, line: 5, column: 8 }
  }

For the |rule.match| event, |start| refers to the position at the
beginning of the matched input and |end| refers to the position after
the end of the matched input.

For |rule.enter| and |rule.fail| events, both |start| and |end| refer to
the current position at the time the rule was entered.
2015-04-04 10:04:09 +02:00
..
compiler Improve location info in tracing events 2015-04-04 10:04:09 +02:00
utils Fix left recursion detection 2015-04-01 10:10:51 +02:00
compiler.js Implement infinite loop detection 2015-04-01 12:21:43 +02:00
grammar-error.js Utility functions cleanup: Split lib/utils.js 2014-05-08 20:28:31 +02:00
parser.js Improve location info in syntax errors 2015-04-04 10:04:04 +02:00
peg.js Utility functions cleanup: Split lib/utils.js 2014-05-08 20:28:31 +02:00