antlr
Class ASTNULLType

java.lang.Object
  extended byantlr.ASTNULLType
All Implemented Interfaces:
AST

public class ASTNULLType
extends java.lang.Object
implements AST

There is only one instance of this class


Constructor Summary
ASTNULLType()
           
 
Method Summary
 void addChild(AST c)
          Add a (rightmost) child to this node
 boolean equals(AST t)
           
 boolean equalsList(AST t)
           
 boolean equalsListPartial(AST t)
           
 boolean equalsTree(AST t)
           
 boolean equalsTreePartial(AST t)
           
 ASTEnumeration findAll(AST tree)
           
 ASTEnumeration findAllPartial(AST subtree)
           
 int getColumn()
           
 AST getFirstChild()
          Get the first child of this node; null if no children
 int getLine()
           
 AST getNextSibling()
          Get the next sibling in line after this one
 int getNumberOfChildren()
          Get number of children of this node; if leaf, returns 0
 java.lang.String getText()
          Get the token text for this node
 int getType()
          Get the token type for this node
 void initialize(AST t)
           
 void initialize(int t, java.lang.String txt)
           
 void initialize(Token t)
           
 void setFirstChild(AST c)
          Set the first child of a node.
 void setNextSibling(AST n)
          Set the next sibling after this one.
 void setText(java.lang.String text)
          Set the token text for this node
 void setType(int ttype)
          Set the token type for this node
 java.lang.String toString()
           
 java.lang.String toStringList()
           
 java.lang.String toStringTree()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ASTNULLType

public ASTNULLType()
Method Detail

addChild

public void addChild(AST c)
Description copied from interface: AST
Add a (rightmost) child to this node

Specified by:
addChild in interface AST

equals

public boolean equals(AST t)
Specified by:
equals in interface AST

equalsList

public boolean equalsList(AST t)
Specified by:
equalsList in interface AST

equalsListPartial

public boolean equalsListPartial(AST t)
Specified by:
equalsListPartial in interface AST

equalsTree

public boolean equalsTree(AST t)
Specified by:
equalsTree in interface AST

equalsTreePartial

public boolean equalsTreePartial(AST t)
Specified by:
equalsTreePartial in interface AST

findAll

public ASTEnumeration findAll(AST tree)
Specified by:
findAll in interface AST

findAllPartial

public ASTEnumeration findAllPartial(AST subtree)
Specified by:
findAllPartial in interface AST

getFirstChild

public AST getFirstChild()
Description copied from interface: AST
Get the first child of this node; null if no children

Specified by:
getFirstChild in interface AST

getNextSibling

public AST getNextSibling()
Description copied from interface: AST
Get the next sibling in line after this one

Specified by:
getNextSibling in interface AST

getText

public java.lang.String getText()
Description copied from interface: AST
Get the token text for this node

Specified by:
getText in interface AST

getType

public int getType()
Description copied from interface: AST
Get the token type for this node

Specified by:
getType in interface AST

getLine

public int getLine()
Specified by:
getLine in interface AST

getColumn

public int getColumn()
Specified by:
getColumn in interface AST

getNumberOfChildren

public int getNumberOfChildren()
Description copied from interface: AST
Get number of children of this node; if leaf, returns 0

Specified by:
getNumberOfChildren in interface AST

initialize

public void initialize(int t,
                       java.lang.String txt)
Specified by:
initialize in interface AST

initialize

public void initialize(AST t)
Specified by:
initialize in interface AST

initialize

public void initialize(Token t)
Specified by:
initialize in interface AST

setFirstChild

public void setFirstChild(AST c)
Description copied from interface: AST
Set the first child of a node.

Specified by:
setFirstChild in interface AST

setNextSibling

public void setNextSibling(AST n)
Description copied from interface: AST
Set the next sibling after this one.

Specified by:
setNextSibling in interface AST

setText

public void setText(java.lang.String text)
Description copied from interface: AST
Set the token text for this node

Specified by:
setText in interface AST

setType

public void setType(int ttype)
Description copied from interface: AST
Set the token type for this node

Specified by:
setType in interface AST

toString

public java.lang.String toString()
Specified by:
toString in interface AST

toStringList

public java.lang.String toStringList()
Specified by:
toStringList in interface AST

toStringTree

public java.lang.String toStringTree()
Specified by:
toStringTree in interface AST