Predator
[unstable] git snapshot
|
#include <storage.hh>
Public Member Functions | |
Item (ItemCodeE) | |
Item (const Var *v) | |
bool | isGlobal () const |
int | uid () const |
const char * | name () const |
const Var * | var () const |
return CodeStorage::Var pointer if the item represents PT_ITEM_VAR variable, otherwise return NULL. |
Data Fields | |
ItemCodeE | code |
union { | |
const Var * var | |
const Fnc * fnc | |
int mallocId | |
} | data |
Private Member Functions | |
Item () |
Definition at line 628 of file storage.hh.
|
private |
bool isGlobal | ( | ) | const |
const char* name | ( | ) | const |
int uid | ( | ) | const |
const Var* var | ( | ) | const |
return CodeStorage::Var pointer if the item represents PT_ITEM_VAR variable, otherwise return NULL.
ItemCodeE code |
Definition at line 643 of file storage.hh.
union { ... } data |
const Fnc* fnc |
Definition at line 649 of file storage.hh.
int mallocId |
Definition at line 651 of file storage.hh.
const Var* var |
Definition at line 647 of file storage.hh.