org.jacorb.notification.filter.etcl
Class CurrentTimeNode

java.lang.Object
  extended by antlr.BaseAST
      extended by org.jacorb.notification.filter.etcl.AbstractTCLNode
          extended by org.jacorb.notification.filter.etcl.ETCLComponentName
              extended by org.jacorb.notification.filter.etcl.CurrentTimeNode
All Implemented Interfaces:
antlr.collections.AST, java.io.Serializable, ComponentName, TCLParserTokenTypes

public class CurrentTimeNode
extends ETCLComponentName

CurrentTimeNode.java Created: Tue Apr 29 11:55:47 2003

Version:
$Id: CurrentTimeNode.java,v 1.3 2004/05/06 12:39:59 nicolas Exp $
Author:
Alphonse Bendt
See Also:
Serialized Form

Field Summary
static java.lang.String SHORT_NAME
           
 
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
CurrentTimeNode()
           
 
Method Summary
 EvaluationResult evaluate(EvaluationContext context)
          Evaluate this Node.
 java.lang.String toString()
           
 
Methods inherited from class org.jacorb.notification.filter.etcl.ETCLComponentName
acceptInOrder, acceptPostOrder, acceptPreOrder, getComponentName, setComponentName
 
Methods inherited from class org.jacorb.notification.filter.etcl.AbstractTCLNode
getKind, getName, getNameForType, getNextType, getType, hasNextSibling, initialize, initialize, initialize, isBoolean, isNumber, isStatic, isString, left, printToStringBuffer, right, setKind, 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
 
Methods inherited from interface org.jacorb.notification.filter.ComponentName
toStringTree
 

Field Detail

SHORT_NAME

public static final java.lang.String SHORT_NAME
See Also:
Constant Field Values
Constructor Detail

CurrentTimeNode

public CurrentTimeNode()
Method Detail

evaluate

public EvaluationResult evaluate(EvaluationContext context)
                          throws EvaluationException
Description copied from class: AbstractTCLNode
Evaluate this Node.

Overrides:
evaluate in class ETCLComponentName
Parameters:
context - an EvaluationContext value contains all context information necessary for the evaluation
Returns:
an EvaluationResult value
Throws:
EvaluationException - these errors mostly occur 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

toString

public java.lang.String toString()
Specified by:
toString in interface antlr.collections.AST
Overrides:
toString in class ETCLComponentName