Top Interfaces Classes
module org.antlr.antlr4.runtime

Package org.antlr.v4.runtime.tree


Interface Summary

Modifier and TypeInterface and Description
public interface
public interface
ParseTree

An interface to access the tree of RuleContext objects created during a parse that makes the data structure look like a simple parse tree.

public interface
ParseTreeListener

This interface describes the minimal core of methods triggered by ParseTreeWalker.

public interface
ParseTreeVisitor<
The return type of the visit operation. Use Void for operations with no return type.
T
>

This interface defines the basic notion of a parse tree visitor.

public interface
public interface
SyntaxTree

A tree that knows about an interval in a token stream is some kind of syntax tree.

public interface
public interface
Tree

The basic notion of a tree has a parent, a payload, and a list of children.

Class Summary

Modifier and TypeClass and Description
public abstract class
public class
ErrorNodeImpl

Represents a token that was consumed during resynchronization rather than during a valid match operation.

public class
IterativeParseTreeWalker

An iterative (read: non-recursive) pre-order and post-order tree walker that doesn't use the thread stack but heap-based stacks.

public class
ParseTreeProperty<V>

Associate a property with a parse tree node.

public class
public class
public class
Trees

A set of utility routines useful for all kinds of ANTLR trees.