public class TypeNameShorthandNode extends ETCLComponentName
| Modifier and Type | Field and Description |
|---|---|
static String |
SHORT_NAME |
AND, ARRAY, ASSOC, DEFAULT, DISCRIM, DIV, DOLLAR, DOT, EOF, EQ, EXIST, FALSE, FIRST, GT, GTE, IDENTIFIER, IMPLICIT, IN, LBRACKET, LENGTH, LPAREN, LT, LTE, MAX, MIN, MINUS, MULT, NEQ, NOT, NULL_TREE_LOOKAHEAD, NUM_FLOAT, NUMBER, OR, PLUS, RANDOM, RBRACKET, REPO_ID, RPAREN, RUNTIME_VAR, STRING, SUBSTR, TRUE, TYPE, TYPE_ID, UNARY_MINUS, UNARY_PLUS, UNION_POS, WITH, WS| Constructor and Description |
|---|
TypeNameShorthandNode() |
| Modifier and Type | Method and Description |
|---|---|
void |
acceptInOrder(AbstractTCLVisitor v)
accept a visitor for traversal Inorder
|
void |
acceptPostOrder(AbstractTCLVisitor v)
accept a visitor for traversal in Postorder.
|
void |
acceptPreOrder(AbstractTCLVisitor v)
accept a visitor for traversal in Preorder.
|
EvaluationResult |
evaluate(EvaluationContext context)
Evaluate this Node.
|
String |
getComponentName() |
String |
toString() |
setComponentNamegetName, getNameForType, getType, hasNextSibling, initialize, initialize, initialize, isBoolean, isNumber, isStatic, isString, left, printToStringBuffer, right, setType, toStringTreeaddChild, decode, encode, equals, equalsList, equalsListPartial, equalsTree, equalsTreePartial, findAll, findAllPartial, getFirstChild, getNextSibling, getNumberOfChildren, getText, removeChildren, setFirstChild, setNextSibling, setText, setVerboseStringConversion, toStringList, xmlSerialize, xmlSerializeNode, xmlSerializeRootClose, xmlSerializeRootOpenclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waittoStringTreepublic static final String SHORT_NAME
public String getComponentName()
getComponentName in interface ComponentNamegetComponentName in class ETCLComponentNamepublic void acceptInOrder(AbstractTCLVisitor v)
AbstractTCLNodeacceptInOrder in class ETCLComponentNamepublic void acceptPostOrder(AbstractTCLVisitor v)
AbstractTCLNodeacceptPostOrder in class ETCLComponentNamepublic void acceptPreOrder(AbstractTCLVisitor v)
AbstractTCLNodeacceptPreOrder in class ETCLComponentNamepublic EvaluationResult evaluate(EvaluationContext context) throws EvaluationException
AbstractTCLNodeevaluate in class ETCLComponentNamecontext - an EvaluationContext value contains all context information
necessary for the evaluationEvaluationResult valueEvaluationException - occurs if e.g. an expression contains a reference to a non-existent struct
member or if it is tried to add a string and a numberpublic String toString()
toString in interface antlr.collections.ASTtoString in class ETCLComponentNameCopyright © 2015 JacORB. All rights reserved.