Interprèteur 2.0.0
Compiler avec c++
|
#include <Tokenizer/Token.h>
Types publics | |
enum class | Type : int { IDENTIFIER = -5 , KEYWORD = -1 , NUMBER = -3 } |
typedef list< Token > | List |
typedef List::iterator | Iterator |
Fonctions membres publiques | |
Token () | |
Token (string ws, Type type=Type::IDENTIFIER) | |
Token (const long d, Type type=Type::NUMBER) | |
Token (const char c) | |
bool | HasType (int type) |
int | GetType () |
char | GetCharValue () |
string | GetWordValue () |
long | GetNumberValue () |
typedef List::iterator Token::Iterator |
typedef list<Token> Token::List |
|
strong |
Token::Token | ( | ) |
Token::Token | ( | string | ws, |
Type | type = Type::IDENTIFIER |
||
) |
Token::Token | ( | const long | d, |
Type | type = Type::NUMBER |
||
) |
Token::Token | ( | const char | c | ) |
char Token::GetCharValue | ( | ) |
long Token::GetNumberValue | ( | ) |
int Token::GetType | ( | ) |
string Token::GetWordValue | ( | ) |
bool Token::HasType | ( | int | type | ) |