#include <token.hpp>
Public Types | |
| enum | type { TYPE_UNKNOWN, TYPE_INDENTATION, TYPE_EXCLAMATION, TYPE_IDENTIFIER, TYPE_STRING, TYPE_ASSIGNMENT } |
Public Member Functions | |
| token (type type, const std::string &text, unsigned int line) | |
| type | get_type () const |
| const std::string & | get_text () const |
| unsigned int | get_line () const |
Private Attributes | |
| type | m_type |
| std::string | m_text |
| unsigned int | m_line |
Definition at line 31 of file token.hpp.
| obby::serialise::token::token | ( | type | type, | |
| const std::string & | text, | |||
| unsigned int | line | |||
| ) |
| obby::serialise::token::type obby::serialise::token::get_type | ( | ) | const |
| const std::string & obby::serialise::token::get_text | ( | ) | const |
| unsigned int obby::serialise::token::get_line | ( | ) | const |
type obby::serialise::token::m_type [private] |
std::string obby::serialise::token::m_text [private] |
unsigned int obby::serialise::token::m_line [private] |
1.5.1