#include <tokenizer.hpp>
Public Types | |
enum | token_type { STRING , QSTRING , UNTERMINATED_QSTRING , MISC , LF = '\n' , EQUALS = '=' , COMMA = ',' , PLUS = '+' , SLASH = '/' , OPEN_BRACKET = '[' , CLOSE_BRACKET = ']' , UNDERSCORE = '_' , END } |
Public Member Functions | |
token () | |
Public Attributes | |
token_type | type |
std::string | value |
Definition at line 26 of file tokenizer.hpp.
enum token::token_type |
Enumerator | |
---|---|
STRING | |
QSTRING | |
UNTERMINATED_QSTRING | |
MISC | |
LF | |
EQUALS | |
COMMA | |
PLUS | |
SLASH | |
OPEN_BRACKET | |
CLOSE_BRACKET | |
UNDERSCORE | |
END |
Definition at line 33 of file tokenizer.hpp.
|
inline |
Definition at line 28 of file tokenizer.hpp.
token_type token::type |
Definition at line 51 of file tokenizer.hpp.
Referenced by preprocessor_data::get_chunk(), and tokenizer::next_token().
std::string token::value |
Definition at line 52 of file tokenizer.hpp.
Referenced by tokenizer::next_token().