org.jacorb.notification.filter.etcl
Class PropertyShorthandNode

java.lang.Object
  extended byantlr.BaseAST
      extended byorg.jacorb.notification.filter.etcl.AbstractTCLNode
          extended byorg.jacorb.notification.filter.etcl.PropertyShorthandNode
All Implemented Interfaces:
antlr.collections.AST, java.io.Serializable, TCLParserTokenTypes

public class PropertyShorthandNode
extends AbstractTCLNode

Version:
$Id: PropertyShorthandNode.java,v 1.8 2005/10/27 21:39:39 alphonse.bendt Exp $
Author:
Alphonse Bendt
See Also:
Serialized Form

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
PropertyShorthandNode(java.lang.String value)
           
 
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)
          Evaluate this Node.
 EvaluationResult extractDefaultAnyValue(EvaluationContext context)
           
 EvaluationResult extractDefaultValue(EvaluationContext context)
           
 java.lang.String toString()
           
 
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

PropertyShorthandNode

public PropertyShorthandNode(java.lang.String value)
Method Detail

evaluate

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

Overrides:
evaluate in class AbstractTCLNode
Parameters:
context - an EvaluationContext value contains all context information necessary for the evaluation
Returns:
an EvaluationResult value
Throws:
PropertyDoesNotExistException

extractDefaultValue

public EvaluationResult extractDefaultValue(EvaluationContext context)

extractDefaultAnyValue

public EvaluationResult extractDefaultAnyValue(EvaluationContext context)

toString

public java.lang.String toString()

acceptPostOrder

public void acceptPostOrder(AbstractTCLVisitor visitor)
                     throws VisitorException
Description copied from class: AbstractTCLNode
accept a visitor for traversal in Postorder. the right and left subtrees are visited before the root node is visited.

Specified by:
acceptPostOrder in class AbstractTCLNode
Parameters:
visitor -
Throws:
VisitorException

acceptPreOrder

public void acceptPreOrder(AbstractTCLVisitor visitor)
                    throws VisitorException
Description copied from class: AbstractTCLNode
accept a visitor for traversal in Preorder. the root node is visited before the left and the right subtrees are visited.

Specified by:
acceptPreOrder in class AbstractTCLNode
Parameters:
visitor -
Throws:
VisitorException

acceptInOrder

public void acceptInOrder(AbstractTCLVisitor visitor)
                   throws VisitorException
Description copied from class: AbstractTCLNode
accept a visitor for traversal Inorder

Specified by:
acceptInOrder in class AbstractTCLNode
Parameters:
visitor -
Throws:
VisitorException