|
| | CSimpleType (VarDataType_t vt) |
| | Create data type instance. More...
|
| |
| | CSimpleType (VarDataType_t vt, list< CNode *> &rangeList) |
| | Create data type instance. More...
|
| |
| virtual CDataType * | Clone (CObstack *heap) |
| | Create a new copy with a deep copy. More...
|
| |
| virtual int | GetSignedAttr () const |
| | Get declaration's signed attribute. More...
|
| |
| virtual int | GetUnsignedAttr () const |
| | Get declaration's unsigned attribute. More...
|
| |
| virtual void | SetSignedAttr (int v) |
| | Set declaration's signed attribute. More...
|
| |
| virtual void | SetUnsignedAttr (int v) |
| | Set declaration's unsigned attribute. More...
|
| |
| virtual int | GetSigned () const |
| | Get declartion's signed property. More...
|
| |
| virtual int | GetTwoState () const |
| | Get declaration's 2 state property. More...
|
| |
| virtual NodeType_t | GetNodeType (void) const |
| | Get data type. More...
|
| |
| virtual int | IsBaseWidthConstant (void) const |
| | Determine if base width (sans packed dimensions) of declaration is constant, ie dependent upon only constants and parameters. More...
|
| |
| virtual int | IsBaseWidthVolatile (void) const |
| | Determine if base width (sans packed dimensions) of declaration is volatile, ie depend upon parameters or variables. More...
|
| |
| virtual int | IsBaseWidthEvaluateable (void) const |
| | Determine if base width (sans packed dimensions) of declaration can be evaluated. More...
|
| |
| virtual INT32 | GetBaseWidth (void) const |
| | Evaluate base width (sans packed dimensions) of declaration. More...
|
| |
| virtual CNode * | GetBaseWidthExp () const |
| | Get expression for datatype's base width (sans packed dimensions) More...
|
| |
| virtual int | IsVector () const |
| | Determine if complete data structure is a vector. More...
|
| |
| virtual int | IsPacked () const |
| | Determine if complete data structure is packed. More...
|
| |
| virtual CNode * | GetPackedMsb () const |
| | Get expression for declaration's msb. More...
|
| |
| virtual CNode * | GetPackedLsb () const |
| | Get expression for declaration's lsb. More...
|
| |
| virtual CNode * | GetPackedRange () const |
| | Get expression for datatype's overall packed or vector range (msb/lsb) More...
|
| |
| virtual INT32 | GetPackedWidth (void) const |
| | Evaluate packed or vector width of declaration. More...
|
| |
| virtual CNode * | GetPackedWidthExp () const |
| | Get expression for datatype's overall packed or vetor width. More...
|
| |
| virtual int | PackedWidthDirection (void) const |
| | Evaluate current decl width direction. More...
|
| |
| virtual INT32 | GetNumberOfPackedDimensions (void) const |
| | Get number of packed dimensions of declaration. More...
|
| |
| virtual CNode * | GetPackedMsi (INT32 dim) const |
| | Get expression tree for upper limit of given packed array dimension. More...
|
| |
| virtual CNode * | GetPackedLsi (INT32 dim) const |
| | Get expression tree for lower limit of packed array dimension. More...
|
| |
| virtual CNode * | GetPackedRange (INT32 dim) const |
| | Get expression for range of packed array for dimension. More...
|
| |
| virtual void | Dump (FILE *f) const |
| | Dump data type info to file descriptor. More...
|
| |
| | CDataType (VarDataType_t t) |
| | Create data type instance. More...
|
| |
| | CDataType (VarDataType_t t, list< CNode *> packedList) |
| | Create data type instance. More...
|
| |
| virtual void | SetVarDataType (VarDataType_t v) |
| | Set declaration's variable data type. More...
|
| |
| virtual VarDataType_t | GetVarDataType () const |
| | Get declaration's variable data type. More...
|
| |
| virtual const char * | GetVarDataTypeName () const |
| | Get declaration's variable data type as a string. More...
|
| |
| virtual void | SetConst (int v) |
| | Set declaration's const property. More...
|
| |
| virtual int | GetConst () const |
| | Get declaration's const property. More...
|
| |
| virtual bool | Validate (string &errorMessage) |
| | Validate data structure. More...
|
| |
| virtual int | IsScalar () const |
| | Determine if complete data structure is a scalar. More...
|
| |
| virtual int | IsPackedWidthConstant (void) const |
| | Determine if packed or vector width of declaration is constant, ie dependent upon only constants and parameters. More...
|
| |
| virtual int | IsPackedWidthVolatile (void) const |
| | Determine if packed or vector width of declaration is volatile, ie depend upon parameters or variables. More...
|
| |
| virtual int | IsPackedWidthEvaluateable (void) const |
| | Determine if packed or vector width of declaration can be evaluated. More...
|
| |
| virtual void | PreVisit1 (int(*callback)(CNode *, void *), void *data) |
| | Walk tree invoking callback on each node before children have been visited. More...
|
| |
| virtual void | PostVisit1 (void(*callback)(CNode *, void *), void *data) |
| | Walk tree invoking callback on each node after children have been visited. More...
|
| |
| virtual void | PostSubVisit1 (CNode *(*callback)(CNode *, void *), void *data) |
| | Walk tree invoking callback on each node after children have been visited. More...
|
| |
| void * | operator new (size_t size, CObstack *stack) |
| | Allocate object on CObstack heap. More...
|
| |
| void | operator delete (void *object) |
| | Destroy object. More...
|
| |
class for describing simple builtin data types