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 char * stok_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

◆ stok_kind

◆ stok_line

int state_token_st::stok_line

◆ stok_next

struct state_token_st* state_token_st::stok_next

◆ stok_num

◆ stok_ptr

void* state_token_st::stok_ptr

◆ stok_string

◆ [union]


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