org.antlr.runtime.debug
Class RemoteDebugEventSocketListener.ProxyTree

java.lang.Object
  extended by org.antlr.runtime.tree.BaseTree
      extended by org.antlr.runtime.debug.RemoteDebugEventSocketListener.ProxyTree
All Implemented Interfaces:
Tree
Enclosing class:
RemoteDebugEventSocketListener

public static class RemoteDebugEventSocketListener.ProxyTree
extends BaseTree


Field Summary
 int charPos
           
 int ID
           
 int line
           
 java.lang.String text
           
 int tokenIndex
           
 int type
           
 
Fields inherited from class org.antlr.runtime.tree.BaseTree
children
 
Fields inherited from interface org.antlr.runtime.tree.Tree
INVALID_NODE
 
Constructor Summary
RemoteDebugEventSocketListener.ProxyTree(int ID)
           
RemoteDebugEventSocketListener.ProxyTree(int ID, int type, int line, int charPos, int tokenIndex, java.lang.String text)
           
 
Method Summary
 Tree dupNode()
           
 java.lang.String getText()
           
 int getTokenStartIndex()
          What is the smallest token index (indexing from 0) for this node and its children?
 int getTokenStopIndex()
          What is the largest token index (indexing from 0) for this node and its children?
 int getType()
          Return a token type; needed for tree parsing
 void setTokenStartIndex(int index)
           
 void setTokenStopIndex(int index)
           
 java.lang.String toString()
          Override to say how a node (not a tree) should look as text
 
Methods inherited from class org.antlr.runtime.tree.BaseTree
addChild, addChildren, createChildrenList, deleteChild, freshenParentAndChildIndexes, freshenParentAndChildIndexes, getAncestor, getAncestors, getCharPositionInLine, getChild, getChildCount, getChildIndex, getChildren, getFirstChildWithType, getLine, getParent, hasAncestor, isNil, replaceChildren, sanityCheckParentAndChildIndexes, sanityCheckParentAndChildIndexes, setChild, setChildIndex, setParent, toStringTree
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ID

public int ID

type

public int type

line

public int line

charPos

public int charPos

tokenIndex

public int tokenIndex

text

public java.lang.String text
Constructor Detail

RemoteDebugEventSocketListener.ProxyTree

public RemoteDebugEventSocketListener.ProxyTree(int ID,
                                                int type,
                                                int line,
                                                int charPos,
                                                int tokenIndex,
                                                java.lang.String text)

RemoteDebugEventSocketListener.ProxyTree

public RemoteDebugEventSocketListener.ProxyTree(int ID)
Method Detail

getTokenStartIndex

public int getTokenStartIndex()
Description copied from interface: Tree
What is the smallest token index (indexing from 0) for this node and its children?


setTokenStartIndex

public void setTokenStartIndex(int index)

getTokenStopIndex

public int getTokenStopIndex()
Description copied from interface: Tree
What is the largest token index (indexing from 0) for this node and its children?


setTokenStopIndex

public void setTokenStopIndex(int index)

dupNode

public Tree dupNode()

getType

public int getType()
Description copied from interface: Tree
Return a token type; needed for tree parsing


getText

public java.lang.String getText()

toString

public java.lang.String toString()
Description copied from class: BaseTree
Override to say how a node (not a tree) should look as text

Specified by:
toString in interface Tree
Specified by:
toString in class BaseTree


Copyright © 2013. All Rights Reserved.