amath  1.8.5
Simple command line calculator
AboutStatement Class Reference

Show about text. More...

#include <about.h>

Inheritance diagram for AboutStatement:
Collaboration diagram for AboutStatement:

Public Member Functions

 AboutStatement ()
 
 ~AboutStatement ()
 
char * Execute ()
 
- Public Member Functions inherited from StatementNode
 StatementNode ()
 
 StatementNode (const char *text)
 
virtual ~StatementNode ()
 
NodeType GetNodeType ()
 
virtual SyntaxNodeGetNext ()
 
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
 
SyntaxNodeGetParent () const
 
void SetParent (SyntaxNode *node)
 
virtual ReductionType GetReductionType ()
 
virtual void ResetIterator ()
 

Additional Inherited Members

- Protected Attributes inherited from StatementNode
char * statementText
 
- Protected Attributes inherited from SyntaxNode
CharBufferoutput
 
SyntaxNodeparent
 
SyntaxNodeiterator
 
bool leftBottom
 

Detailed Description

Show about text.

Definition at line 39 of file about.h.

Constructor & Destructor Documentation

◆ AboutStatement()

AboutStatement::AboutStatement ( )

Definition at line 33 of file about.cpp.

References StatementNode::StatementNode().

Referenced by Parser::ParseStatement().

33  :
35 {
36 }
StatementNode()
Definition: node.cpp:34
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ~AboutStatement()

AboutStatement::~AboutStatement ( )

Definition at line 38 of file about.cpp.

39 {
40 }

Member Function Documentation

◆ Execute()

char * AboutStatement::Execute ( )
virtual

Implements StatementNode.

Definition at line 42 of file about.cpp.

References Program::Console, ConsoleBase::ShowAbout(), and StatementNode::statementText.

43 {
45  return statementText;
46 }
Master control class.
Definition: program.h:55
char * statementText
Definition: node.h:55
virtual void ShowAbout()
Definition: console.cpp:174
class ConsoleBase * Console
Definition: program.h:72
Here is the call graph for this function:

The documentation for this class was generated from the following files: