Java org.antlr.v4.runtime RuleContext fields, constructors, methods, implement or subclass

Example usage for Java org.antlr.v4.runtime RuleContext fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.antlr.v4.runtime RuleContext.

The text is from its open source code.

Field

ParserRuleContextEMPTY

Method

ParseTreegetChild(int i)
intgetChildCount()
RuleContextgetParent()
RuleContextgetPayload()
intgetRuleIndex()
StringgetText()
Return the combined text of all child nodes.
booleanisEmpty()
A context is empty if there is no invoking state; meaning nobody called current context.
StringtoStringTree(Parser recog)
Print out a whole tree, not just a node, in LISP format (root child1 ..
StringtoStringTree(List ruleNames)
Print out a whole tree, not just a node, in LISP format (root child1 ..