org.jacorb.notification.filter.etcl

Class PlusOperator

Implemented Interfaces:
TCLParserTokenTypes

public class PlusOperator
extends AbstractTCLNode

A simple node to represent PLUS 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

PlusOperator(Token tok)

Method Summary

void
acceptInOrder(AbstractTCLVisitor visitor)
void
acceptPostOrder(AbstractTCLVisitor visitor)
void
acceptPreOrder(AbstractTCLVisitor visitor)
EvaluationResult
evaluate(EvaluationContext context)
String
getName()
boolean
isStatic()
void
setType(int type)
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

PlusOperator

public PlusOperator(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


isStatic

public boolean isStatic()
Overrides:
isStatic in interface AbstractTCLNode


setType

public void setType(int type)
Overrides:
setType in interface AbstractTCLNode


toString

public String toString()