|
GCC Middle and Back End API Reference
|

Data Fields | |
| enum state_token_en | stok_kind |
| int | stok_line |
| int | stok_col |
| const char * | stok_file |
| struct state_token_st * | stok_next |
| union { | |
| int stok_num | |
| char stok_string [1] | |
| struct state_ident_st * stok_ident | |
| void * stok_ptr | |
| } | stok_un |
The state_token_st structure is for lexical tokens in the read state file. The stok_kind field discriminates the union. Tokens are allocated by peek_state_token which calls read_a_state_token which allocate them. Tokens are freed by calls to next_state_tokens. Token are organized in a FIFO look-ahead queue filled by peek_state_token.
| int state_token_st::stok_col |
Referenced by fatal_reading_state(), and read_a_state_token().
| const char* state_token_st::stok_file |
Referenced by fatal_reading_state(), and read_a_state_token().
| struct state_ident_st* state_token_st::stok_ident |
Referenced by read_a_state_token(), read_state_languages(), read_state_option(), and state_token_is_name().
| enum state_token_en state_token_st::stok_kind |
Referenced by read_a_state_token(), read_state_pair(), state_token_is_name(), and state_token_kind().
| int state_token_st::stok_line |
Referenced by fatal_reading_state(), and read_a_state_token().
| struct state_token_st* state_token_st::stok_next |
Referenced by next_state_tokens(), and read_a_state_token().
| int state_token_st::stok_num |
Referenced by read_a_state_token(), read_state_already_seen_type(), read_state_common_type_content(), read_state_fields(), read_state_fileloc(), read_state_files_list(), read_state_lang_bitmap(), read_state_lang_struct_type(), read_state_languages(), read_state_param_structs(), read_state_structures(), read_state_typedefs(), and read_state_variables().
| void* state_token_st::stok_ptr |
| char state_token_st::stok_string[1] |
Referenced by read_a_state_token(), read_state_array_type(), read_state_fileloc(), read_state_files_list(), read_state_lang_struct_type(), read_state_nested_option(), read_state_pair(), read_state_srcdir(), read_state_string_option(), read_state_struct_type(), read_state_undefined_type(), read_state_union_type(), read_state_user_struct_type(), and read_state_version().
| union { ... } state_token_st::stok_un |
Referenced by read_a_state_token(), read_state_already_seen_type(), read_state_array_type(), read_state_common_type_content(), read_state_fields(), read_state_fileloc(), read_state_files_list(), read_state_lang_bitmap(), read_state_lang_struct_type(), read_state_languages(), read_state_nested_option(), read_state_option(), read_state_pair(), read_state_param_structs(), read_state_srcdir(), read_state_string_option(), read_state_struct_type(), read_state_structures(), read_state_typedefs(), read_state_undefined_type(), read_state_union_type(), read_state_user_struct_type(), read_state_variables(), read_state_version(), and state_token_is_name().