Package schrodinger :: Package application :: Package desmond :: Package antlr3 :: Module tree
[hide private]
[frames] | no frames]

Module tree

@package antlr3.tree @brief ANTLR3 runtime package, tree module

This module contains all support classes for AST construction and tree parsers.

Classes [hide private]
  RewriteCardinalityException
@brief Base class for all exceptions thrown during AST rewrite construction.
  RewriteEarlyExitException
@brief No elements within a (...)+ in a rewrite rule
  RewriteEmptyStreamException
@brief Ref to ID or expr but no tokens in ID stream or subtrees in expr stream
  Tree
@brief Abstract baseclass for tree nodes.
  TreeAdaptor
@brief Abstract baseclass for tree adaptors.
  BaseTree
@brief A generic tree implementation with no payload.
  BaseTreeAdaptor
@brief A TreeAdaptor that works with any Tree implementation.
  CommonTree
@brief A tree node that is wrapper for a Token object.
  CommonErrorNode
A node representing erroneous token range in token stream
  CommonTreeAdaptor
@brief A TreeAdaptor that works with any Tree implementation.
  TreeNodeStream
@brief A stream of tree nodes
  CommonTreeNodeStream
@brief A buffered stream of tree nodes.
  TreeParser
@brief Baseclass for generated tree parsers.
  TreeVisitor
Do a depth first walk of a tree, applying pre() and post() actions we go.
  RewriteRuleElementStream
@brief Internal helper class.
  RewriteRuleTokenStream
@brief Internal helper class.
  RewriteRuleSubtreeStream
@brief Internal helper class.
  RewriteRuleNodeStream
Queues up nodes matched on left side of -> in a tree parser.
  TreeRuleReturnScope
This is identical to the ParserRuleReturnScope except that the start property is a tree nodes not Token object when you are parsing trees.
Variables [hide private]
  INVALID_NODE = CommonTree(INVALID_TOKEN)
  __package__ = 'schrodinger.application.desmond.antlr3'