treecalc.comp
Class TcAst

java.lang.Object
  extended by org.antlr.runtime.tree.BaseTree
      extended by org.antlr.runtime.tree.CommonTree
          extended by treecalc.comp.TcAst
All Implemented Interfaces:
org.antlr.runtime.tree.Tree
Direct Known Subclasses:
TcAstErrorNode

public class TcAst
extends org.antlr.runtime.tree.CommonTree


Field Summary
 
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
TcAst(org.antlr.runtime.Token t)
           
 
Method Summary
 TcAst getAncestor(int type)
           
 TcAst getChild(int i)
           
 TcAst getFirstChildWithType(int type)
           
 TcAst getParent()
           
 Scope getScope()
           
 void setScope(Scope scope)
           
 
Methods inherited from class org.antlr.runtime.tree.CommonTree
dupNode, getCharPositionInLine, getChildIndex, getLine, getText, getToken, getTokenStartIndex, getTokenStopIndex, getType, isNil, setChildIndex, setParent, setTokenStartIndex, setTokenStopIndex, setUnknownTokenBoundaries, toString
 
Methods inherited from class org.antlr.runtime.tree.BaseTree
addChild, addChildren, createChildrenList, deleteChild, freshenParentAndChildIndexes, freshenParentAndChildIndexes, freshenParentAndChildIndexesDeeply, freshenParentAndChildIndexesDeeply, getAncestors, getChildCount, getChildren, hasAncestor, insertChild, replaceChildren, sanityCheckParentAndChildIndexes, sanityCheckParentAndChildIndexes, setChild, toStringTree
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TcAst

public TcAst(org.antlr.runtime.Token t)
Method Detail

getScope

public Scope getScope()

setScope

public void setScope(Scope scope)

getParent

public TcAst getParent()
Specified by:
getParent in interface org.antlr.runtime.tree.Tree
Overrides:
getParent in class org.antlr.runtime.tree.CommonTree

getChild

public TcAst getChild(int i)
Specified by:
getChild in interface org.antlr.runtime.tree.Tree
Overrides:
getChild in class org.antlr.runtime.tree.BaseTree

getAncestor

public TcAst getAncestor(int type)
Specified by:
getAncestor in interface org.antlr.runtime.tree.Tree
Overrides:
getAncestor in class org.antlr.runtime.tree.BaseTree

getFirstChildWithType

public TcAst getFirstChildWithType(int type)
Overrides:
getFirstChildWithType in class org.antlr.runtime.tree.BaseTree


Copyright © 2013. All Rights Reserved.