56 void init(std::istream &);
72 return s->operator()(t);
std::ostream & operator<<(std::ostream &, const Parser &)
Definition: parser.cc:212
bool operator()(Token &)
Definition: parser.cc:68
ParseResult
Definition: parser.h:45
void source(std::istream *)
Set new input stream.
Definition: scanner.cc:492
bool operator==(Parser const &, Parser const &)
Definition: parser.cc:207
Definition: tokenstack.h:38
void clear_context()
Definition: parser.h:80
void clear_context()
Definition: scanner.h:188
Scanner const * scan(void) const
Definition: parser.h:75
Token proctoken
Definition: parser.h:42
Scanner * s
Definition: parser.h:39
bool readToken(std::istream &is, Token &t)
Definition: parser.h:63
void init(std::istream &)
Definition: parser.cc:45
Parser(void)
Definition: parser.cc:59
TokenStack ParseStack
Definition: parser.h:43
A type-independent container for C++-types.
Definition: token.h:68
bool readSymbol(std::istream &is, Token &t)
Definition: parser.h:69
Token arraytoken
Definition: parser.h:41