Predator  [unstable] git snapshot
Data Fields
cl_var Struct Reference

variable (local, global, fnc argument, register, etc.) More...

#include <code_listener.h>

Collaboration diagram for cl_var:
Collaboration graph
[legend]

Data Fields

int uid
 unique ID, given by compiler (or any cl decorator on the way from there)
const char * name
 name of the variable, valid only for program variables (NULL for artificial variables, created by compiler)
bool artificial
 true for auxiliary variables introduced by the compiler
struct cl_loc loc
struct cl_initializerinitial
 (possibly empty) chain of initializers
bool initialized
 true if the variable is initialized (does not imply NULL != initial)
bool is_extern
 true if the variable is external (defined in another module)

Detailed Description

variable (local, global, fnc argument, register, etc.)

Definition at line 439 of file code_listener.h.

Field Documentation

bool artificial

true for auxiliary variables introduced by the compiler

Definition at line 454 of file code_listener.h.

struct cl_initializer* initial

(possibly empty) chain of initializers

Definition at line 463 of file code_listener.h.

bool initialized

true if the variable is initialized (does not imply NULL != initial)

Definition at line 468 of file code_listener.h.

bool is_extern

true if the variable is external (defined in another module)

Definition at line 473 of file code_listener.h.

struct cl_loc loc

Definition at line 458 of file code_listener.h.

const char* name

name of the variable, valid only for program variables (NULL for artificial variables, created by compiler)

Definition at line 449 of file code_listener.h.

int uid

unique ID, given by compiler (or any cl decorator on the way from there)

Definition at line 443 of file code_listener.h.


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