ptolemy.data.expr
Class ASTPtAssignmentNode

java.lang.Object
  extended by ptolemy.data.expr.ASTPtRootNode
      extended by ptolemy.data.expr.ASTPtAssignmentNode
All Implemented Interfaces:
java.lang.Cloneable, Node

public class ASTPtAssignmentNode
extends ASTPtRootNode

Version:
$Id: ASTPtAssignmentNode.java 57040 2010-01-27 20:52:32Z cxh $
Author:
Steve Neuendorffer
See Also:
ASTPtRootNode, PtParser, Token, UtilityFunctions, Math

Field Summary
 
Fields inherited from class ptolemy.data.expr.ASTPtRootNode
_children, _id, _isConstant, _parent, _ptToken, _ptType
 
Constructor Summary
ASTPtAssignmentNode(int id)
           
ASTPtAssignmentNode(PtParser p, int id)
           
 
Method Summary
 java.lang.String getAssignment()
           
 ASTPtRootNode getExpressionTree()
           
 java.lang.String getIdentifier()
           
 void jjtClose()
          This method is called after all the child nodes have been added.
 void visit(ParseTreeVisitor visitor)
          Traverse this node with the given visitor.
 
Methods inherited from class ptolemy.data.expr.ASTPtRootNode
clone, displayParseTree, evaluateParseTree, getToken, getType, isCongruent, isConstant, isEvaluated, jjtAddChild, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, setConstant, setToken, setType, toString, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ASTPtAssignmentNode

public ASTPtAssignmentNode(int id)

ASTPtAssignmentNode

public ASTPtAssignmentNode(PtParser p,
                           int id)
Method Detail

getAssignment

public java.lang.String getAssignment()

getExpressionTree

public ASTPtRootNode getExpressionTree()

getIdentifier

public java.lang.String getIdentifier()

jjtClose

public void jjtClose()
Description copied from interface: Node
This method is called after all the child nodes have been added.

Specified by:
jjtClose in interface Node
Overrides:
jjtClose in class ASTPtRootNode

visit

public void visit(ParseTreeVisitor visitor)
           throws IllegalActionException
Traverse this node with the given visitor.

Overrides:
visit in class ASTPtRootNode
Throws:
IllegalActionException