Public Member Functions | |
| void | lex_error (const std::string &msg="Lex error.") | 
| Put the lexer into an error state.  | |
| void | lex (const std::string &in, const Element< S, T > &e) | 
| Perform lexing.   | |
| bool | error () const | 
| Return true when an error occured.  | |
| const std::string & | error_msg () const | 
| Return the error message.  | |
| krat_exp_token_t | first () const | 
| Return the first token.  | |
| krat_exp_token_t | second () const | 
| Return the second token.  | |
| void | eat () | 
| Shift tokens.   | |
Parser 
      
  | 
  ||||||||||||
| 
 Perform lexing. 
 
  | 
  
      
  | 
  
| 
 Shift tokens. Remove the first token from the token stream. So second becames first, third becames second, and so on...  | 
  
 1.3.6-20040222