|
| Lexer (std::string filepath, State *initial_state=nullptr) |
|
std::string | String () |
|
void | Run (State *initial_state, size_t lines=0) |
|
Items | GetItems () |
|
void | Backup () |
|
void | BackupTo (int position) |
|
std::string | Next () |
|
std::string | Peek () |
|
void | Skip () |
|
Item * | ThisIsA (Token token, std::string error="") |
|
Item * | StartOfA (Token token, std::string error="") |
|
Item * | EndOfA (Token token, std::string error="") |
|
Item * | MaybeEndOfA (Token token, std::string error="") |
|
bool | OneOf (std::string possibles) |
|
bool | ManyOf (std::string possibles) |
|
bool | Until (std::string match) |
|
bool | MatchExactly (std::string match) |
|
bool | OneDigit () |
|
bool | ManyDigits () |
|
bool | OneLetter () |
|
bool | ManyLetters () |
|
bool | ManyCharacters () |
|
bool | Integer () |
|
bool | Float () |
|
bool | Number () |
|
bool | SkipWhiteSpace () |
|
bool | SkipLineBreak () |
|
bool | SkipLineBreaks () |
|
bool | SkipLine () |
|
State * | Error (std::string message) |
|
State * | LastError () |
|
bool | TestState (State *state) |
|
bool | IsDryRun () |
|
void | PrintMessage (std::string name, std::string message) |
|
void | PrintItem (Item item) |
|
size_t | LineNumber () |
|
|
State * | state_ |
|
Item * | parent_item_ = nullptr |
|
Items | items_ |
|
std::string | input_ |
|
size_t | position_ = 0 |
|
size_t | start_ = 0 |
|
size_t | width_ = 1 |
|
size_t | line_ = 1 |
|
size_t | end_line_ = 0 |
|
bool | dry_run_ = false |
|
int | depth_ = 0 |
|
std::string | last_error_ = "" |
|
The documentation for this class was generated from the following file: