Code Listener
[unstable] git snapshot
|
generic operand. More...
#include <code_listener.h>
Data Fields | |
enum cl_operand_e | code |
kind of operand (enumeration) More... | |
enum cl_scope_e | scope |
scope of the operand's validity More... | |
struct cl_type * | type |
type of operand, use type->uid to get its UID More... | |
struct cl_accessor * | accessor |
chain of accessors, or NULL if there are no accessors More... | |
union { | |
struct cl_var * var | |
valid only for CL_OPERAND_VAR More... | |
struct cl_cst cst | |
valid only for CL_OPERAND_CST More... | |
} | data |
per operand type specific data More... | |
generic operand.
There is in fact no operand if code==CL_OPERAND_VOID. Each operand with extra data has it's own member in the union data.
Definition at line 481 of file code_listener.h.
struct cl_accessor* accessor |
chain of accessors, or NULL if there are no accessors
Definition at line 500 of file code_listener.h.
enum cl_operand_e code |
kind of operand (enumeration)
Definition at line 485 of file code_listener.h.
Referenced by Fnc::Fnc(), and isLcVar().
struct cl_cst cst |
valid only for CL_OPERAND_CST
Definition at line 514 of file code_listener.h.
Referenced by ClfOpCheckerBase::fnc_open().
union { ... } data |
per operand type specific data
Referenced by ClfOpCheckerBase::fnc_open().
enum cl_scope_e scope |
scope of the operand's validity
Definition at line 490 of file code_listener.h.
Referenced by isLcVar().
struct cl_type* type |
type of operand, use type->uid to get its UID
Definition at line 495 of file code_listener.h.
struct cl_var* var |
valid only for CL_OPERAND_VAR
Definition at line 509 of file code_listener.h.