|
||||||||||
| 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.BinaryOperator
org.jacorb.notification.filter.etcl.NeqOperator
public class NeqOperator
A simple node to represent NEQ operation
| Field Summary |
|---|
| Fields inherited from class antlr.BaseAST |
|---|
down, right |
| Constructor Summary | |
|---|---|
NeqOperator(antlr.Token tok)
|
|
| Method Summary | |
|---|---|
EvaluationResult |
evaluate(EvaluationContext context)
Evaluate this Node. |
EvaluationResult |
evaluate(EvaluationContext context,
EvaluationResult left,
EvaluationResult rightResult)
|
java.lang.String |
toString()
|
protected void |
visitThis(AbstractTCLVisitor visitor)
|
| Methods inherited from class org.jacorb.notification.filter.etcl.BinaryOperator |
|---|
acceptInOrder, acceptPostOrder, acceptPreOrder, evaluate |
| Methods inherited from class org.jacorb.notification.filter.etcl.AbstractTCLNode |
|---|
getName, getNameForType, getType, hasNextSibling, initialize, initialize, initialize, isBoolean, isNumber, isStatic, 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 NeqOperator(antlr.Token tok)
| Method Detail |
|---|
public EvaluationResult evaluate(EvaluationContext context,
EvaluationResult left,
EvaluationResult rightResult)
throws EvaluationException
evaluate in class BinaryOperatorEvaluationExceptionpublic java.lang.String toString()
toString in interface antlr.collections.ASTtoString in class antlr.BaseAST
protected void visitThis(AbstractTCLVisitor visitor)
throws VisitorException
visitThis in class BinaryOperatorVisitorException
public final EvaluationResult evaluate(EvaluationContext context)
throws EvaluationException
AbstractTCLNode
evaluate in class AbstractTCLNodecontext - an EvaluationContext value contains all context information
necessary for the evaluation
EvaluationResult value
EvaluationException - 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 number
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||