32 #include "system/program.h" virtual void Detach(SyntaxNode *node)
Represents a mathematical function in a syntax tree.
Base class for all nodes in a syntax tree.
virtual void Replace(SyntaxNode *n, SyntaxNode *x)
void Append(const char *source)
virtual char * GetNodeText()
void SetParent(SyntaxNode *node)
virtual void Attach(SyntaxNode *node)
virtual SyntaxNode * GetNext()
FunctionNode(ExpressionNode *expression, char *text, char *sys)
int StrLen(const char *string)
Get the length of a null terminated string.
virtual char * GetText()=0
Base class for all nodes related to mathematical expressions.
unsigned int AllocAndCopy(char **destination, const char *source)
Allocate memory and copy a string into the array.
void EnsureSize(unsigned int size)
Ensure a memory block of specified size is allocated.
ExpressionNode * expression
class PreferencesBase * Preferences