com.evelopers.unimod.parser
Class IdentNode

java.lang.Object
  extended byantlr.BaseAST
      extended byantlr.CommonAST
          extended bycom.evelopers.unimod.parser.IdentNode
All Implemented Interfaces:
antlr.collections.AST, java.io.Serializable

public class IdentNode
extends antlr.CommonAST

AST node for identifier. Handles Action object inside for futher interpreting.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class antlr.CommonAST
 
Fields inherited from class antlr.BaseAST
down, right
 
Constructor Summary
IdentNode()
          Does nothing.
IdentNode(antlr.Token t)
          Creates node for given token
 
Method Summary
 boolean equals(java.lang.Object o)
           
 Action getAction()
          Returns Action.
 java.lang.Class getReturnType()
           
 int hashCode()
           
 void initialize(antlr.collections.AST t)
           
 void setAction(Action e)
          Sets Action.
 void setAction(StateMachine sm, Action e, java.lang.Class returnType)
          Sets Action.
 
Methods inherited from class antlr.CommonAST
getText, getType, initialize, initialize, setText, setType
 
Methods inherited from class antlr.BaseAST
addChild, decode, encode, equals, equalsList, equalsListPartial, equalsTree, equalsTreePartial, findAll, findAllPartial, getFirstChild, getNextSibling, getNumberOfChildren, removeChildren, setFirstChild, setNextSibling, setVerboseStringConversion, toString, toStringList, toStringTree, xmlSerialize, xmlSerializeNode, xmlSerializeRootClose, xmlSerializeRootOpen
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IdentNode

public IdentNode()
Does nothing. Used for duplicating.


IdentNode

public IdentNode(antlr.Token t)
Creates node for given token

Parameters:
t - token
Method Detail

getAction

public Action getAction()
Returns Action. Called by Interpreter.

Returns:
Action

setAction

public void setAction(Action e)
Sets Action. Called by Parser.

Parameters:
e - Action

getReturnType

public java.lang.Class getReturnType()

equals

public boolean equals(java.lang.Object o)

hashCode

public int hashCode()

setAction

public void setAction(StateMachine sm,
                      Action e,
                      java.lang.Class returnType)
Sets Action. Called by Parser.

Parameters:
e - Action

initialize

public void initialize(antlr.collections.AST t)