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

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

Introduction

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

The text is from its open source code.

Implementation

org.antlr.v4.runtime.tree.ParseTree has the following implementations.
Click this link to see all its implementation.

Method

Taccept(ParseTreeVisitor visitor)
The ParseTreeVisitor needs a double dispatch method.
ParseTreegetChild(int i)
intgetChildCount()
How many children are there?
ParseTreegetParent()
ObjectgetPayload()
This method returns whatever object represents the data at this note.
IntervalgetSourceInterval()
Return an Interval indicating the index in the TokenStream of the first and last token associated with this subtree.
StringgetText()
Return the combined text of all leaf nodes.
StringtoStringTree(Parser parser)
Specialize toStringTree so that it can print out more information based upon the parser.
StringtoStringTree()
Print out a whole tree, not just a node, in LISP format (root child1 ..