#include <parser.h>
|
void | init (std::istream &) |
|
Enumerator |
---|
tokencontinue |
|
scancontinue |
|
tokencompleted |
|
noopenproc |
|
endprocexpected |
|
noopenarray |
|
endarrayexpected |
|
unexpectedeof |
|
Parser::Parser |
( |
std::istream & |
is | ) |
|
void Parser::clear_context |
( |
| ) |
|
|
inline |
void Parser::init |
( |
std::istream & |
is | ) |
|
|
private |
bool Parser::operator() |
( |
Token & |
t | ) |
|
References SLIInterpreter::Arraytype, assert(), Scanner::BeginArraySymbol, Scanner::BeginProcedureSymbol, TokenStack::clear(), Token::contains(), Token::datum(), TokenArrayObj::empty(), endarrayexpected, Scanner::EndArraySymbol, Scanner::EndProcedureSymbol, endprocexpected, Scanner::EndSymbol, Datum::isoftype(), SLIInterpreter::Litproceduretype, Token::move(), noopenarray, noopenproc, ParseStack, TokenStack::pop_move(), Scanner::print_error(), TokenStack::push(), TokenArray::push_back(), TokenStack::push_move(), s, scancontinue, Datum::set_executable(), SLIInterpreter::Symboltype, tokencompleted, tokencontinue, TokenStack::top(), and unexpectedeof.
Referenced by readToken().
bool Parser::readSymbol |
( |
std::istream & |
is, |
|
|
Token & |
t |
|
) |
| |
|
inline |
bool Parser::readToken |
( |
std::istream & |
is, |
|
|
Token & |
t |
|
) |
| |
|
inline |
Scanner const* Parser::scan |
( |
void |
| ) |
const |
|
inline |
The documentation for this class was generated from the following files: