libyasm
Data Structures | Public Types | Public Member Functions | Data Fields
yasm_valparam Struct Reference

Value/parameter pair. More...

#include <valparam.h>

Data Structures

union  yasm_param
 Parameter value. More...
 

Public Types

enum  yasm_param_type { YASM_PARAM_ID, YASM_PARAM_STRING, YASM_PARAM_EXPR }
 Parameter type. More...
 

Public Member Functions

 STAILQ_ENTRY (yasm_valparam) link
 Next pair in list.
 

Data Fields

char * val
 Value.
 
enum yasm_valparam::yasm_param_type type
 Parameter type.
 
union yasm_valparam::yasm_param param
 Parameter.
 
char id_prefix
 Prefix character that indicates a raw identifier. More...
 

Detailed Description

Value/parameter pair.

Definition at line 38 of file valparam.h.

Member Enumeration Documentation

Parameter type.

Enumerator
YASM_PARAM_ID 

Identifier.

YASM_PARAM_STRING 

String.

YASM_PARAM_EXPR 

Expression.

Definition at line 43 of file valparam.h.

Field Documentation

char yasm_valparam::id_prefix

Prefix character that indicates a raw identifier.

When yasm_vp_string() is called on a YASM_PARAM_ID, all characters are returned. When yasm_vp_id() is called on a YASM_PARAM_ID, if the identifier begins with this character, this character is stripped from the returned value.

Definition at line 62 of file valparam.h.


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