Class ASTPtFunctionApplicationNode

  • All Implemented Interfaces:
    java.lang.Cloneable, Node

    public class ASTPtFunctionApplicationNode
    extends ASTPtRootNode
    This class represents an expression that is the application of a function in the parse tree. The first child of this node is the child node that represents the function. The function specification may any node that evaluates to a FunctionToken, or a leaf node that refers to the name of a function registered with the parser. The remaining children are node representing the arguments of the function. For information on the evaluation of functions, refer to ParseTreeEvaluator.visitFunctionApplicationNode(ptolemy.data.expr.ASTPtFunctionApplicationNode).
    Version:
    $Id$
    Author:
    Neil Smyth, Edward A. Lee, Steve Neuendorffer, Zoltan Kemenczy, Research in Motion Limited
    See Also:
    ASTPtRootNode, PtParser, Token, UtilityFunctions, Math
    • Constructor Detail

      • ASTPtFunctionApplicationNode

        public ASTPtFunctionApplicationNode​(int id)
      • ASTPtFunctionApplicationNode

        public ASTPtFunctionApplicationNode​(PtParser p,
                                            int id)
    • Method Detail

      • getFunctionName

        public java.lang.String getFunctionName()
      • 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