#include <parse_tree.h>
|
static const uint32_t | End = uint32_t(-1) |
|
static const uint32_t | Unknown = uint32_t(-2) |
|
static const uint32_t | Root = uint32_t(-3) |
|
Represents a token that is being generated by the Lexer
◆ isEof()
bool teditor::parser::Token::isEof |
( |
| ) |
const |
|
inline |
◆ operator<<
std::ostream& operator<< |
( |
std::ostream & |
os, |
|
|
const Token & |
tok |
|
) |
| |
|
friend |
◆ end
Point teditor::parser::Token::end |
end of this token in the input stream
◆ End
const uint32_t teditor::parser::Token::End = uint32_t(-1) |
|
static |
special reserved token for denoting EOF
◆ Root
const uint32_t teditor::parser::Token::Root = uint32_t(-3) |
|
static |
special reserved token for denoting root node
◆ start
Point teditor::parser::Token::start |
start of this token in the input stream
◆ type
uint32_t teditor::parser::Token::type |
token type. Custom parsers are free to define their own types for their internal use. But from an interface perspective, it'll always be an integer for faster lookup.
◆ Unknown
const uint32_t teditor::parser::Token::Unknown = uint32_t(-2) |
|
static |
special reserved token for denoting unknown token
The documentation for this struct was generated from the following files: