Predator
[unstable] git snapshot
|
constant, in the C language terminology: literal More...
#include <code_listener.h>
Data Fields | |
enum cl_type_e | code |
kind of constant (enumeration) | |
union { | |
struct { | |
int uid | |
unique ID of function's declaration | |
const char * name | |
name of the function | |
bool is_extern | |
true if the function is external for the analysed module | |
struct cl_loc loc | |
} cst_fnc | |
valid only for CL_TYPE_FNC | |
struct { | |
long value | |
} cst_int | |
valid only for CL_TYPE_INT and !is_unsigned | |
struct { | |
unsigned long value | |
} cst_uint | |
valid only for CL_TYPE_INT and is_unsigned | |
struct { | |
const char * value | |
} cst_string | |
valid only for CL_TYPE_STRING | |
struct { | |
double value | |
} cst_real | |
valid only for CL_TYPE_REAL | |
} | data |
per constant type specific data |
constant, in the C language terminology: literal
Definition at line 383 of file code_listener.h.
enum cl_type_e code |
kind of constant (enumeration)
Definition at line 387 of file code_listener.h.
struct { ... } cst_fnc |
valid only for CL_TYPE_FNC
struct { ... } cst_int |
valid only for CL_TYPE_INT and !is_unsigned
struct { ... } cst_real |
valid only for CL_TYPE_REAL
struct { ... } cst_string |
valid only for CL_TYPE_STRING
struct { ... } cst_uint |
valid only for CL_TYPE_INT and is_unsigned
union { ... } data |
per constant type specific data
bool is_extern |
true if the function is external for the analysed module
Definition at line 408 of file code_listener.h.
struct cl_loc loc |
Definition at line 410 of file code_listener.h.
const char* name |
name of the function
Definition at line 403 of file code_listener.h.
int uid |
unique ID of function's declaration
Definition at line 398 of file code_listener.h.
long value |
Definition at line 416 of file code_listener.h.
unsigned long value |
Definition at line 421 of file code_listener.h.
const char* value |
Definition at line 426 of file code_listener.h.
double value |
Definition at line 431 of file code_listener.h.