|
amath
1.8.5
Simple command line calculator
|
Mutes the output of another statement. More...
#include <silent.h>


Public Member Functions | |
| SilentStatement (StatementNode *statement) | |
| ~SilentStatement () | |
| char * | Execute () |
| SyntaxNode * | GetNext () |
| void | Attach (SyntaxNode *node) |
| void | Detach (SyntaxNode *node) |
| void | Replace (SyntaxNode *n, SyntaxNode *x) |
Public Member Functions inherited from StatementNode | |
| StatementNode () | |
| StatementNode (const char *text) | |
| virtual | ~StatementNode () |
| NodeType | GetNodeType () |
| virtual char * | GetTextCode () |
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 | |
| StatementNode * | statement |
Additional Inherited Members | |
Protected Attributes inherited from StatementNode | |
| char * | statementText |
Protected Attributes inherited from SyntaxNode | |
| CharBuffer * | output |
| SyntaxNode * | parent |
| SyntaxNode * | iterator |
| bool | leftBottom |
Mutes the output of another statement.
Statement node which encapsulate another statement and mutes the output when executing the inner statement.
|
explicit |
Definition at line 33 of file silent.cpp.
References statement, and StatementNode::StatementNode().
Referenced by Parser::ParseEvaluation().


| SilentStatement::~SilentStatement | ( | ) |
|
virtual |
Reimplemented from StatementNode.
Definition at line 63 of file silent.cpp.
References SyntaxNode::SetParent(), and statement.

|
virtual |
|
virtual |
Implements StatementNode.
Definition at line 46 of file silent.cpp.
References StatementNode::Execute(), statement, and StatementNode::statementText.

|
virtual |
Reimplemented from StatementNode.
Definition at line 52 of file silent.cpp.
References SyntaxNode::iterator, and statement.
|
virtual |
|
private |
Definition at line 55 of file silent.h.
Referenced by Attach(), Detach(), Execute(), GetNext(), Replace(), SilentStatement(), and ~SilentStatement().