Code Listener  [unstable] git snapshot
Data Fields
cl_accessor Struct Reference

accessor definition, available for some operands. More...

#include <code_listener.h>

Collaboration diagram for cl_accessor:
Collaboration graph
[legend]

Data Fields

enum cl_accessor_e code
 kind of accessor (enumeration) More...
 
struct cl_typetype
 reference to type which the accessor is used for More...
 
struct cl_accessornext
 next accessor, or NULL if this is the last one (singly-linked list) More...
 
union {
   struct {
      struct cl_operand *   index
 operand used as index to access array's item, in the C language: array[index] More...
 
   }   array
 valid only for CL_ACCESSOR_DEREF_ARRAY More...
 
   struct {
      int   id
 record's item ought to be accessed, enumeration starts with zero More...
 
   }   item
 valid only for CL_ACCESSOR_ITEM More...
 
   struct {
      int   off
 offset to move the address by More...
 
   }   offset
 
data
 some accessors have extra data More...
 

Detailed Description

accessor definition, available for some operands.

Accessors can be chained as needed.

Definition at line 310 of file code_listener.h.

Field Documentation

struct { ... } array

valid only for CL_ACCESSOR_DEREF_ARRAY

enum cl_accessor_e code

kind of accessor (enumeration)

Definition at line 314 of file code_listener.h.

union { ... } data

some accessors have extra data

int id

record's item ought to be accessed, enumeration starts with zero

Definition at line 344 of file code_listener.h.

struct cl_operand* index

operand used as index to access array's item, in the C language: array[index]

Definition at line 336 of file code_listener.h.

struct { ... } item

valid only for CL_ACCESSOR_ITEM

struct cl_accessor* next

next accessor, or NULL if this is the last one (singly-linked list)

Definition at line 324 of file code_listener.h.

int off

offset to move the address by

Definition at line 352 of file code_listener.h.

struct { ... } offset
struct cl_type* type

reference to type which the accessor is used for

Definition at line 319 of file code_listener.h.


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