amath
1.8.5
Simple command line calculator
|
#include <draw.h>
Public Member Functions | |
DrawStatement (const char *name, const char *parameter) | |
~DrawStatement () | |
char * | Execute () |
Public Member Functions inherited from StatementNode | |
StatementNode () | |
StatementNode (const char *text) | |
virtual | ~StatementNode () |
NodeType | GetNodeType () |
virtual SyntaxNode * | GetNext () |
virtual char * | GetTextCode () |
void | Attach (SyntaxNode *node) |
void | Detach (SyntaxNode *node) |
void | Replace (SyntaxNode *n, SyntaxNode *x) |
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 () |
Private Attributes | |
char * | name |
char * | parameter |
Additional Inherited Members | |
Protected Attributes inherited from StatementNode | |
char * | statementText |
Protected Attributes inherited from SyntaxNode | |
CharBuffer * | output |
SyntaxNode * | parent |
SyntaxNode * | iterator |
bool | leftBottom |
DrawStatement::DrawStatement | ( | const char * | name, |
const char * | parameter | ||
) |
Definition at line 34 of file draw.cpp.
References AllocAndCopy(), name, parameter, and StatementNode::StatementNode().
Referenced by Parser::ParseDrawStatement().
DrawStatement::~DrawStatement | ( | ) |
|
virtual |
Implements StatementNode.
Definition at line 47 of file draw.cpp.
References StatementNode::statementText.
|
private |
Definition at line 43 of file draw.h.
Referenced by DrawStatement(), and ~DrawStatement().
|
private |
Definition at line 44 of file draw.h.
Referenced by DrawStatement(), and ~DrawStatement().