moved
This commit is contained in:
31
Sapfor/_src/SageAnalysisTool/annotationDriver.h
Normal file
31
Sapfor/_src/SageAnalysisTool/annotationDriver.h
Normal file
@@ -0,0 +1,31 @@
|
||||
#pragma once
|
||||
///////////////////////////////////////////////////////////////////
|
||||
// interface to the annotations
|
||||
///////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
|
||||
class SgAnnotation
|
||||
{
|
||||
public:
|
||||
// the id of the annotation;
|
||||
int id;
|
||||
// the annotation itself;
|
||||
SgExpression *theannotation;
|
||||
//the statement it is attached on;
|
||||
SgStatement *stmt;
|
||||
SgStatement *scopebegin;
|
||||
SgStatement *scopeend;
|
||||
int defined;
|
||||
SgExpression *thedirective;
|
||||
char *directiveName;
|
||||
// pointer to the next annotation for a statement;
|
||||
SgAnnotation *next;
|
||||
SgAnnotation(int id);
|
||||
~SgAnnotation();
|
||||
char * unparse();
|
||||
int applyToStatement(SgStatement *stat);
|
||||
SgExpression **directiveFields;
|
||||
int nbDirectiveFields;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user