amath
1.8.5
Simple command line calculator
|
#include <show.h>
Public Member Functions | |
ShowStatement (const char *file) | |
~ShowStatement () | |
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 * | file |
Additional Inherited Members | |
Protected Attributes inherited from StatementNode | |
char * | statementText |
Protected Attributes inherited from SyntaxNode | |
CharBuffer * | output |
SyntaxNode * | parent |
SyntaxNode * | iterator |
bool | leftBottom |
|
explicit |
Definition at line 35 of file show.cpp.
References AllocAndCopy(), file, and StatementNode::StatementNode().
Referenced by Parser::ParseFileStatement().
ShowStatement::~ShowStatement | ( | ) |
|
virtual |
Implements StatementNode.
Definition at line 46 of file show.cpp.
References file, Program::Filesystem, CharBuffer::GetString(), FilesystemBase::LoadTextFile(), and SyntaxNode::output.
|
private |
Definition at line 43 of file show.h.
Referenced by Execute(), ShowStatement(), and ~ShowStatement().