Top Interfaces Classes
[default module]

Package org.antlr.runtime.tree


Interface Summary

Modifier and TypeInterface and Description
public interface
public interface
Tree

What does a tree look like?

public interface
TreeAdaptor

How to create and navigate trees.

public interface
TreeNodeStream

A stream of tree nodes, accessing nodes from a tree of some kind

public interface
TreeVisitorAction

How to execute code for node t when a visitor visits node t.

Class Summary

Modifier and TypeClass and Description
public abstract class
BaseTree

A generic tree implementation with no payload.

public abstract class
BaseTreeAdaptor

A TreeAdaptor that works with any Tree implementation.

public class
BufferedTreeNodeStream

A buffered stream of tree nodes.

public class
CommonErrorNode

A node representing erroneous token range in token stream

public class
CommonTree

A tree node that is wrapper for a Token object.

public class
CommonTreeAdaptor

A TreeAdaptor that works with any Tree implementation.

public class
public class
DOTTreeGenerator

A utility class to generate DOT diagrams (graphviz) from arbitrary trees.

public class
ParseTree

A record of the rules used to match a token sequence.

public class
RewriteCardinalityException

Base class for all exceptions thrown during AST rewrite construction.

public class
RewriteEarlyExitException

No elements within a (...)+ in a rewrite rule

public class
RewriteEmptyStreamException

Ref to ID or expr but no tokens in ID stream or subtrees in expr stream

public abstract class
RewriteRuleElementStream

A generic list of elements tracked in an alternative to be used in a -> rewrite rule.

public class
RewriteRuleNodeStream

Queues up nodes matched on left side of -> in a tree parser.

public class
public class
public class
TreeFilter

Cut-n-paste from material I'm not using in the book anymore (edit later to make sense): Now, how are we going to test these tree patterns against every subtree in our original tree?

public class
TreeIterator

Return a node stream from a doubly-linked tree whose nodes know what child index they are.

public class
TreeParser

A parser for a stream of tree nodes.

public class
public class
public class
public class
TreeRuleReturnScope

This is identical to the ParserRuleReturnScope except that the start property is a tree nodes not Token object when you are parsing trees.

public class
TreeVisitor

Do a depth first walk of a tree, applying pre() and post() actions as we discover and finish nodes.

public class
TreeWizard

Build and navigate trees with this object.