1#ifndef SOURCE_LOCATION_INHERITED_ATTRIBUTE_H
2#define SOURCE_LOCATION_INHERITED_ATTRIBUTE_H
48 std::vector<SgScopeStatement*> scopeList;
51 std::vector<SgStatement*> statementList;
75 void refineClassification (
SgNode* astNode );
78 void display(
const std::string s )
const;
81 SgNode* getGlobalScope()
const;
82 SgNode* getCurrentFunctionScope()
const;
83 SgNode* getLocalScope()
const;
84 SgNode* getLoopNestParentScope()
const;
85 SgNode* getConditionalParentScope()
const;
86 SgNode* getParentScope()
const;
87 SgNode* getCurrentFunctionBasicBlockScope()
const;
89 SgNode* getCurrentDeclarationInGlobalScope()
const;
90 SgNode* getCurrentStatement()
const;
91 SgNode* getCurrentExpression()
const;
92 SgNode* getCurrentNode()
const;
This class represents the concept of a block (not a basic block from control flow analysis).
This class represents the notion of an expression. Expressions are derived from SgLocatedNodes,...
This class represents a source file for a project (which may contian many source files and or directo...
This class represents the concept of a scope in C++ (e.g. global scope, fuction scope,...
This class represents the concept of a namespace definition.
This class represents the base class for all IR nodes within Sage III.
This class represents a source project, with a list of SgFile objects and global information about th...
This class represents the concept of a scope in C++ (e.g. global scope, fuction scope,...
This class represents the notion of a statement.