class SgDerivedType : public SgType

for example: typedef int integer; go to the symbol table for the base type and Id

Inheritance:

SgDerivedType < SgType


Public Methods

SgDerivedType(SgSymbol &type_name)
SgSymbol* typeName()
~SgDerivedType()

Inherited from SgType:

Public Fields

PTR_TYPE thetype

Public Methods

void addAttribute(SgAttribute *att)
void addAttribute(int type, void *a, int size)
void addAttribute(int type)
void addAttribute(void *a, int size)
int attributeType(int i)
void* attributeValue(int i, int type)
void* attributeValue(int i)
SgType* baseType()
SgType& copy()
SgType* copyPtr()
void* deleteAttribute(int i)
int equivalentToType(SgType *type)
int equivalentToType(SgType &type)
SgAttribute* getAttribute(int i, int type)
SgAttribute* getAttribute(int i)
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 type)
int numberOfAttributes()
SgSymbol* symbol()
int variant()

Documentation

for example: typedef int integer; go to the symbol table for the base type and Id. variant == T_DERIVED_TYPE
SgDerivedType(SgSymbol &type_name)

SgSymbol* typeName()

~SgDerivedType()


This class has no child classes.

alphabetic index hierarchy of classes


Email contact: zgs@npac.syr.edu

generated by doc++