Interface ITokenGrammarPath

Structure for the path the parser "took" to reach a certain position in the grammar.



lastTok: TokenType
lastTokOccurrence: number
occurrenceStack: number[]

The occurrence index (SUBRULE1/2/3/5/...) of each Grammar rule invoked and still unterminated. Used to distinguish between different invocations of the same subrule at the same top level rule.

ruleStack: string[]

The Grammar rules invoked and still unterminated to reach this Grammar Path.

Generated using TypeDoc