Code Listener  [unstable] git snapshot
Public Member Functions | Data Fields | Private Member Functions
Item Class Reference

#include <storage.hh>

Collaboration diagram for Item:
Collaboration graph
[legend]

Public Member Functions

 Item (ItemCodeE)
 
 Item (const Var *v)
 
bool isGlobal () const
 
int uid () const
 
const char * name () const
 
const Varvar () const
 return CodeStorage::Var pointer if the item represents PT_ITEM_VAR variable, otherwise return NULL. More...
 

Data Fields

ItemCodeE code
 
union {
   const Var *   var
 
   const Fnc *   fnc
 
   int   mallocId
 
data
 

Private Member Functions

 Item ()
 

Detailed Description

Definition at line 628 of file storage.hh.

Constructor & Destructor Documentation

Item ( ItemCodeE  )
Item ( const Var v)
Item ( )
private

Member Function Documentation

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.

Field Documentation

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.


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