Code Listener
[unstable] git snapshot
|
type definition available for each operand. More...
#include <code_listener.h>
Data Fields | |
int | uid |
type's unique ID More... | |
enum cl_type_e | code |
kind of type (enumeration) More... | |
struct cl_loc | loc |
location of type's declaration (may or may not be valid) More... | |
enum cl_scope_e | scope |
scope of type's declaration More... | |
const char * | name |
type's name, or NULL for anonymous type More... | |
int | size |
type's sizeof More... | |
int | item_cnt |
count of nested types More... | |
struct cl_type_item * | items |
array of nested types. More... | |
int | array_size |
valid only for CL_TYPE_ARRAY More... | |
bool | is_unsigned |
makes sense mainly for integral types, but should be always initialized More... | |
type definition available for each operand.
It can be also returned by cl_get_type_fnc_t function (useful to traverse type definition recursively).
Definition at line 213 of file code_listener.h.
int array_size |
valid only for CL_TYPE_ARRAY
Definition at line 266 of file code_listener.h.
enum cl_type_e code |
kind of type (enumeration)
Definition at line 222 of file code_listener.h.
Referenced by isCodePtr(), isComposite(), isDataPtr(), and isLcVar().
bool is_unsigned |
makes sense mainly for integral types, but should be always initialized
Definition at line 271 of file code_listener.h.
int item_cnt |
count of nested types
Definition at line 256 of file code_listener.h.
Referenced by traverseTypeIc().
struct cl_type_item* items |
array of nested types.
Its size is exactly item_cnt.
Definition at line 261 of file code_listener.h.
struct cl_loc loc |
location of type's declaration (may or may not be valid)
Definition at line 227 of file code_listener.h.
const char* name |
type's name, or NULL for anonymous type
Definition at line 241 of file code_listener.h.
enum cl_scope_e scope |
scope of type's declaration
Definition at line 232 of file code_listener.h.
int size |
int uid |