|
Aseba
1.5.5
|
A token is a parsed element of inputs. More...
#include <compiler.h>
Public Member Functions | |
| Token (Type type, SourcePos pos=SourcePos(), const std::wstring &value=L"") | |
| Construct a new token of given type and value. | |
| const std::wstring | typeName () const |
| Return the name of the type of this token. | |
| std::wstring | toWString () const |
| Return a string representation of the token. | |
| operator Type () const | |
Public Attributes | |
| enum Aseba::Compiler::Token::Type | type |
| type of this token | |
| std::wstring | sValue |
| string version of the value | |
| int | iValue |
| int version of the value, 0 if not applicable | |
| SourcePos | pos |
| position of token in source code | |
A token is a parsed element of inputs.
1.8.11