class SgReferenceType : public SgType

A reference (&xx in c+=) type contains only one hany bit of information: the base type. variant == T_REFERENCE

Inheritance:

SgReferenceType < SgType


Public Methods

SgType* baseType()
int modifierFlag()
void setBaseType(SgType &baseType)
void setModifierFlag(int flag)
SgReferenceType(SgType &base_type)
~SgReferenceType()

Inherited from SgType:

Public Fields

PTR_TYPE thetype

Public Methods

void addAttribute(void *a, int size)
void addAttribute(int type, void *a, int size)
void addAttribute(int type)
void addAttribute(SgAttribute *att)
int attributeType(int i)
void* attributeValue(int i, int type)
void* attributeValue(int i)
SgType& copy()
SgType* copyPtr()
void* deleteAttribute(int i)
int equivalentToType(SgType &type)
int equivalentToType(SgType *type)
SgAttribute* getAttribute(int i)
SgAttribute* getAttribute(int i, int type)
SgType* getTrueType(int mask = MASK_MOST_DESCRIPTORS, int follow_typedefs = 0)
int hasBaseType()
int id()
SgType* internalBaseType()
int isTheElementType()
SgExpression* length()
SgType* maskDescriptors(int mask)
SgType* next()
int numberOfAttributes()
int numberOfAttributes(int type)
SgSymbol* symbol()
int variant()

Documentation

A reference (&xx in c+=) type contains only one hany bit of information: the base type. variant == T_REFERENCE
SgReferenceType(SgType &base_type)

SgType* baseType()

void setBaseType(SgType &baseType)

~SgReferenceType()

int modifierFlag()

void setModifierFlag(int flag)


This class has no child classes.

alphabetic index hierarchy of classes


Email contact: zgs@npac.syr.edu

generated by doc++