|
amath
1.8.5
Simple command line calculator
|
Use of last result in a syntax tree. More...
#include <values.h>


Public Member Functions | |
| InsVariableNode () | |
| char * | GetText () |
| Number * | Evaluate () |
Public Member Functions inherited from VariableNode | |
| VariableNode (Variable *variable) | |
| void | AssignValue (Number *value) const |
| int | GetPrecedence () |
| SyntaxNode * | GetNext () |
| void | Attach (SyntaxNode *node) |
| void | Detach (SyntaxNode *node) |
| void | Replace (SyntaxNode *n, SyntaxNode *x) |
Public Member Functions inherited from ExpressionNode | |
| ExpressionNode () | |
| ExpressionNode (Number *value) | |
| virtual | ~ExpressionNode () |
| NodeType | GetNodeType () |
| virtual bool | IsSilent () |
| char * | GetTextCode () |
| char * | Execute () |
Public Member Functions inherited from SyntaxNode | |
| SyntaxNode () | |
| virtual | ~SyntaxNode () |
| void | SetFirstNode () |
| bool | GetFirstNode () const |
| SyntaxNode * | GetParent () const |
| void | SetParent (SyntaxNode *node) |
| virtual ReductionType | GetReductionType () |
| virtual void | ResetIterator () |
Protected Member Functions | |
| char * | GetNodeText () |
Additional Inherited Members | |
Protected Attributes inherited from ExpressionNode | |
| Number * | result |
Protected Attributes inherited from SyntaxNode | |
| CharBuffer * | output |
| SyntaxNode * | parent |
| SyntaxNode * | iterator |
| bool | leftBottom |
| InsVariableNode::InsVariableNode | ( | ) |
Definition at line 345 of file values.cpp.
References VariableNode::VariableNode().
Referenced by Parser::ParseAtomic().


|
virtual |
Reimplemented from VariableNode.
Definition at line 350 of file values.cpp.
References Program::GetLastResult().

|
protectedvirtual |
Reimplemented from VariableNode.
Definition at line 361 of file values.cpp.
|
virtual |
Reimplemented from VariableNode.
Definition at line 355 of file values.cpp.