net.ponder2.parser
Class P2Compiler.Ponder2AST

java.lang.Object
  extended by org.antlr.runtime.tree.BaseTree
      extended by org.antlr.runtime.tree.CommonTree
          extended by net.ponder2.parser.P2Compiler.Ponder2AST
All Implemented Interfaces:
org.antlr.runtime.tree.Tree
Enclosing class:
P2Compiler

public static class P2Compiler.Ponder2AST
extends org.antlr.runtime.tree.CommonTree

Extension to the ANTLR AST so that entries can be printed out easily

Author:
Kevin Twidle

Field Summary
 java.lang.String text
           
 
Fields inherited from class org.antlr.runtime.tree.CommonTree
childIndex, parent, startIndex, stopIndex, token
 
Fields inherited from class org.antlr.runtime.tree.BaseTree
children
 
Fields inherited from interface org.antlr.runtime.tree.Tree
INVALID_NODE
 
Constructor Summary
P2Compiler.Ponder2AST(org.antlr.runtime.Token t)
           
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class org.antlr.runtime.tree.CommonTree
dupNode, getCharPositionInLine, getChildIndex, getLine, getParent, getText, getToken, getTokenStartIndex, getTokenStopIndex, getType, isNil, setChildIndex, setParent, setTokenStartIndex, setTokenStopIndex, setUnknownTokenBoundaries
 
Methods inherited from class org.antlr.runtime.tree.BaseTree
addChild, addChildren, createChildrenList, deleteChild, freshenParentAndChildIndexes, freshenParentAndChildIndexes, getAncestor, getAncestors, getChild, getChildCount, getChildren, getFirstChildWithType, hasAncestor, replaceChildren, sanityCheckParentAndChildIndexes, sanityCheckParentAndChildIndexes, setChild, toStringTree
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

text

public java.lang.String text
Constructor Detail

P2Compiler.Ponder2AST

public P2Compiler.Ponder2AST(org.antlr.runtime.Token t)
Method Detail

toString

public java.lang.String toString()
Specified by:
toString in interface org.antlr.runtime.tree.Tree
Overrides:
toString in class org.antlr.runtime.tree.CommonTree


Copyright © 2008 Imperial College. All Rights Reserved.