Raw struct schema lexer.
More...
#include <wpi/struct/SchemaParser.h>
|
| | Lexer (std::string_view in) |
| | Construct a raw struct schema lexer.
|
| |
| Token | Scan () |
| | Gets the next token.
|
| |
| size_t | GetPosition () const |
| | Gets the starting position of the last lexed token.
|
| |
◆ Lexer()
| wpi::structparser::Lexer::Lexer |
( |
std::string_view | in | ) |
|
|
inlineexplicit |
Construct a raw struct schema lexer.
- Parameters
-
◆ GetPosition()
| size_t wpi::structparser::Lexer::GetPosition |
( |
| ) |
const |
|
inline |
Gets the starting position of the last lexed token.
- Returns
- position (0 = first character)
◆ Scan()
| Token wpi::structparser::Lexer::Scan |
( |
| ) |
|
|
nodiscard |
Gets the next token.
- Returns
- Token
The documentation for this class was generated from the following file: