GCC Middle and Back End API Reference
state_token_st Struct Reference
Collaboration diagram for state_token_st:

Data Fields

enum state_token_en stok_kind
 
int stok_line
 
int stok_col
 
const charstok_file
 
struct state_token_ststok_next
 
union { 
 
   int   stok_num 
 
   char   stok_string [1] 
 
   struct state_ident_st *   stok_ident 
 
   void *   stok_ptr 
 
stok_un 
 

Detailed Description

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.   

Field Documentation

◆ stok_col

int state_token_st::stok_col

◆ stok_file

const char* state_token_st::stok_file

◆ stok_ident

struct state_ident_st* state_token_st::stok_ident

Referenced by state_token_is_name().

◆ stok_kind

enum state_token_en state_token_st::stok_kind

◆ stok_line

int state_token_st::stok_line

◆ stok_next

struct state_token_st* state_token_st::stok_next

Referenced by next_state_tokens().

◆ stok_num

◆ stok_ptr

void* state_token_st::stok_ptr

◆ stok_string

char state_token_st::stok_string[1]

◆ [union]


The documentation for this struct was generated from the following file: