|
OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
|
Interface for abstract language parser. More...
#include <Parser.h>
Public Member Functions | |
| Parser () | |
| virtual | ~Parser () |
| virtual void | parse (Statement &stat) const =0 |
| Parse and execute the statement. | |
| virtual Statement * | readStatement (TokenStream *ts) const =0 |
| Read complete statement from token stream. | |
| virtual void | run (TokenStream *ts) const =0 |
| Read statements and parse. | |
Private Member Functions | |
| Parser (const Parser &) | |
| void | operator= (const Parser &) |
|
inline |
Definition at line 56 of file Parser.h.
Referenced by operator=(), and Parser().
|
private |
|
private |
|
pure virtual |
Parse and execute the statement.
Implemented in OpalParser, and SequenceParser.
Referenced by SimpleStatement::execute().
|
pure virtual |
Read complete statement from token stream.
Implemented in OpalParser.
Referenced by IfStatement::IfStatement(), and WhileStatement::WhileStatement().
|
pure virtual |