#include <scanner.h>
Class diagram for Token:
Public Members | |||
enum | TokenType { LAST_CHAR, INTEGER, FLOAT, STRING, COMMENT, SELF_TOKEN, RESEND_TOKEN, NAME, PRIMNAME, OPERATOR, PRIMKEYWORD, KEYWORD, CAPKEYWORD, ARG, DELEGATE, ARROW, ANNOTATION_START, ANNOTATION_END, ACCEPT, ERROR_TOKEN } | ||
Token (TokenType t, fint l, fint c, char* ss) | |||
Token (TokenType t, char* ss, int32 i, fint l, fint c) | |||
Token (TokenType t, float f, fint l, fint c, char* ss) | |||
Token (TokenType t, String* s, fint l, fint c, char* ss) | |||
void | print () | ||
TokenType | type | ||
fint | line | ||
fint | column | ||
char* | sourceStart | ||
int32 | integer | ||
float | floating | ||
String* | string |
enum Token::TokenType |
Token::Token (TokenType t, fint l, fint c, char * ss) [inline]
|
Token::Token (TokenType t, char * ss, int32 i, fint l, fint c) [inline]
|
Token::Token (TokenType t, float f, fint l, fint c, char * ss) [inline]
|
Token::Token (TokenType t, String * s, fint l, fint c, char * ss) [inline]
|
void Token::print () [virtual]
|
Reimplemented from VMObj.
TokenType Token::type |
int32 Token::integer |
float Token::floating |
String* Token::string |
fint Token::line |
fint Token::column |
char* Token::sourceStart |