class
SimpleStatement
: public Statement
(Return to index)
A simple input statement in token form.
The statement is stored as a list of Token's.
Type: |
Instantiable |
Superclasses: |
public Statement |
Include file: |
./Parser/SimpleStatement.hh |
Inheritance
Synopsis (including inherited members):
Documentation:
- Public members:
-
SimpleStatement
(const string&,int)
;
- Constructor.
Stores the name of the input stream and the line at which
the statement begins.
-
SimpleStatement
(const string&,TokenList&)
;
- Constructor.
Stores a name (e.g. for a macro) and the token list.
-
virtual void execute
(const Parser&)
;
- Execute statement.
This method provides a hook for structured statement execution.
It is called by the parser, and may be overridden to execute
e.g. a conditional or a loop statement.
-
virtual ~SimpleStatement
()
;
- Destructor.
Documentation generated by fci on Mon Feb 7 11:41:53 2000