pegjs/spec/api
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
..
generated-parser-api.spec.js Improve location info in tracing events 2015-04-04 10:04:09 +02:00
pegjs-api.spec.js Improve location info in tracing events 2015-04-04 10:04:09 +02:00
plugin-api.spec.js Implement basic support for tracing 2015-03-30 14:00:19 +02:00