Code Listener
[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) More... | |
union { | |
struct { | |
int uid | |
unique ID of function's declaration More... | |
const char * name | |
name of the function More... | |
bool is_extern | |
true if the function is external for the analysed module More... | |
struct cl_loc loc | |
} cst_fnc | |
valid only for CL_TYPE_FNC More... | |
struct { | |
long value | |
} cst_int | |
valid only for CL_TYPE_INT and !is_unsigned More... | |
struct { | |
unsigned long value | |
} cst_uint | |
valid only for CL_TYPE_INT and is_unsigned More... | |
struct { | |
const char * value | |
} cst_string | |
valid only for CL_TYPE_STRING More... | |
struct { | |
double value | |
} cst_real | |
valid only for CL_TYPE_REAL More... | |
} | data |
per constant type specific data More... | |
constant, in the C language terminology: literal
Definition at line 360 of file code_listener.h.
enum cl_type_e code |
kind of constant (enumeration)
Definition at line 364 of file code_listener.h.
struct { ... } cst_fnc |
valid only for CL_TYPE_FNC
Referenced by ClfOpCheckerBase::fnc_open().
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
Referenced by ClfOpCheckerBase::fnc_open().
bool is_extern |
true if the function is external for the analysed module
Definition at line 385 of file code_listener.h.
struct cl_loc loc |
Definition at line 387 of file code_listener.h.
const char* name |
name of the function
Definition at line 380 of file code_listener.h.
int uid |
unique ID of function's declaration
Definition at line 375 of file code_listener.h.
long value |
Definition at line 393 of file code_listener.h.
unsigned long value |
Definition at line 398 of file code_listener.h.
const char* value |
Definition at line 403 of file code_listener.h.
double value |
Definition at line 408 of file code_listener.h.