#include <tokenizer.hpp>
Public Types | |
enum | token_type { STRING, QSTRING, UNTERMINATED_QSTRING, MISC, LF = '\n', EQUALS = '=', COMMA = ',', PLUS = '+', SLASH = '/', OPEN_BRACKET = '[', CLOSE_BRACKED = ']', UNDERSCORE = '_', END } |
Public Member Functions | |
token () | |
Public Attributes | |
enum token::token_type | type |
std::string | leading_spaces |
std::string | value |
Definition at line 28 of file tokenizer.hpp.
enum token::token_type |
STRING | |
QSTRING | |
UNTERMINATED_QSTRING | |
MISC | |
LF | |
EQUALS | |
COMMA | |
PLUS | |
SLASH | |
OPEN_BRACKET | |
CLOSE_BRACKED | |
UNDERSCORE | |
END |
Definition at line 36 of file tokenizer.hpp.
token::token | ( | ) | [inline] |
Definition at line 30 of file tokenizer.hpp.
Referenced by tokenizer::next_token().
std::string token::leading_spaces |
std::string token::value |
Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |