antlr
Class ParseTreeToken

java.lang.Object
  extended byantlr.BaseAST
      extended byantlr.ParseTree
          extended byantlr.ParseTreeToken
All Implemented Interfaces:
AST, java.io.Serializable

public class ParseTreeToken
extends ParseTree

See Also:
Serialized Form

Field Summary
protected  Token token
           
 
Fields inherited from class antlr.BaseAST
down, right
 
Constructor Summary
ParseTreeToken(Token token)
           
 
Method Summary
protected  int getLeftmostDerivation(java.lang.StringBuffer buf, int step)
          Get derivation and return how many you did (less than requested for subtree roots.
 java.lang.String toString()
           
 
Methods inherited from class antlr.ParseTree
getLeftmostDerivation, getLeftmostDerivationStep, initialize, initialize, initialize
 
Methods inherited from class antlr.BaseAST
addChild, decode, encode, equals, equalsList, equalsListPartial, equalsTree, equalsTreePartial, findAll, findAllPartial, getColumn, getFirstChild, getLine, getNextSibling, getNumberOfChildren, getText, getTokenNames, getType, removeChildren, setFirstChild, setNextSibling, setText, setType, setVerboseStringConversion, toStringList, toStringTree, xmlSerialize, xmlSerializeNode, xmlSerializeRootClose, xmlSerializeRootOpen
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

token

protected Token token
Constructor Detail

ParseTreeToken

public ParseTreeToken(Token token)
Method Detail

getLeftmostDerivation

protected int getLeftmostDerivation(java.lang.StringBuffer buf,
                                    int step)
Description copied from class: ParseTree
Get derivation and return how many you did (less than requested for subtree roots.

Specified by:
getLeftmostDerivation in class ParseTree

toString

public java.lang.String toString()
Specified by:
toString in interface AST
Overrides:
toString in class BaseAST