#include <token.h>
List of all members.
Public Types |
enum | token_type {
generic_token,
string_token,
double_token,
ettype_token,
sym_rec_token,
scls_rec_token,
meta_rec_token
} |
enum | end_tok_type {
simple_end,
classdef_end,
events_end,
for_end,
function_end,
if_end,
methods_end,
properties_end,
switch_end,
while_end,
try_catch_end,
unwind_protect_end
} |
Public Member Functions |
| token (int l=-1, int c=-1) |
| token (const std::string &s, int l=-1, int c=-1) |
| token (double d, const std::string &s=std::string(), int l=-1, int c=-1) |
| token (end_tok_type t, int l=-1, int c=-1) |
| token (symbol_table::symbol_record *s, int l=-1, int c=-1) |
| token (symbol_table::symbol_record *cls, symbol_table::symbol_record *pkg, int l=-1, int c=-1) |
| token (symbol_table::symbol_record *mth, symbol_table::symbol_record *cls, symbol_table::symbol_record *pkg, int l=-1, int c=-1) |
| ~token (void) |
int | line (void) |
int | column (void) |
std::string | text (void) |
double | number (void) |
end_tok_type | ettype (void) |
symbol_table::symbol_record * | sym_rec (void) |
symbol_table::symbol_record * | method_rec (void) |
symbol_table::symbol_record * | class_rec (void) |
symbol_table::symbol_record * | package_rec (void) |
symbol_table::symbol_record * | meta_class_rec (void) |
symbol_table::symbol_record * | meta_package_rec (void) |
std::string | text_rep (void) |
Member Enumeration Documentation
- Enumerator:
simple_end |
|
classdef_end |
|
events_end |
|
for_end |
|
function_end |
|
if_end |
|
methods_end |
|
properties_end |
|
switch_end |
|
while_end |
|
try_catch_end |
|
unwind_protect_end |
|
- Enumerator:
generic_token |
|
string_token |
|
double_token |
|
ettype_token |
|
sym_rec_token |
|
scls_rec_token |
|
meta_rec_token |
|
Constructor & Destructor Documentation
token::token |
( |
int |
l = -1 , |
|
|
int |
c = -1 | |
|
) |
| | |
token::token |
( |
const std::string & |
s, |
|
|
int |
l = -1 , |
|
|
int |
c = -1 | |
|
) |
| | |
token::token |
( |
double |
d, |
|
|
const std::string & |
s = std::string () , |
|
|
int |
l = -1 , |
|
|
int |
c = -1 | |
|
) |
| | |
Member Function Documentation
int token::column |
( |
void |
|
) |
[inline] |
int token::line |
( |
void |
|
) |
[inline] |
double token::number |
( |
void |
|
) |
|
std::string token::text |
( |
void |
|
) |
|
std::string token::text_rep |
( |
void |
|
) |
|
Member Data Documentation
The documentation for this class was generated from the following files: