Represents a mathematical function in a syntax tree.
ExpressionNode * GetExpression() const
Base class for all nodes in a syntax tree.
void AssignValue(Number *value)
An expression node able to compute a function value.
void Replace(SyntaxNode *n, SyntaxNode *x)
Variable * GetVariable() const
virtual Number * Evaluate()=0
FunctionNode(ExpressionNode *expression, char *text, char *sys)
void Detach(SyntaxNode *node)
Base class for all nodes related to mathematical expressions.
void Attach(SyntaxNode *node)
UserFunctionNode(UserFunction *function, ExpressionNode *parameter)
ExpressionNode * expression