|
amath
1.8.5
Simple command line calculator
|
#include <list.h>


Public Member Functions | |
| ListStatement () | |
| ListStatement (const char *directory) | |
| ~ListStatement () | |
| 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 * | directory |
Additional Inherited Members | |
Protected Attributes inherited from StatementNode | |
| char * | statementText |
Protected Attributes inherited from SyntaxNode | |
| CharBuffer * | output |
| SyntaxNode * | parent |
| SyntaxNode * | iterator |
| bool | leftBottom |
| ListStatement::ListStatement | ( | ) |
Definition at line 36 of file list.cpp.
References directory, and StatementNode::StatementNode().
Referenced by Parser::ParseListStatement().


|
explicit |
Definition at line 42 of file list.cpp.
References AllocAndCopy(), directory, and StatementNode::StatementNode().
Referenced by Parser::ParseListStatement().


| ListStatement::~ListStatement | ( | ) |
|
virtual |
Implements StatementNode.
Definition at line 56 of file list.cpp.
References directory, Program::Filesystem, CharBuffer::GetString(), FilesystemBase::ListDirectory(), and SyntaxNode::output.

|
private |
Definition at line 44 of file list.h.
Referenced by Execute(), ListStatement(), and ~ListStatement().