Package-level declarations
Types
A complete description of a multi-stage ANTLR-based parser, from source code to AST.
A KolasuToken generated from a Token. The token contains additional information that is specific to ANTLR, such as type and channel.
Either a Parse Tree terminal/leaf or non-terminal/node
Representation of the information contained in a Parse Tree terminal or leaf.
Representation of the information contained in a Parse Tree non-terminal or node.
An Origin corresponding to a ParseTreeNode. This is used to indicate that an AST Node has been obtained by mapping an original ParseTreeNode.
Functions
Get the original text associated to this non-terminal by querying the inputstream.
Get the original text associated to this token by querying the inputstream.
Get the original text associated to this terminal by querying the inputstream.
Navigate the parse tree performing the specified operations on the nodes, either real nodes or nodes representing errors.
Given an actual parse-tree produced by ANTLR, it creates a Parse Tree model.
Returns the range of the receiver parser rule context.