antlr.collections
Interface AST

All Known Implementing Classes:
ASTNULLType, BaseAST

public interface AST

Untamed:


Method Summary
 void addChild(AST c)
          Enabled: Add a (rightmost) child to this node
 boolean equals(AST t)
          Enabled:
 boolean equalsList(AST t)
          Enabled:
 boolean equalsListPartial(AST t)
          Enabled:
 boolean equalsTree(AST t)
          Enabled:
 boolean equalsTreePartial(AST t)
          Enabled:
 ASTEnumeration findAll(AST tree)
          Enabled:
 ASTEnumeration findAllPartial(AST subtree)
          Enabled:
 AST getFirstChild()
          Enabled: Get the first child of this node; null if no children
 AST getNextSibling()
          Enabled: Get the next sibling in line after this one
 String getText()
          Enabled: Get the token text for this node
 int getType()
          Enabled: Get the token type for this node
 void initialize(AST t)
          Enabled:
 void initialize(int t, String txt)
          Enabled:
 void initialize(Token t)
          Enabled:
 void setFirstChild(AST c)
          Enabled: Set the first child of a node.
 void setNextSibling(AST n)
          Enabled: Set the next sibling after this one.
 void setText(String text)
          Enabled: Set the token text for this node
 void setType(int ttype)
          Enabled: Set the token type for this node
 String toString()
          Suppressed:
 String toStringList()
          Enabled:
 String toStringTree()
          Enabled:
 

Method Detail

addChild

public void addChild(AST c)
Enabled: Add a (rightmost) child to this node


equals

public boolean equals(AST t)
Enabled:


equalsList

public boolean equalsList(AST t)
Enabled:


equalsListPartial

public boolean equalsListPartial(AST t)
Enabled:


equalsTree

public boolean equalsTree(AST t)
Enabled:


equalsTreePartial

public boolean equalsTreePartial(AST t)
Enabled:


findAll

public ASTEnumeration findAll(AST tree)
Enabled:


findAllPartial

public ASTEnumeration findAllPartial(AST subtree)
Enabled:


getFirstChild

public AST getFirstChild()
Enabled: Get the first child of this node; null if no children


getNextSibling

public AST getNextSibling()
Enabled: Get the next sibling in line after this one


getText

public String getText()
Enabled: Get the token text for this node


getType

public int getType()
Enabled: Get the token type for this node


initialize

public void initialize(int t,
                       String txt)
Enabled:


initialize

public void initialize(AST t)
Enabled:


initialize

public void initialize(Token t)
Enabled:


setFirstChild

public void setFirstChild(AST c)
Enabled: Set the first child of a node.


setNextSibling

public void setNextSibling(AST n)
Enabled: Set the next sibling after this one.


setText

public void setText(String text)
Enabled: Set the token text for this node


setType

public void setType(int ttype)
Enabled: Set the token type for this node


toString

public String toString()
Suppressed:

Overrides:
toString in class Object

toStringList

public String toStringList()
Enabled:


toStringTree

public String toStringTree()
Enabled:



comments?