Abstract
Protected
_unorderedProtected
allProtected
Readonly
lexerProtected
mainProtected
Readonly
wrapperCurrent state of the unordered groups
Abstract
actionExecutes a grammar action that modifies the currently active AST node
Abstract
constructAbstract
consumeConsumes a specific token type from the token input stream. Requires a unique index within the rule for a specific token type.
Abstract
ruleAdds a new parser rule to the parser
Abstract
subruleInvokes the executable function for a given parser rule. Requires a unique index within the rule for a specific sub rule. Arguments can be supplied to the rule invocation for semantic predicates
Base interface for all parsers. Mainly used by the
parser-builder-base.ts
to perform work on different kinds of parsers. The main use cases are: