org.jacorb.notification.filter.etcl

Class EqOperator

Implemented Interfaces:
TCLParserTokenTypes

public class EqOperator
extends AbstractTCLNode

A simple node to represent EQ operation

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, NUMBER, NUM_FLOAT, 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

EqOperator(Token tok)

Method Summary

void
acceptInOrder(AbstractTCLVisitor visitor)
void
acceptPostOrder(AbstractTCLVisitor visitor)
void
acceptPreOrder(AbstractTCLVisitor visitor)
EvaluationResult
evaluate(EvaluationContext context)
String
getName()
String
toString()

Methods inherited from class org.jacorb.notification.filter.etcl.AbstractTCLNode

acceptInOrder, acceptPostOrder, acceptPreOrder, evaluate, getKind, getName, getNameForType, getNextType, getType, hasNextSibling, initialize, initialize, initialize, isBoolean, isNumber, isStatic, isString, left, printToStringBuffer, right, setKind, setType, toStringTree

Constructor Details

EqOperator

public EqOperator(Token tok)

Method Details

acceptInOrder

public void acceptInOrder(AbstractTCLVisitor visitor)
            throws VisitorException
Overrides:
acceptInOrder in interface AbstractTCLNode


acceptPostOrder

public void acceptPostOrder(AbstractTCLVisitor visitor)
            throws VisitorException
Overrides:
acceptPostOrder in interface AbstractTCLNode


acceptPreOrder

public void acceptPreOrder(AbstractTCLVisitor visitor)
            throws VisitorException
Overrides:
acceptPreOrder in interface AbstractTCLNode


evaluate

public EvaluationResult evaluate(EvaluationContext context)
            throws EvaluationException
Overrides:
evaluate in interface AbstractTCLNode


getName

public String getName()
Overrides:
getName in interface AbstractTCLNode


toString

public String toString()