class SgArrayType : public SgType

A new array type is generated for each array. variant == T_ARRAY

Inheritance:

SgArrayType < SgType


Public Methods

void addDimension(SgExpression *e)
void addRange(SgExpression &e)
SgType* baseType()
int dimension()
SgExpression* getDimList()
void setBaseType(SgType &bt)
SgArrayType(SgType &base_type, int dim, SgExpression &ranges)
SgArrayType(SgType &base_type)
SgExpression* sizeInDim(int i)
~SgArrayType()

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 new array type is generated for each array. variant == T_ARRAY
SgArrayType(SgType &base_type)

SgArrayType(SgType &base_type, int dim, SgExpression &ranges)

int dimension()

SgExpression* sizeInDim(int i)

void addDimension(SgExpression *e)

SgExpression* getDimList()

SgType* baseType()

void setBaseType(SgType &bt)

void addRange(SgExpression &e)

~SgArrayType()


This class has no child classes.

alphabetic index hierarchy of classes


Email contact: zgs@npac.syr.edu

generated by doc++