Example usage for Java org.antlr.v4.runtime RuleContext fields, constructors, methods, implement or subclass
The text is from its open source code.
ParserRuleContext | EMPTY |
ParseTree | getChild(int i) |
int | getChildCount() |
RuleContext | getParent() |
RuleContext | getPayload() |
int | getRuleIndex() |
String | getText() Return the combined text of all child nodes. |
boolean | isEmpty() A context is empty if there is no invoking state; meaning nobody called current context. |
String | toStringTree(Parser recog) Print out a whole tree, not just a node, in LISP format (root child1 .. |
String | toStringTree(List Print out a whole tree, not just a node, in LISP format (root child1 .. |