#include <lexer.h>
|
std::shared_ptr< std::string > | file |
|
lang::Lexer::Lexer |
( |
const std::string & |
str | ) |
|
|
inline |
Token& lang::Lexer::cur |
( |
| ) |
|
|
inline |
Token lang::Lexer::expect |
( |
int |
kind | ) |
|
|
inline |
Token lang::Lexer::lex |
( |
| ) |
|
|
inlineprivate |
Token lang::Lexer::lookahead |
( |
| ) |
|
|
inline |
Token lang::Lexer::next |
( |
| ) |
|
|
inline |
bool lang::Lexer::nextIf |
( |
int |
kind | ) |
|
|
inline |
void lang::Lexer::reportError |
( |
const std::string & |
what, |
|
|
const Token & |
t |
|
) |
| |
void lang::Lexer::reportError |
( |
const std::string & |
what | ) |
|
|
inline |
std::shared_ptr<std::string> lang::Lexer::file |
std::unique_ptr<Token> lang::Lexer::lookahead_ |
|
private |
The documentation for this struct was generated from the following file: