Public Member Functions

antlr.ASTNULLType Class Reference

Inheritance diagram for antlr.ASTNULLType:
antlr.collections.AST

List of all members.

Public Member Functions

void addChild (AST c)
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)
AST getFirstChild ()
AST getNextSibling ()
String getText ()
int getType ()
int getLine ()
int getColumn ()
int getNumberOfChildren ()
void initialize (int t, String txt)
void initialize (AST t)
void initialize (Token t)
void setFirstChild (AST c)
void setNextSibling (AST n)
void setText (String text)
void setType (int ttype)
String toString ()
String toStringList ()
String toStringTree ()

Detailed Description

There is only one instance of this class


Member Function Documentation

void antlr.ASTNULLType.addChild ( AST  c  ) 

Add a (rightmost) child to this node

Implements antlr.collections.AST.

boolean antlr.ASTNULLType.equals ( AST  t  ) 

Implements antlr.collections.AST.

boolean antlr.ASTNULLType.equalsList ( AST  t  ) 

Implements antlr.collections.AST.

boolean antlr.ASTNULLType.equalsListPartial ( AST  t  ) 

Implements antlr.collections.AST.

boolean antlr.ASTNULLType.equalsTree ( AST  t  ) 

Implements antlr.collections.AST.

boolean antlr.ASTNULLType.equalsTreePartial ( AST  t  ) 

Implements antlr.collections.AST.

ASTEnumeration antlr.ASTNULLType.findAll ( AST  tree  ) 

Implements antlr.collections.AST.

ASTEnumeration antlr.ASTNULLType.findAllPartial ( AST  subtree  ) 

Implements antlr.collections.AST.

int antlr.ASTNULLType.getColumn (  ) 
Since:
2.7.3 Need for error handling

Implements antlr.collections.AST.

AST antlr.ASTNULLType.getFirstChild (  ) 

Get the first child of this node; null if no children

Implements antlr.collections.AST.

int antlr.ASTNULLType.getLine (  ) 
Since:
2.7.3 Need for error handling

Implements antlr.collections.AST.

AST antlr.ASTNULLType.getNextSibling (  ) 

Get the next sibling in line after this one

Implements antlr.collections.AST.

int antlr.ASTNULLType.getNumberOfChildren (  ) 

Get number of children of this node; if leaf, returns 0

Implements antlr.collections.AST.

String antlr.ASTNULLType.getText (  ) 
int antlr.ASTNULLType.getType (  ) 

Get the token type for this node

Implements antlr.collections.AST.

Referenced by antlr.TreeParser.match(), and antlr.TreeParser.matchNot().

void antlr.ASTNULLType.initialize ( int  t,
String  txt 
)

Implements antlr.collections.AST.

void antlr.ASTNULLType.initialize ( AST  t  ) 

Implements antlr.collections.AST.

void antlr.ASTNULLType.initialize ( Token  t  ) 

Implements antlr.collections.AST.

void antlr.ASTNULLType.setFirstChild ( AST  c  ) 

Set the first child of a node.

Implements antlr.collections.AST.

void antlr.ASTNULLType.setNextSibling ( AST  n  ) 

Set the next sibling after this one.

Implements antlr.collections.AST.

void antlr.ASTNULLType.setText ( String  text  ) 

Set the token text for this node

Implements antlr.collections.AST.

void antlr.ASTNULLType.setType ( int  ttype  ) 

Set the token type for this node

Implements antlr.collections.AST.

String antlr.ASTNULLType.toString (  ) 
String antlr.ASTNULLType.toStringList (  ) 
String antlr.ASTNULLType.toStringTree (  ) 

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties