public class IdentValue extends AbstractTCLNode
Constructor and Description |
---|
IdentValue(antlr.Token tok) |
Modifier and Type | Method and Description |
---|---|
void |
acceptInOrder(AbstractTCLVisitor visitor)
accept a visitor for traversal Inorder
|
void |
acceptPostOrder(AbstractTCLVisitor visitor)
accept a visitor for traversal in Postorder.
|
void |
acceptPreOrder(AbstractTCLVisitor visitor)
accept a visitor for traversal in Preorder.
|
EvaluationResult |
evaluate(EvaluationContext c)
Evaluate this Node.
|
String |
getIdentifier() |
boolean |
isStatic() |
String |
toString() |
getName, getNameForType, getType, hasNextSibling, initialize, initialize, initialize, isBoolean, isNumber, isString, left, printToStringBuffer, right, setType, toStringTree
addChild, decode, encode, equals, equalsList, equalsListPartial, equalsTree, equalsTreePartial, findAll, findAllPartial, getColumn, getFirstChild, getLine, getNextSibling, getNumberOfChildren, getText, getTokenNames, removeChildren, setFirstChild, setNextSibling, setText, setVerboseStringConversion, toStringList, xmlSerialize, xmlSerializeNode, xmlSerializeRootClose, xmlSerializeRootOpen
public EvaluationResult evaluate(EvaluationContext c)
AbstractTCLNode
evaluate
in class AbstractTCLNode
c
- an EvaluationContext
value contains all context information
necessary for the evaluationEvaluationResult
valuepublic String getIdentifier()
public String toString()
toString
in interface antlr.collections.AST
toString
in class antlr.BaseAST
public boolean isStatic()
isStatic
in class AbstractTCLNode
public void acceptInOrder(AbstractTCLVisitor visitor) throws VisitorException
AbstractTCLNode
acceptInOrder
in class AbstractTCLNode
VisitorException
public void acceptPostOrder(AbstractTCLVisitor visitor) throws VisitorException
AbstractTCLNode
acceptPostOrder
in class AbstractTCLNode
VisitorException
public void acceptPreOrder(AbstractTCLVisitor visitor) throws VisitorException
AbstractTCLNode
acceptPreOrder
in class AbstractTCLNode
VisitorException
Copyright © 2017 JacORB. All rights reserved.