Clan
0.8.0
|
#include <symbol.h>
Data Fields | |
int | key |
char * | identifier |
int | type |
int | rank |
struct clan_symbol * | next |
The clan_symbol_t structure is a node of the symbol table of the parser.
char* clan_symbol::identifier |
Symbol identifier
Definition at line 57 of file symbol.h.
Referenced by clan_symbol_add(), clan_symbol_clone_one(), clan_symbol_free(), clan_symbol_get_key(), clan_symbol_get_rank(), clan_symbol_get_type(), clan_symbol_lookup(), clan_symbol_malloc(), clan_symbol_print_structure(), clan_symbol_to_arrays(), and clan_symbol_to_strings().
int clan_symbol::key |
Unique symbol key
Definition at line 56 of file symbol.h.
Referenced by clan_symbol_add(), clan_symbol_generate_new_key(), clan_symbol_get_key(), clan_symbol_lookup_by_key(), clan_symbol_malloc(), clan_symbol_print_structure(), clan_symbol_to_arrays(), and yyparse().
struct clan_symbol* clan_symbol::next |
Next symbol in the symbol table
Definition at line 60 of file symbol.h.
Referenced by clan_symbol_add(), clan_symbol_free(), clan_symbol_generate_new_key(), clan_symbol_get_key(), clan_symbol_get_rank(), clan_symbol_get_type(), clan_symbol_lookup(), clan_symbol_lookup_by_key(), clan_symbol_malloc(), clan_symbol_nb_of_type(), clan_symbol_print_structure(), clan_symbol_to_arrays(), and clan_symbol_to_strings().
Depth for iterators, number for parameters
Definition at line 59 of file symbol.h.
Referenced by clan_symbol_clone_one(), clan_symbol_get_rank(), clan_symbol_malloc(), clan_symbol_new_iterator(), and clan_symbol_print_structure().
Symbol type (variable, iterator...)
Definition at line 58 of file symbol.h.
Referenced by clan_symbol_add(), clan_symbol_clone_one(), clan_symbol_get_type(), clan_symbol_malloc(), clan_symbol_nb_of_type(), clan_symbol_new_iterator(), clan_symbol_print_structure(), clan_symbol_to_strings(), clan_symbol_update_type(), and yyparse().