Verilog Parser

Stores the type and value of an AST primary expression. More...

#include <verilog_ast.h>

Data Fields

ast_metadata meta
 Node metadata.
 
ast_primary_type primary_type
 
ast_primary_value value
 
ast_primary_value_type value_type
 

Detailed Description

Stores the type and value of an AST primary expression.

The following AST_PRIMARY_VALUE_TYPE values map to the following ast_primary_value_members:

  • PRIMARY_NUMBER : use value.number
  • PRIMARY_IDENTIFIER : use value.identifier
  • PRIMARY_CONCATENATION : use value.concatenation
  • PRIMARY_FUNCTION_CALL : use value.function_call
  • PRIMARY_MINMAX_EXP : use value.minmax
  • PRIMARY_MACRO_USAGE : use value.macro

Field Documentation

ast_primary_type ast_primary::primary_type
ast_primary_value ast_primary::value
ast_primary_value_type ast_primary::value_type

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