1 #ifndef CLASSIC_Parser_HH
2 #define CLASSIC_Parser_HH
Interface for abstract language 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.
void operator=(const Parser &)
Interface for statements.
Abstract interface for a stream of input tokens.