Class RemoteDebugEventSocketListener.ProxyTree

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

public static class RemoteDebugEventSocketListener.ProxyTree extends BaseTree
  • Field Details

    • ID

      public int ID
    • type

      public int type
    • line

      public int line
    • charPos

      public int charPos
    • tokenIndex

      public int tokenIndex
    • text

      public String text
  • Constructor Details

    • ProxyTree

      public ProxyTree(int ID, int type, int line, int charPos, int tokenIndex, String text)
    • ProxyTree

      public ProxyTree(int ID)
  • Method Details

    • 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 String getText()
    • toString

      public 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