A token is a parsed element of inputs. More...
#include <compiler.h>
A token is a parsed element of inputs.
Definition at line 254 of file compiler.h.
Definition at line 256 of file compiler.h.
Aseba::Compiler::Token::Token | ( | ) | [inline] |
Definition at line 329 of file compiler.h.
Aseba::Compiler::Token::Token | ( | Type | type, |
SourcePos | pos = SourcePos() , |
||
const std::wstring & | value = L"" |
||
) |
Aseba::Compiler::Token::operator Type | ( | ) | const [inline] |
Definition at line 333 of file compiler.h.
std::wstring Aseba::Compiler::Token::toWString | ( | ) | const |
const std::wstring Aseba::Compiler::Token::typeName | ( | ) | const |
int version of the value, 0 if not applicable
Definition at line 326 of file compiler.h.
position of token in source code
Definition at line 327 of file compiler.h.
std::wstring Aseba::Compiler::Token::sValue |
string version of the value
Definition at line 325 of file compiler.h.
type of this token