AstInterfaceImpl
AstInterfaceImpl(SgNode* _top); [constructor] | Construct from SgNode |
CopyNewVarDecls
void CopyNewVarDecls(SgBasicBlock* blk); | |
CreateFieldRef
SgVarRefExp* CreateFieldRef( SgNode* decl, std::string fieldname); | |
CreateFunction
SgNode* CreateFunction( std::string name, int numOfPars); | |
CreateFunctionCall
SgNode* CreateFunctionCall( SgNode* func, AstNodeList::const_iterator, AstNodeList::const_iterator e); | |
CreateVarMemberRef
SgDotExp* CreateVarMemberRef( std::string varname, std::string field, SgNode* loc = 0); | |
CreateVarRef
SgExpression* CreateVarRef( std::string varname, SgNode* loc = 0); | |
GetFunc
SgFunctionSymbol* GetFunc(std::string const& name); | |
GetMemberFunc
SgMemberFunctionSymbol* GetMemberFunc( SgClassDeclaration* c, std::string const& funcname, std::vector<SgExpression*>* args = 0); | |
LookupFunction
SgFunctionSymbol* LookupFunction( char const* start, SgScopeStatement* loc); | |
LookupVar
SgVariableSymbol* LookupVar(std::string const& name); | |
NewFunc
SgFunctionSymbol* NewFunc( std::string const& name, SgType* rtype, std::list<SgInitializedName*> const& args); | |
NewMemberFunc
SgMemberFunctionSymbol* NewMemberFunc( SgClassDeclaration* decl, std::string const& name, SgType* rtype, std::list<SgInitializedName*> const& args); | |
NewVar
SgVariableSymbol* NewVar( SgType* type, std::string const& _name, bool makeunique, bool delayDecl, SgExpression* initexp = 0, SgScopeStatement* loc = 0); | |
ReplaceAst
bool ReplaceAst( SgNode* orig, SgNode* n); | |
get_scope
SgScopeStatement* get_scope(SgNode* l); | |
set_top
void set_top(SgNode* _top); | |