org.cheffo.jeplite
Class ASTFunNode

java.lang.Object
  |
  +--org.cheffo.jeplite.SimpleNode
        |
        +--org.cheffo.jeplite.ASTFunNode

public class ASTFunNode
extends SimpleNode


Field Summary
 
Fields inherited from class org.cheffo.jeplite.SimpleNode
children, id, name, parent, parser
 
Constructor Summary
ASTFunNode(int id)
           
ASTFunNode(org.cheffo.jeplite.Parser p, int id)
           
 
Method Summary
 double getValue()
           
 void getValue(DoubleStack tempStack)
           
 java.lang.Object jjtAccept(ParserVisitor visitor, java.lang.Object data)
           
 void setFunction(java.lang.String name_in, PostfixMathCommand pfmc_in)
           
 java.lang.String toString()
           
 
Methods inherited from class org.cheffo.jeplite.SimpleNode
childrenAccept, getName, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ASTFunNode

public ASTFunNode(int id)

ASTFunNode

public ASTFunNode(org.cheffo.jeplite.Parser p,
                  int id)
Method Detail

jjtAccept

public java.lang.Object jjtAccept(ParserVisitor visitor,
                                  java.lang.Object data)
Overrides:
jjtAccept in class SimpleNode

setFunction

public void setFunction(java.lang.String name_in,
                        PostfixMathCommand pfmc_in)

toString

public java.lang.String toString()
Overrides:
toString in class SimpleNode

getValue

public double getValue()
                throws ParseException
Overrides:
getValue in class SimpleNode
ParseException

getValue

public final void getValue(DoubleStack tempStack)
                    throws ParseException
Overrides:
getValue in class SimpleNode
ParseException