class SgAttribute


Public Methods

SgAttribute* copy()
void* getAttributeData()
int getAttributeSize()
int getAttributeType()
SgExpression* getExpression()
int getfileNumber()
SgAttribute* getInlist(int num)
SgAttribute* getNext()
void* getPtToSage()
SgSymbol* getSgSymbol()
SgStatement* getStatement()
SgType* getType()
typenode getTypeNode()
int listLenght()
void resetPtToSage()
void save(FILE *file, void (*savefunction)(void *dat, FILE *f))
void save(FILE *file)
void* setAttributeData(void *d)
void setAttributeSize(int s)
void setAttributeType(int t)
void setNext(SgAttribute *s)
void setPtToSage(void *sa)
void setPtToSage(SgSymbol &st)
void setPtToSage(SgExpression &st)
void setPtToSage(SgType &st)
void setPtToSage(SgStatement &st)
SgAttribute(int t, void *pt, int size, SgType &st, int filenum)
SgAttribute(int t, void *pt, int size, SgSymbol &st, int filenum)
SgAttribute(int t, void *pt, int size, SgExpression &st, int filenum)
SgAttribute(int t, void *pt, int size, SgStatement &st, int filenum)
~SgAttribute()

Private Fields

void* data
the data;
int dataSize
the size of the data in bytes to allow data to be copied;
int fileNumber
the file methods;
SgAttribute* next
to the next attribute of a statements (do that way or not??);
void* ptToSage
pointer to SgStatement, SgExpression, ... ;
int type
a label;
typenode typeNode
indicates if SgStatement, SgExpression, ... ptToSage is pointed to;

Documentation

int type
a label;

void* data
the data;

int dataSize
the size of the data in bytes to allow data to be copied;

SgAttribute* next
to the next attribute of a statements (do that way or not??);

typenode typeNode
indicates if SgStatement, SgExpression, ... ptToSage is pointed to;

void* ptToSage
pointer to SgStatement, SgExpression, ... ;

int fileNumber
the file methods;

SgAttribute(int t, void *pt, int size, SgStatement &st, int filenum)

SgAttribute(int t, void *pt, int size, SgSymbol &st, int filenum)

SgAttribute(int t, void *pt, int size, SgExpression &st, int filenum)

SgAttribute(int t, void *pt, int size, SgType &st, int filenum)

~SgAttribute()

int getAttributeType()

void setAttributeType(int t)

void* getAttributeData()

void* setAttributeData(void *d)

int getAttributeSize()

void setAttributeSize(int s)

typenode getTypeNode()

void* getPtToSage()

void setPtToSage(void *sa)

void resetPtToSage()

void setPtToSage(SgStatement &st)

void setPtToSage(SgSymbol &st)

void setPtToSage(SgExpression &st)

void setPtToSage(SgType &st)

SgStatement* getStatement()

SgExpression* getExpression()

SgSymbol* getSgSymbol()

SgType* getType()

int getfileNumber()

SgAttribute* copy()

SgAttribute* getNext()

void setNext(SgAttribute *s)

int listLenght()

SgAttribute* getInlist(int num)

void save(FILE *file)

void save(FILE *file, void (*savefunction)(void *dat, FILE *f))


This class has no child classes.

alphabetic index hierarchy of classes


Email contact: zgs@npac.syr.edu

generated by doc++