public class ASTNULLType
extends java.lang.Object
implements persistence.antlr.collections.AST
Constructor and Description |
---|
ASTNULLType() |
Modifier and Type | Method and Description |
---|---|
void |
addChild(persistence.antlr.collections.AST c)
Add a (rightmost) child to this node
|
boolean |
equals(persistence.antlr.collections.AST t) |
boolean |
equalsList(persistence.antlr.collections.AST t) |
boolean |
equalsListPartial(persistence.antlr.collections.AST t) |
boolean |
equalsTree(persistence.antlr.collections.AST t) |
boolean |
equalsTreePartial(persistence.antlr.collections.AST t) |
persistence.antlr.collections.ASTEnumeration |
findAll(persistence.antlr.collections.AST tree) |
persistence.antlr.collections.ASTEnumeration |
findAllPartial(persistence.antlr.collections.AST subtree) |
int |
getColumn() |
persistence.antlr.collections.AST |
getFirstChild()
Get the first child of this node; null if no children
|
int |
getLine() |
persistence.antlr.collections.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(persistence.antlr.collections.AST t) |
void |
initialize(int t,
java.lang.String txt) |
void |
initialize(Token t) |
void |
setFirstChild(persistence.antlr.collections.AST c)
Set the first child of a node.
|
void |
setNextSibling(persistence.antlr.collections.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() |
public void addChild(persistence.antlr.collections.AST c)
persistence.antlr.collections.AST
addChild
in interface persistence.antlr.collections.AST
public boolean equals(persistence.antlr.collections.AST t)
equals
in interface persistence.antlr.collections.AST
public boolean equalsList(persistence.antlr.collections.AST t)
equalsList
in interface persistence.antlr.collections.AST
public boolean equalsListPartial(persistence.antlr.collections.AST t)
equalsListPartial
in interface persistence.antlr.collections.AST
public boolean equalsTree(persistence.antlr.collections.AST t)
equalsTree
in interface persistence.antlr.collections.AST
public boolean equalsTreePartial(persistence.antlr.collections.AST t)
equalsTreePartial
in interface persistence.antlr.collections.AST
public persistence.antlr.collections.ASTEnumeration findAll(persistence.antlr.collections.AST tree)
findAll
in interface persistence.antlr.collections.AST
public persistence.antlr.collections.ASTEnumeration findAllPartial(persistence.antlr.collections.AST subtree)
findAllPartial
in interface persistence.antlr.collections.AST
public persistence.antlr.collections.AST getFirstChild()
persistence.antlr.collections.AST
getFirstChild
in interface persistence.antlr.collections.AST
public persistence.antlr.collections.AST getNextSibling()
persistence.antlr.collections.AST
getNextSibling
in interface persistence.antlr.collections.AST
public java.lang.String getText()
persistence.antlr.collections.AST
getText
in interface persistence.antlr.collections.AST
public int getType()
persistence.antlr.collections.AST
getType
in interface persistence.antlr.collections.AST
public int getLine()
getLine
in interface persistence.antlr.collections.AST
public int getColumn()
getColumn
in interface persistence.antlr.collections.AST
public int getNumberOfChildren()
persistence.antlr.collections.AST
getNumberOfChildren
in interface persistence.antlr.collections.AST
public void initialize(int t, java.lang.String txt)
initialize
in interface persistence.antlr.collections.AST
public void initialize(persistence.antlr.collections.AST t)
initialize
in interface persistence.antlr.collections.AST
public void initialize(Token t)
initialize
in interface persistence.antlr.collections.AST
public void setFirstChild(persistence.antlr.collections.AST c)
persistence.antlr.collections.AST
setFirstChild
in interface persistence.antlr.collections.AST
public void setNextSibling(persistence.antlr.collections.AST n)
persistence.antlr.collections.AST
setNextSibling
in interface persistence.antlr.collections.AST
public void setText(java.lang.String text)
persistence.antlr.collections.AST
setText
in interface persistence.antlr.collections.AST
public void setType(int ttype)
persistence.antlr.collections.AST
setType
in interface persistence.antlr.collections.AST
public java.lang.String toString()
toString
in interface persistence.antlr.collections.AST
toString
in class java.lang.Object
public java.lang.String toStringList()
toStringList
in interface persistence.antlr.collections.AST
public java.lang.String toStringTree()
toStringTree
in interface persistence.antlr.collections.AST