Lexer(Lexer&&) delete |
Lexer(const Lexer&) delete |
Lexer(const char32_t* start_, const char32_t* end_, const std::string& fileName_, int fileIndex_) |
Lexer(const std::u32string& content_, const std::string& fileName_, int fileIndex_) |
void | AddError(const Span& span, const std::u32string& name) |
const std::set<int>& | BlockCommentStates() const |
void | ConvertExternal(Span& span) |
const char32_t* | End() const |
std::u32string | ErrorLines(const Span& span) const |
std::u32string | ErrorLines(const Token& token) const |
std::vector<std::unique_ptr<std::exception>> | Errors() |
const std::string& | FileName() const |
LexerFlags | Flags() const |
void | GetColumns(const Span& span, int32_t& startCol, int32_t& endCol) const |
int | GetCommentTokenId() const virtual |
bool | GetFlag(LexerFlags flag) const |
KeywordMap* | GetKeywordMap() |
int | GetKeywordToken(const Lexeme& lexeme) const |
std::u32string | GetMatch(const Span& span) const |
int64_t | GetPos() const |
Span | GetSpan() const |
Token | GetToken(int64_t pos) const |
ParsingLog* | Log() const |
int | NextState(int state, char32_t c) virtual |
void | NextToken() |
const char32_t* | Pos() const |
void | ResetFlag(LexerFlags flag) |
std::u32string | RestOfLine(int maxLineLength) |
void | Retract() |
void | SetBlockCommentStates(const std::set<int>& blockCommentStates_) |
void | SetCommentTokenId(int commentTokenId_) |
void | SetCountLines(bool countLines_) |
void | SetFlag(LexerFlags flag) |
void | SetKeywordMap(KeywordMap* keywordMap_) |
void | SetLine(int line_) |
void | SetLog(ParsingLog* log_) |
void | SetPos(int64_t pos) |
void | SetSeparatorChar(char32_t separatorChar_) |
void | SetSyncTokens(const std::vector<int>& syncTokens_) |
void | SetTokens(const std::vector<Token>& tokens_) |
const char32_t* | Start() const |
bool | Synchronize() |
void | ThrowExpectationFailure(const Span& span, const std::u32string& name) |
TokenLine | TokenizeLine(const std::u32string& line, int lineNumber, int startState) |
int | operator*() const |
void | operator++() |
Lexer& | operator=(Lexer&&) delete |
Lexer& | operator=(const Lexer&) delete |
std::set<int> | blockCommentStates |
int | commentTokenId |
std::u32string | content |
bool | countLines |
std::vector<Token> | current |
const char32_t* | end |
std::vector<std::unique_ptr<std::exception>> | errors |
int | fileIndex |
std::string | fileName |
LexerFlags | flags |
KeywordMap* | keywordMap |
Lexeme | lexeme |
int32_t | line |
ParsingLog* | log |
const char32_t* | pos |
char32_t | separatorChar |
const char32_t* | start |
std::vector<int> | syncTokens |
Token | token |
std::vector<Token> | tokens |