Inheritance diagram for stx::Grammar::PNFunction:
Public Types | |
typedef std::vector< const class ParseNode * > | paramlist_type |
Type of sequence of subtrees to evaluate as function parameters. | |
Public Member Functions | |
PNFunction (std::string _funcname, const paramlist_type &_paramlist) | |
Constructor from the string received from the parser. | |
~PNFunction () | |
Delete the paramlist. | |
virtual AnyScalar | evaluate (const class SymbolTable &st) const |
Check the given symbol table for the actual value of this variable. | |
virtual bool | evaluate_const (AnyScalar *) const |
Returns false, because value isn't constant. | |
virtual std::string | toString () const |
Nothing but the function and its parameters. | |
Private Attributes | |
std::string | funcname |
String name of the function. | |
paramlist_type | paramlist |
The array of function parameter subtrees. |
It is filled when parameterized by a symbol table.
Definition at line 402 of file ExpressionParser.cc.