|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectantlr.BaseAST
org.jacorb.notification.filter.etcl.AbstractTCLNode
org.jacorb.notification.filter.etcl.UnaryOperator
org.jacorb.notification.filter.etcl.BinaryOperator
org.jacorb.notification.filter.etcl.SubstrOperator
Field Summary |
---|
Fields inherited from class antlr.BaseAST |
---|
down, right |
Fields inherited from interface org.jacorb.notification.filter.etcl.TCLParserTokenTypes |
---|
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 Summary | |
---|---|
SubstrOperator(antlr.Token tok)
|
Method Summary | |
---|---|
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 context,
EvaluationResult left,
EvaluationResult right)
|
boolean |
isStatic()
|
java.lang.String |
toString()
|
Methods inherited from class org.jacorb.notification.filter.etcl.BinaryOperator |
---|
evaluate, evaluate |
Methods inherited from class org.jacorb.notification.filter.etcl.AbstractTCLNode |
---|
getName, getNameForType, getType, hasNextSibling, initialize, initialize, initialize, isBoolean, isNumber, isString, left, printToStringBuffer, right, setType, toStringTree |
Methods inherited from class antlr.BaseAST |
---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public SubstrOperator(antlr.Token tok)
Method Detail |
public java.lang.String toString()
public EvaluationResult evaluate(EvaluationContext context, EvaluationResult left, EvaluationResult right) throws EvaluationException
evaluate
in class BinaryOperator
EvaluationException
public boolean isStatic()
isStatic
in class AbstractTCLNode
public void acceptInOrder(AbstractTCLVisitor visitor) throws VisitorException
AbstractTCLNode
acceptInOrder
in class AbstractTCLNode
visitor
-
VisitorException
public void acceptPostOrder(AbstractTCLVisitor visitor) throws VisitorException
AbstractTCLNode
acceptPostOrder
in class AbstractTCLNode
visitor
-
VisitorException
public void acceptPreOrder(AbstractTCLVisitor visitor) throws VisitorException
AbstractTCLNode
acceptPreOrder
in class AbstractTCLNode
visitor
-
VisitorException
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |