Verilog Parser
ast_identifier Struct Reference

Structure containing all information on an identifier. More...

#include <verilog_ast.h>

Data Fields

union {
   ast_expression *   index
 Iff range_or_idx == ID_HAS_INDEX.
 
   ast_range *   range
 Iff range_or_idx == ID_HAS_RANGE.
 
   ast_list *   ranges
 For multi-dimensional arrays.
 
}; 
 
unsigned int from_line
 The line number of the file.
 
char * identifier
 The identifier value.
 
ast_boolean is_system
 Is this a system identifier?
 
ast_metadata meta
 Node metadata.
 
ast_identifier next
 Represents a hierarchical id.
 
ast_id_range_or_index range_or_idx
 Is it indexed or ranged?
 
ast_identifier_type type
 What construct does it identify?
 

Detailed Description

Structure containing all information on an identifier.

Typedef to make it easier to change into a proper structure later.

Note
The pointer is already included in the type.

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