ROSE  0.9.6a
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
sageBuilder.h File Reference
#include <string>
Include dependency graph for sageBuilder.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 SageBuilder
 
 Rose
 
 Rose::Frontend
 
 Rose::Frontend::Java
 

Constant Groups

 SageBuilder
 
 Rose
 
 Rose::Frontend
 
 Rose::Frontend::Java
 

Enumerations

enum  SageBuilder::SourcePositionClassification {
  SageBuilder::e_sourcePositionError,
  SageBuilder::e_sourcePositionDefault,
  SageBuilder::e_sourcePositionTransformation,
  SageBuilder::e_sourcePositionCompilerGenerated,
  SageBuilder::e_sourcePositionNullPointers,
  SageBuilder::e_sourcePositionFrontendConstruction,
  SageBuilder::e_sourcePosition_last
}
 

Functions

SourcePositionClassification SageBuilder::getSourcePositionClassificationMode ()
 Get the current source position classification (defines how IR nodes built by the SageBuilder interface will be classified). More...
 
std::string SageBuilder::display (SourcePositionClassification &scp)
 display function for debugging More...
 
void SageBuilder::setSourcePositionClassificationMode (SourcePositionClassification X)
 Set the current source position classification (defines how IR nodes built by the SageBuilder interface will be classified). More...
 
SgName SageBuilder::appendTemplateArgumentsToName (const SgName &name, const SgTemplateArgumentPtrList &templateArgumentsList)
 
Builders for SgType

Builders for simple and complex SgType nodes, such as integer type, function type, array type, struct type, etc.

Todo:
SgModifierType,SgNamedType(SgClassType,SgEnumType,SgTypedefType), SgQualifiedNameType, SgTemplateType,SgTypeComplex, SgTypeDefault,SgTypeEllipse,SgTypeGlobalVoid,SgTypeImaginary
ROSE_DLL_API SgTypeBoolSageBuilder::buildBoolType ()
 Built in simple types. More...
 
ROSE_DLL_API SgTypeCharSageBuilder::buildCharType ()
 Built in simple types. More...
 
ROSE_DLL_API SgTypeDoubleSageBuilder::buildDoubleType ()
 Built in simple types. More...
 
ROSE_DLL_API SgTypeFloatSageBuilder::buildFloatType ()
 Built in simple types. More...
 
ROSE_DLL_API SgTypeIntSageBuilder::buildIntType ()
 Built in simple types. More...
 
ROSE_DLL_API SgTypeLongSageBuilder::buildLongType ()
 Built in simple types. More...
 
ROSE_DLL_API SgTypeLongDoubleSageBuilder::buildLongDoubleType ()
 Built in simple types. More...
 
ROSE_DLL_API SgTypeLongLongSageBuilder::buildLongLongType ()
 Built in simple types. More...
 
ROSE_DLL_API SgTypeShortSageBuilder::buildShortType ()
 Built in simple types. More...
 
ROSE_DLL_API SgTypeStringSageBuilder::buildStringType ()
 Built in simple types. More...
 
ROSE_DLL_API SgTypeStringSageBuilder::buildStringType (SgExpression *stringLengthExpression)
 Built in simple types. More...
 
ROSE_DLL_API SgTypeVoidSageBuilder::buildVoidType ()
 Built in simple types. More...
 
ROSE_DLL_API SgTypeWcharSageBuilder::buildWcharType ()
 Built in simple types. More...
 
ROSE_DLL_API SgTypeSignedCharSageBuilder::buildSignedCharType ()
 Built in simple types. More...
 
ROSE_DLL_API SgTypeSignedIntSageBuilder::buildSignedIntType ()
 Built in simple types. More...
 
ROSE_DLL_API SgTypeSignedLongSageBuilder::buildSignedLongType ()
 Built in simple types. More...
 
ROSE_DLL_API SgTypeSignedLongLongSageBuilder::buildSignedLongLongType ()
 Built in simple types. More...
 
ROSE_DLL_API SgTypeSignedShortSageBuilder::buildSignedShortType ()
 Built in simple types. More...
 
ROSE_DLL_API
SgTypeSigned128bitInteger
SageBuilder::buildSigned128bitIntegerType ()
 Built in simple types. More...
 
ROSE_DLL_API
SgTypeUnsigned128bitInteger
SageBuilder::buildUnsigned128bitIntegerType ()
 Built in simple types. More...
 
ROSE_DLL_API SgTypeUnsignedCharSageBuilder::buildUnsignedCharType ()
 Built in simple types. More...
 
ROSE_DLL_API SgTypeUnsignedIntSageBuilder::buildUnsignedIntType ()
 Built in simple types. More...
 
ROSE_DLL_API SgTypeUnsignedLongSageBuilder::buildUnsignedLongType ()
 Built in simple types. More...
 
ROSE_DLL_API
SgTypeUnsignedLongLong
SageBuilder::buildUnsignedLongLongType ()
 Built in simple types. More...
 
ROSE_DLL_API SgTypeUnsignedShortSageBuilder::buildUnsignedShortType ()
 Built in simple types. More...
 
ROSE_DLL_API SgTypeUnknownSageBuilder::buildUnknownType ()
 Built in simple types. More...
 
ROSE_DLL_API SgPointerTypeSageBuilder::buildPointerType (SgType *base_type=NULL)
 Build a pointer type. More...
 
ROSE_DLL_API SgReferenceTypeSageBuilder::buildReferenceType (SgType *base_type=NULL)
 Build a reference type. More...
 
ROSE_DLL_API SgModifierTypeSageBuilder::buildModifierType (SgType *base_type=NULL)
 Build a modifier type. More...
 
ROSE_DLL_API SgModifierTypeSageBuilder::buildConstType (SgType *base_type=NULL)
 Build a const type. More...
 
ROSE_DLL_API SgModifierTypeSageBuilder::buildVolatileType (SgType *base_type=NULL)
 Build a volatile type. More...
 
ROSE_DLL_API SgModifierTypeSageBuilder::buildRestrictType (SgType *base_type)
 Build a restrict type. More...
 
ROSE_DLL_API SgArrayTypeSageBuilder::buildArrayType (SgType *base_type=NULL, SgExpression *index=NULL)
 Build ArrayType. More...
 
ROSE_DLL_API SgModifierTypeSageBuilder::buildFortranKindType (SgType *base_type, SgExpression *kindExpression)
 Build a type based on the Fortran kind mechanism. More...
 
ROSE_DLL_API SgFunctionTypeSageBuilder::buildFunctionType (SgType *return_type, SgFunctionParameterTypeList *typeList=NULL)
 Build function type from return type and parameter type list. More...
 
ROSE_DLL_API SgFunctionTypeSageBuilder::buildFunctionType (SgType *return_type, SgFunctionParameterList *argList=NULL)
 Build function type from return type and parameter list. More...
 
ROSE_DLL_API SgMemberFunctionTypeSageBuilder::buildMemberFunctionType (SgType *return_type, SgFunctionParameterTypeList *typeList, SgClassDefinition *struct_name, unsigned int mfunc_specifier)
 Built in simple types. More...
 
ROSE_DLL_API SgMemberFunctionTypeSageBuilder::buildMemberFunctionType (SgType *return_type, SgFunctionParameterList *argList=NULL, SgClassDefinition *struct_name=NULL, unsigned int mfunc_specifier=0)
 Built in simple types. More...
 
ROSE_DLL_API SgMemberFunctionTypeSageBuilder::buildMemberFunctionType (SgType *return_type, SgFunctionParameterTypeList *typeList, SgClassType *classType, unsigned int mfunc_specifier)
 Built in simple types. More...
 
ROSE_DLL_API SgTypeSageBuilder::buildOpaqueType (std::string const type_name, SgScopeStatement *scope)
 Build an opaque type with a name, useful when a type's details are unknown during transformation, especially for a runtime library's internal type. Must provide scope here. More...
 
ROSE_DLL_API SgModifierTypeSageBuilder::buildUpcStrictType (SgType *base_type=NULL)
 Build a UPC strict type. More...
 
ROSE_DLL_API SgModifierTypeSageBuilder::buildUpcRelaxedType (SgType *base_type=NULL)
 Build a UPC relaxed type. More...
 
ROSE_DLL_API SgModifierTypeSageBuilder::buildUpcSharedType (SgType *base_type=NULL, long layout=-1)
 Build a UPC shared type. More...
 
ROSE_DLL_API SgModifierTypeSageBuilder::buildUpcBlockIndefiniteType (SgType *base_type=NULL)
 Build a UPC shared[] type. More...
 
ROSE_DLL_API SgModifierTypeSageBuilder::buildUpcBlockStarType (SgType *base_type=NULL)
 Build a UPC shared[*] type. More...
 
ROSE_DLL_API SgModifierTypeSageBuilder::buildUpcBlockNumberType (SgType *base_type, long block_factor)
 Build a UPC shared[n] type. More...
 
ROSE_DLL_API SgTypeComplexSageBuilder::buildComplexType (SgType *base_type=NULL)
 Build a complex type. More...
 
ROSE_DLL_API SgTypeImaginarySageBuilder::buildImaginaryType (SgType *base_type=NULL)
 Build an imaginary type. More...
 
ROSE_DLL_API
SgConstVolatileModifier
SageBuilder::buildConstVolatileModifier (SgConstVolatileModifier::cv_modifier_enum mtype=SgConstVolatileModifier::e_unknown)
 Build a const/volatile type qualifier. More...
 
Builders for support nodes

AST high level builders for SgSupport nodes

ROSE_DLL_API SgInitializedNameSageBuilder::buildInitializedName (const SgName &name, SgType *type, SgInitializer *init=NULL)
 Initialized names are tricky, their scope vary depending on context, so scope and symbol information are not needed until the initialized name is being actually used somewhere. More...
 
ROSE_DLL_API SgInitializedNameSageBuilder::buildInitializedName (const std::string &name, SgType *type)
 Initialized names are tricky, their scope vary depending on context, so scope and symbol information are not needed until the initialized name is being actually used somewhere. More...
 
ROSE_DLL_API SgInitializedNameSageBuilder::buildInitializedName (const char *name, SgType *type)
 Initialized names are tricky, their scope vary depending on context, so scope and symbol information are not needed until the initialized name is being actually used somewhere. More...
 
SgInitializedNameSageBuilder::buildInitializedName_nfi (const SgName &name, SgType *type, SgInitializer *init)
 Initialized names are tricky, their scope vary depending on context, so scope and symbol information are not needed until the initialized name is being actually used somewhere. More...
 
ROSE_DLL_API
SgFunctionParameterTypeList
SageBuilder::buildFunctionParameterTypeList (SgFunctionParameterList *paralist)
 Build SgFunctionParameterTypeList from SgFunctionParameterList. More...
 
ROSE_DLL_API
SgFunctionParameterTypeList
SageBuilder::buildFunctionParameterTypeList (SgExprListExp *expList)
 Build SgFunctionParameterTypeList from an expression list, useful when building a function call. More...
 
ROSE_DLL_API
SgFunctionParameterTypeList
SageBuilder::buildFunctionParameterTypeList (SgType *type0=NULL, SgType *type1=NULL, SgType *type2=NULL, SgType *type3=NULL, SgType *type4=NULL, SgType *type5=NULL, SgType *type6=NULL, SgType *type7=NULL)
 Build an SgFunctionParameterTypeList from SgTypes. To build an. More...
 
Builders for statements

AST high level builders for SgStatement, explicit scope parameters are allowed for flexibility. Please use SageInterface::appendStatement(), prependStatement(), and insertStatement() to attach the newly built statements into an AST tree. Calling member functions like SgScopeStatement::prepend_statement() or using container functions such as pushback() is discouraged since they don't handle many side effects for symbol tables, source file information, scope and parent pointers etc.

ROSE_DLL_API
SgVariableDeclaration
SageBuilder::buildVariableDeclaration (const SgName &name, SgType *type, SgInitializer *varInit=NULL, SgScopeStatement *scope=NULL)
 Build a variable declaration, handle symbol table transparently. More...
 
ROSE_DLL_API
SgVariableDeclaration
SageBuilder::buildVariableDeclaration (const std::string &name, SgType *type, SgInitializer *varInit=NULL, SgScopeStatement *scope=NULL)
 Build a variable declaration, handle symbol table transparently. More...
 
ROSE_DLL_API
SgVariableDeclaration
SageBuilder::buildVariableDeclaration (const char *name, SgType *type, SgInitializer *varInit=NULL, SgScopeStatement *scope=NULL)
 Build a variable declaration, handle symbol table transparently. More...
 
SgVariableDeclarationSageBuilder::buildVariableDeclaration_nfi (const SgName &name, SgType *type, SgInitializer *varInit, SgScopeStatement *scope)
 Build a variable declaration, handle symbol table transparently. More...
 
SgTemplateVariableDeclarationSageBuilder::buildTemplateVariableDeclaration_nfi (const SgName &name, SgType *type, SgInitializer *varInit, SgScopeStatement *scope)
 Build a variable declaration, handle symbol table transparently. More...
 
ROSE_DLL_API SgTypedefDeclarationSageBuilder::buildTypedefDeclaration (const std::string &name, SgType *base_type, SgScopeStatement *scope=NULL, bool has_defining_base=false)
 Build a typedef declaration, such as: typedef int myint; typedef struct A {..} s_A;. More...
 
SgTypedefDeclarationSageBuilder::buildTypedefDeclaration_nfi (const std::string &name, SgType *base_type, SgScopeStatement *scope=NULL, bool has_defining_base=false)
 Build a variable declaration, handle symbol table transparently. More...
 
ROSE_DLL_API
SgFunctionParameterList
SageBuilder::buildFunctionParameterList (SgInitializedName *in1=NULL, SgInitializedName *in2=NULL, SgInitializedName *in3=NULL, SgInitializedName *in4=NULL, SgInitializedName *in5=NULL, SgInitializedName *in6=NULL, SgInitializedName *in7=NULL, SgInitializedName *in8=NULL, SgInitializedName *in9=NULL, SgInitializedName *in10=NULL)
 Build an empty SgFunctionParameterList, possibly with some initialized names filled in. More...
 
SgFunctionParameterListSageBuilder::buildFunctionParameterList_nfi ()
 Build a variable declaration, handle symbol table transparently. More...
 
ROSE_DLL_API
SgFunctionParameterList
SageBuilder::buildFunctionParameterList (SgFunctionParameterTypeList *paraTypeList)
 Build an SgFunctionParameterList from SgFunctionParameterTypeList, like (int, float,...), used for parameter list of prototype functions when function type( including parameter type list) is known. More...
 
SgFunctionParameterListSageBuilder::buildFunctionParameterList_nfi (SgFunctionParameterTypeList *paraTypeList)
 Build a variable declaration, handle symbol table transparently. More...
 
void SageBuilder::setTemplateNameInTemplateInstantiations (SgFunctionDeclaration *func, const SgName &name)
 Build a variable declaration, handle symbol table transparently. More...
 
void SageBuilder::setTemplateArgumentParents (SgDeclarationStatement *decl)
 Build a variable declaration, handle symbol table transparently. More...
 
void SageBuilder::testTemplateArgumentParents (SgDeclarationStatement *decl)
 Build a variable declaration, handle symbol table transparently. More...
 
SgTemplateArgumentPtrListSageBuilder::getTemplateArgumentList (SgDeclarationStatement *decl)
 Build a variable declaration, handle symbol table transparently. More...
 
void SageBuilder::testTemplateParameterParents (SgDeclarationStatement *decl)
 Build a variable declaration, handle symbol table transparently. More...
 
void SageBuilder::setTemplateParameterParents (SgDeclarationStatement *decl)
 Build a variable declaration, handle symbol table transparently. More...
 
SgTemplateParameterPtrListSageBuilder::getTemplateParameterList (SgDeclarationStatement *decl)
 Build a variable declaration, handle symbol table transparently. More...
 
void SageBuilder::setTemplateArgumentsInDeclaration (SgDeclarationStatement *decl, SgTemplateArgumentPtrList *templateArgumentsList_input)
 Build a variable declaration, handle symbol table transparently. More...
 
void SageBuilder::setTemplateSpecializationArgumentsInDeclaration (SgDeclarationStatement *decl, SgTemplateArgumentPtrList *templateSpecializationArgumentsList_input)
 Build a variable declaration, handle symbol table transparently. More...
 
void SageBuilder::setTemplateParametersInDeclaration (SgDeclarationStatement *decl, SgTemplateParameterPtrList *templateParametersList_input)
 Build a variable declaration, handle symbol table transparently. More...
 
template<class actualFunction >
actualFunction * SageBuilder::buildNondefiningFunctionDeclaration_T (const SgName &name, SgType *return_type, SgFunctionParameterList *paralist, bool isMemberFunction, SgScopeStatement *scope, SgExprListExp *decoratorList, unsigned int functionConstVolatileFlags, SgTemplateArgumentPtrList *templateArgumentsList, SgTemplateParameterPtrList *templateParameterList)
 A template function for function prototype declaration builders. More...
 
ROSE_DLL_API
SgFunctionDeclaration
SageBuilder::buildNondefiningFunctionDeclaration (const SgName &name, SgType *return_type, SgFunctionParameterList *parlist, SgScopeStatement *scope, SgExprListExp *decoratorList, bool buildTemplateInstantiation, SgTemplateArgumentPtrList *templateArgumentsList)
 Build a prototype for a function, handle function type, symbol etc transparently. More...
 
ROSE_DLL_API
SgFunctionDeclaration
SageBuilder::buildNondefiningFunctionDeclaration (const SgName &name, SgType *return_type, SgFunctionParameterList *parameter_list, SgScopeStatement *scope=NULL, SgExprListExp *decoratorList=NULL)
 Build a variable declaration, handle symbol table transparently. More...
 
SgTemplateFunctionDeclarationSageBuilder::buildNondefiningTemplateFunctionDeclaration (const SgName &name, SgType *return_type, SgFunctionParameterList *parlist, SgScopeStatement *scope=NULL, SgExprListExp *decoratorList=NULL, SgTemplateParameterPtrList *templateParameterList=NULL)
 Build a variable declaration, handle symbol table transparently. More...
 
ROSE_DLL_API
SgTemplateFunctionDeclaration
SageBuilder::buildDefiningTemplateFunctionDeclaration (const SgName &name, SgType *return_type, SgFunctionParameterList *parlist, SgScopeStatement *scope, SgExprListExp *decoratorList, SgTemplateFunctionDeclaration *first_nondefining_declaration)
 Build a variable declaration, handle symbol table transparently. More...
 
ROSE_DLL_API
SgFunctionDeclaration
SageBuilder::buildNondefiningFunctionDeclaration (const SgFunctionDeclaration *funcdecl, SgScopeStatement *scope=NULL, SgExprListExp *decoratorList=NULL)
 Build a prototype for an existing function declaration (defining or nondefining is fine) More...
 
ROSE_DLL_API
SgMemberFunctionDeclaration
SageBuilder::buildNondefiningMemberFunctionDeclaration (const SgName &name, SgType *return_type, SgFunctionParameterList *parlist, SgScopeStatement *scope, SgExprListExp *decoratorList, unsigned int functionConstVolatileFlags, bool buildTemplateInstantiation, SgTemplateArgumentPtrList *templateArgumentsList)
 Build a prototype member function declaration. More...
 
ROSE_DLL_API
SgTemplateMemberFunctionDeclaration
SageBuilder::buildNondefiningTemplateMemberFunctionDeclaration (const SgName &name, SgType *return_type, SgFunctionParameterList *parlist, SgScopeStatement *scope, SgExprListExp *decoratorList, unsigned int functionConstVolatileFlags, SgTemplateParameterPtrList *templateParameterList)
 Build a variable declaration, handle symbol table transparently. More...
 
ROSE_DLL_API
SgTemplateMemberFunctionDeclaration
SageBuilder::buildDefiningTemplateMemberFunctionDeclaration (const SgName &name, SgType *return_type, SgFunctionParameterList *parlist, SgScopeStatement *scope, SgExprListExp *decoratorList, unsigned int functionConstVolatileFlags, SgTemplateMemberFunctionDeclaration *first_nondefing_declaration)
 Build a variable declaration, handle symbol table transparently. More...
 
ROSE_DLL_API
SgMemberFunctionDeclaration
SageBuilder::buildDefiningMemberFunctionDeclaration (const SgName &name, SgType *return_type, SgFunctionParameterList *parlist, SgScopeStatement *scope, SgExprListExp *decoratorList, bool buildTemplateInstantiation, unsigned int functionConstVolatileFlags, SgMemberFunctionDeclaration *first_nondefinng_declaration, SgTemplateArgumentPtrList *templateArgumentsList)
 Build a defining ( non-prototype) member function declaration. More...
 
ROSE_DLL_API
SgMemberFunctionDeclaration
SageBuilder::buildDefiningMemberFunctionDeclaration (const SgName &name, SgMemberFunctionType *func_type, SgScopeStatement *scope, SgExprListExp *decoratorList=NULL, SgMemberFunctionDeclaration *first_nondefinng_declaration=NULL)
 Build a defining ( non-prototype) member function declaration from a SgMemberFunctionType. More...
 
ROSE_DLL_API
SgMemberFunctionDeclaration
SageBuilder::buildNondefiningMemberFunctionDeclaration (const SgMemberFunctionDeclaration *funcdecl, SgScopeStatement *scope=NULL, SgExprListExp *decoratorList=NULL, unsigned int functionConstVolatileFlags=0)
 Build a prototype for an existing member function declaration (defining or nondefining is fine) More...
 
ROSE_DLL_API
SgMemberFunctionDeclaration
SageBuilder::buildNondefiningMemberFunctionDeclaration (const SgName &name, SgType *return_type, SgFunctionParameterList *parameter_list, SgScopeStatement *scope=NULL)
 Build a variable declaration, handle symbol table transparently. More...
 
ROSE_DLL_API
SgMemberFunctionDeclaration
SageBuilder::buildDefiningMemberFunctionDeclaration (const SgName &name, SgType *return_type, SgFunctionParameterList *parameter_list, SgScopeStatement *scope=NULL)
 Build a variable declaration, handle symbol table transparently. More...
 
template<class actualFunction >
actualFunction * SageBuilder::buildDefiningFunctionDeclaration_T (const SgName &name, SgType *return_type, SgFunctionParameterList *parlist, bool isMemberFunction, SgScopeStatement *scope, SgExprListExp *decoratorList, unsigned int functionConstVolatileFlags, actualFunction *first_nondefinng_declaration, SgTemplateArgumentPtrList *templateArgumentsList)
 A template function for function declaration builders. More...
 
ROSE_DLL_API
SgFunctionDeclaration
SageBuilder::buildDefiningFunctionDeclaration (const SgName &name, SgType *return_type, SgFunctionParameterList *parlist, SgScopeStatement *scope, SgExprListExp *decoratorList, bool buildTemplateInstantiation=false, SgFunctionDeclaration *first_nondefinng_declaration=NULL, SgTemplateArgumentPtrList *templateArgumentsList=NULL)
 Build a function declaration with a function body. More...
 
ROSE_DLL_API
SgFunctionDeclaration
SageBuilder::buildDefiningFunctionDeclaration (const SgName &name, SgType *return_type, SgFunctionParameterList *parameter_list, SgScopeStatement *scope=NULL)
 Build a variable declaration, handle symbol table transparently. More...
 
ROSE_DLL_API
SgProcedureHeaderStatement
SageBuilder::buildProcedureHeaderStatement (const SgName &name, SgType *return_type, SgFunctionParameterList *parameter_list, SgProcedureHeaderStatement::subprogram_kind_enum, SgScopeStatement *scope=NULL)
 Build a variable declaration, handle symbol table transparently. More...
 
ROSE_DLL_API
SgProcedureHeaderStatement
SageBuilder::buildProcedureHeaderStatement (const char *name, SgType *return_type, SgFunctionParameterList *parlist, SgProcedureHeaderStatement::subprogram_kind_enum, SgScopeStatement *scope, SgProcedureHeaderStatement *first_nondefining_declaration)
 Build a Fortran subroutine or procedure. More...
 
ROSE_DLL_API SgExprStatementSageBuilder::buildFunctionCallStmt (const SgName &name, SgType *return_type, SgExprListExp *parameters=NULL, SgScopeStatement *scope=NULL)
 Build a regular function call statement. More...
 
ROSE_DLL_API SgExprStatementSageBuilder::buildFunctionCallStmt (SgExpression *function, SgExprListExp *parameters=NULL)
 Build a function call statement using function expression and argument list only, like (*funcPtr)(args);. More...
 
ROSE_DLL_API SgLabelStatementSageBuilder::buildLabelStatement (const SgName &name, SgStatement *stmt=NULL, SgScopeStatement *scope=NULL)
 Build a label statement, name is the label's name. Handling label symbol and scope internally. More...
 
SgLabelStatementSageBuilder::buildLabelStatement_nfi (const SgName &name, SgStatement *stmt, SgScopeStatement *scope)
 Build a variable declaration, handle symbol table transparently. More...
 
ROSE_DLL_API SgGotoStatementSageBuilder::buildGotoStatement (SgLabelStatement *label=NULL)
 Build a goto statement. More...
 
SgGotoStatementSageBuilder::buildGotoStatement_nfi (SgLabelStatement *label)
 Build a variable declaration, handle symbol table transparently. More...
 
ROSE_DLL_API SgGotoStatementSageBuilder::buildGotoStatement (SgLabelSymbol *symbol)
 Build a goto statement from a label symbol, supporting both C/C++ and Fortran cases. More...
 
ROSE_DLL_API SgCaseOptionStmtSageBuilder::buildCaseOptionStmt (SgExpression *key=NULL, SgStatement *body=NULL)
 Build a case option statement. More...
 
SgCaseOptionStmtSageBuilder::buildCaseOptionStmt_nfi (SgExpression *key, SgStatement *body)
 Build a variable declaration, handle symbol table transparently. More...
 
ROSE_DLL_API SgDefaultOptionStmtSageBuilder::buildDefaultOptionStmt (SgStatement *body=NULL)
 Build a default option statement. More...
 
SgDefaultOptionStmtSageBuilder::buildDefaultOptionStmt_nfi (SgStatement *body)
 Build a variable declaration, handle symbol table transparently. More...
 
ROSE_DLL_API SgExprStatementSageBuilder::buildExprStatement (SgExpression *exp=NULL)
 Build a SgExprStatement, set File_Info automatically. More...
 
SgExprStatementSageBuilder::buildExprStatement_nfi (SgExpression *exp)
 Build a variable declaration, handle symbol table transparently. More...
 
ROSE_DLL_API SgSwitchStatementSageBuilder::buildSwitchStatement (SgStatement *item_selector=NULL, SgStatement *body=NULL)
 Build a switch statement. More...
 
SgSwitchStatementSageBuilder::buildSwitchStatement (SgExpression *item_selector, SgStatement *body=NULL)
 Build a variable declaration, handle symbol table transparently. More...
 
SgSwitchStatementSageBuilder::buildSwitchStatement_nfi (SgStatement *item_selector, SgStatement *body)
 Build a variable declaration, handle symbol table transparently. More...
 
ROSE_DLL_API SgIfStmtSageBuilder::buildIfStmt (SgStatement *conditional, SgStatement *true_body, SgStatement *false_body)
 Build if statement. More...
 
SgIfStmtSageBuilder::buildIfStmt (SgExpression *conditional, SgStatement *true_body, SgStatement *false_body)
 Build a variable declaration, handle symbol table transparently. More...
 
SgIfStmtSageBuilder::buildIfStmt_nfi (SgStatement *conditional, SgStatement *true_body, SgStatement *false_body)
 Build a variable declaration, handle symbol table transparently. More...
 
ROSE_DLL_API SgForInitStatementSageBuilder::buildForInitStatement ()
 Build a for init statement. More...
 
ROSE_DLL_API SgForInitStatementSageBuilder::buildForInitStatement (const SgStatementPtrList &statements)
 Build a variable declaration, handle symbol table transparently. More...
 
SgForInitStatementSageBuilder::buildForInitStatement_nfi (SgStatementPtrList &statements)
 Build a variable declaration, handle symbol table transparently. More...
 
ROSE_DLL_API SgForInitStatementSageBuilder::buildForInitStatement (SgStatement *statement)
 Build a variable declaration, handle symbol table transparently. More...
 
ROSE_DLL_API SgForStatementSageBuilder::buildForStatement (SgStatement *initialize_stmt, SgStatement *test, SgExpression *increment, SgStatement *loop_body, SgStatement *else_body=NULL)
 Build a for statement, assume none of the arguments is NULL. More...
 
SgForStatementSageBuilder::buildForStatement_nfi (SgStatement *initialize_stmt, SgStatement *test, SgExpression *increment, SgStatement *loop_body, SgStatement *else_body=NULL)
 Build a variable declaration, handle symbol table transparently. More...
 
SgForStatementSageBuilder::buildForStatement_nfi (SgForInitStatement *init_stmt, SgStatement *test, SgExpression *increment, SgStatement *loop_body, SgStatement *else_body=NULL)
 Build a variable declaration, handle symbol table transparently. More...
 
void SageBuilder::buildForStatement_nfi (SgForStatement *result, SgForInitStatement *init_stmt, SgStatement *test, SgExpression *increment, SgStatement *loop_body, SgStatement *else_body=NULL)
 Build a variable declaration, handle symbol table transparently. More...
 
void SageBuilder::buildDoWhileStatement_nfi (SgDoWhileStmt *result, SgStatement *body, SgStatement *condition)
 Build a variable declaration, handle symbol table transparently. More...
 
SgUpcForAllStatementSageBuilder::buildUpcForAllStatement_nfi (SgStatement *initialize_stmt, SgStatement *test, SgExpression *increment, SgExpression *affinity, SgStatement *loop_body)
 Build a UPC forall statement. More...
 
SgUpcForAllStatementSageBuilder::buildUpcForAllStatement_nfi (SgForInitStatement *init_stmt, SgStatement *test, SgExpression *increment, SgExpression *affinity, SgStatement *loop_body)
 Build a variable declaration, handle symbol table transparently. More...
 
SgUpcNotifyStatementSageBuilder::buildUpcNotifyStatement_nfi (SgExpression *exp)
 Build a UPC notify statement. More...
 
SgUpcWaitStatementSageBuilder::buildUpcWaitStatement_nfi (SgExpression *exp)
 Build a UPC wait statement. More...
 
SgUpcBarrierStatementSageBuilder::buildUpcBarrierStatement_nfi (SgExpression *exp)
 Build a UPC barrier statement. More...
 
SgUpcFenceStatementSageBuilder::buildUpcFenceStatement_nfi ()
 Build a UPC fence statement. More...
 
ROSE_DLL_API SgWhileStmtSageBuilder::buildWhileStmt (SgStatement *condition, SgStatement *body, SgStatement *else_body=NULL)
 Build while statement. More...
 
SgWhileStmtSageBuilder::buildWhileStmt (SgExpression *condition, SgStatement *body, SgStatement *else_body=NULL)
 Build a variable declaration, handle symbol table transparently. More...
 
SgWhileStmtSageBuilder::buildWhileStmt_nfi (SgStatement *condition, SgStatement *body, SgStatement *else_body=NULL)
 Build a variable declaration, handle symbol table transparently. More...
 
ROSE_DLL_API SgWithStatementSageBuilder::buildWithStatement (SgExpression *expr, SgStatement *body)
 Build a with statement. More...
 
SgWithStatementSageBuilder::buildWithStatement_nfi (SgExpression *expr, SgStatement *body)
 Build a variable declaration, handle symbol table transparently. More...
 
ROSE_DLL_API SgDoWhileStmtSageBuilder::buildDoWhileStmt (SgStatement *body, SgStatement *condition)
 Build do-while statement. More...
 
SgDoWhileStmtSageBuilder::buildDoWhileStmt (SgStatement *body, SgExpression *condition)
 Build a variable declaration, handle symbol table transparently. More...
 
SgDoWhileStmtSageBuilder::buildDoWhileStmt_nfi (SgStatement *body, SgStatement *condition)
 Build a variable declaration, handle symbol table transparently. More...
 
ROSE_DLL_API SgPragmaDeclarationSageBuilder::buildPragmaDeclaration (const std::string &name, SgScopeStatement *scope=NULL)
 Build pragma declaration, handle SgPragma and defining/nondefining pointers internally. More...
 
SgPragmaDeclarationSageBuilder::buildPragmaDeclaration_nfi (const std::string &name, SgScopeStatement *scope)
 Build a variable declaration, handle symbol table transparently. More...
 
ROSE_DLL_API SgPragmaSageBuilder::buildPragma (const std::string &name)
 Build SgPragma. More...
 
ROSE_DLL_API SgBasicBlockSageBuilder::buildBasicBlock (SgStatement *stmt1=NULL, SgStatement *stmt2=NULL, SgStatement *stmt3=NULL, SgStatement *stmt4=NULL, SgStatement *stmt5=NULL, SgStatement *stmt6=NULL, SgStatement *stmt7=NULL, SgStatement *stmt8=NULL, SgStatement *stmt9=NULL, SgStatement *stmt10=NULL)
 Build a SgBasicBlock, setting file info internally. More...
 
ROSE_DLL_API SgBasicBlockSageBuilder::buildBasicBlock_nfi ()
 Build a variable declaration, handle symbol table transparently. More...
 
SgBasicBlockSageBuilder::buildBasicBlock_nfi (const std::vector< SgStatement * > &)
 Build a variable declaration, handle symbol table transparently. More...
 
ROSE_DLL_API SgExprStatementSageBuilder::buildAssignStatement (SgExpression *lhs, SgExpression *rhs)
 Build an assignment statement from lefthand operand and right hand operand. More...
 
ROSE_DLL_API SgExprStatementSageBuilder::buildAssignStatement_ast_translate (SgExpression *lhs, SgExpression *rhs)
 This version does not recursively reset the file info as a transformation. More...
 
ROSE_DLL_API SgBreakStmtSageBuilder::buildBreakStmt ()
 Build a break statement. More...
 
SgBreakStmtSageBuilder::buildBreakStmt_nfi ()
 Build a variable declaration, handle symbol table transparently. More...
 
ROSE_DLL_API SgContinueStmtSageBuilder::buildContinueStmt ()
 Build a continue statement. More...
 
SgContinueStmtSageBuilder::buildContinueStmt_nfi ()
 Build a variable declaration, handle symbol table transparently. More...
 
ROSE_DLL_API SgPassStatementSageBuilder::buildPassStatement ()
 Build a pass statement. More...
 
SgPassStatementSageBuilder::buildPassStatement_nfi ()
 Build a variable declaration, handle symbol table transparently. More...
 
ROSE_DLL_API SgAssertStmtSageBuilder::buildAssertStmt (SgExpression *test)
 Build a Assert statement. More...
 
ROSE_DLL_API SgAssertStmtSageBuilder::buildAssertStmt (SgExpression *test, SgExpression *exceptionArgument)
 Build a variable declaration, handle symbol table transparently. More...
 
SgAssertStmtSageBuilder::buildAssertStmt_nfi (SgExpression *test)
 Build a variable declaration, handle symbol table transparently. More...
 
ROSE_DLL_API SgYieldExpressionSageBuilder::buildYieldExpression (SgExpression *value)
 Build a yield statement. More...
 
SgYieldExpressionSageBuilder::buildYieldExpression_nfi (SgExpression *value)
 Build a variable declaration, handle symbol table transparently. More...
 
ROSE_DLL_API SgKeyDatumPairSageBuilder::buildKeyDatumPair (SgExpression *key, SgExpression *datum)
 Build a key-datum pair. More...
 
SgKeyDatumPairSageBuilder::buildKeyDatumPair_nfi (SgExpression *key, SgExpression *datum)
 Build a variable declaration, handle symbol table transparently. More...
 
ROSE_DLL_API SgDictionaryExpSageBuilder::buildDictionaryExp (std::vector< SgKeyDatumPair * > pairs)
 Build a list of key-datum pairs. More...
 
SgDictionaryExpSageBuilder::buildDictionaryExp_nfi (std::vector< SgKeyDatumPair * > pairs)
 Build a variable declaration, handle symbol table transparently. More...
 
ROSE_DLL_API
SgActualArgumentExpression
SageBuilder::buildActualArgumentExpression (SgName arg_name, SgExpression *arg)
 Build an Actual Argument Expression. More...
 
SgActualArgumentExpressionSageBuilder::buildActualArgumentExpression_nfi (SgName arg_name, SgExpression *arg)
 Build a variable declaration, handle symbol table transparently. More...
 
ROSE_DLL_API SgDeleteExpSageBuilder::buildDeleteExp (SgExpression *target, bool is_array=false, bool need_global_specifier=false, SgFunctionDeclaration *deleteOperatorDeclaration=NULL)
 Build a delete statement. More...
 
SgDeleteExpSageBuilder::buildDeleteExp_nfi (SgExpression *target, bool is_array=false, bool need_global_specifier=false, SgFunctionDeclaration *deleteOperatorDeclaration=NULL)
 Build a variable declaration, handle symbol table transparently. More...
 
ROSE_DLL_API SgClassDefinitionSageBuilder::buildClassDefinition (SgClassDeclaration *d=NULL, bool buildTemplateInstantiation=false)
 Build a class definition scope statement. More...
 
SgClassDefinitionSageBuilder::buildClassDefinition_nfi (SgClassDeclaration *d=NULL, bool buildTemplateInstantiation=false)
 Build a class definition scope statement. More...
 
SgTemplateClassDefinitionSageBuilder::buildTemplateClassDefinition (SgTemplateClassDeclaration *d=NULL)
 Build a template class definition statement. More...
 
ROSE_DLL_API SgClassDeclarationSageBuilder::buildNondefiningClassDeclaration_nfi (const SgName &name, SgClassDeclaration::class_types kind, SgScopeStatement *scope, bool buildTemplateInstantiation, SgTemplateArgumentPtrList *templateArgumentsList)
 Build a structure first nondefining declaration, without file info. More...
 
ROSE_DLL_API
SgTemplateClassDeclaration
SageBuilder::buildNondefiningTemplateClassDeclaration_nfi (const SgName &name, SgClassDeclaration::class_types kind, SgScopeStatement *scope, SgTemplateParameterPtrList *templateParameterList, SgTemplateArgumentPtrList *templateSpecializationArgumentList)
 Build a variable declaration, handle symbol table transparently. More...
 
ROSE_DLL_API SgClassDeclarationSageBuilder::buildNondefiningClassDeclaration (SgName name, SgScopeStatement *scope)
 Build a variable declaration, handle symbol table transparently. More...
 
ROSE_DLL_API SgClassDeclarationSageBuilder::buildDefiningClassDeclaration (SgName name, SgScopeStatement *scope)
 Build a variable declaration, handle symbol table transparently. More...
 
ROSE_DLL_API SgClassDeclarationSageBuilder::buildClassDeclaration (SgName name, SgScopeStatement *scope)
 Build a variable declaration, handle symbol table transparently. More...
 
SgEnumDeclarationSageBuilder::buildNondefiningEnumDeclaration_nfi (const SgName &name, SgScopeStatement *scope)
 Build an enum first nondefining declaration, without file info. More...
 
ROSE_DLL_API SgClassDeclarationSageBuilder::buildStructDeclaration (const SgName &name, SgScopeStatement *scope=NULL)
 Build a structure, It is also a declaration statement in SAGE III. More...
 
ROSE_DLL_API SgClassDeclarationSageBuilder::buildStructDeclaration (const std::string &name, SgScopeStatement *scope=NULL)
 Build a variable declaration, handle symbol table transparently. More...
 
ROSE_DLL_API SgClassDeclarationSageBuilder::buildStructDeclaration (const char *name, SgScopeStatement *scope=NULL)
 Build a variable declaration, handle symbol table transparently. More...
 
ROSE_DLL_API
SgStmtDeclarationStatement
SageBuilder::buildStmtDeclarationStatement (SgStatement *stmt)
 Build a StmtDeclarationStmt. More...
 
SgStmtDeclarationStatementSageBuilder::buildStmtDeclarationStatement_nfi (SgStatement *stmt)
 Build a variable declaration, handle symbol table transparently. More...
 
ROSE_DLL_API
SgNamespaceDeclarationStatement
SageBuilder::buildNamespaceDeclaration (const SgName &name, SgScopeStatement *scope=NULL)
 Build a variable declaration, handle symbol table transparently. More...
 
SgNamespaceDeclarationStatementSageBuilder::buildNamespaceDeclaration_nfi (const SgName &name, bool unnamednamespace, SgScopeStatement *scope)
 Build a variable declaration, handle symbol table transparently. More...
 
ROSE_DLL_API
SgNamespaceDefinitionStatement
SageBuilder::buildNamespaceDefinition (SgNamespaceDeclarationStatement *d=NULL)
 Build a variable declaration, handle symbol table transparently. More...
 
ROSE_DLL_API SgNaryComparisonOpSageBuilder::buildNaryComparisonOp (SgExpression *lhs)
 Build a variable declaration, handle symbol table transparently. More...
 
SgNaryComparisonOpSageBuilder::buildNaryComparisonOp_nfi (SgExpression *lhs)
 Build a variable declaration, handle symbol table transparently. More...
 
ROSE_DLL_API SgNaryBooleanOpSageBuilder::buildNaryBooleanOp (SgExpression *lhs)
 Build a variable declaration, handle symbol table transparently. More...
 
SgNaryBooleanOpSageBuilder::buildNaryBooleanOp_nfi (SgExpression *lhs)
 Build a variable declaration, handle symbol table transparently. More...
 
ROSE_DLL_API SgStringConversionSageBuilder::buildStringConversion (SgExpression *exp)
 Build a variable declaration, handle symbol table transparently. More...
 
SgStringConversionSageBuilder::buildStringConversion_nfi (SgExpression *exp)
 Build a variable declaration, handle symbol table transparently. More...
 
SgClassDeclarationSageBuilder::buildClassDeclaration_nfi (const SgName &name, SgClassDeclaration::class_types kind, SgScopeStatement *scope, SgClassDeclaration *nonDefiningDecl, bool buildTemplateInstantiation, SgTemplateArgumentPtrList *templateArgumentsList)
 Build a variable declaration, handle symbol table transparently. More...
 
SgTemplateClassDeclarationSageBuilder::buildTemplateClassDeclaration_nfi (const SgName &name, SgClassDeclaration::class_types kind, SgScopeStatement *scope, SgTemplateClassDeclaration *nonDefiningDecl, SgTemplateParameterPtrList *templateParameterList, SgTemplateArgumentPtrList *templateSpecializationArgumentList)
 Build a variable declaration, handle symbol table transparently. More...
 
ROSE_DLL_API SgEnumDeclarationSageBuilder::buildEnumDeclaration (const SgName &name, SgScopeStatement *scope=NULL)
 Build an enum, It is also a declaration statement in SAGE III. More...
 
SgEnumDeclarationSageBuilder::buildEnumDeclaration_nfi (const SgName &name, SgScopeStatement *scope=NULL)
 Build an enum, It is also a declaration statement in SAGE III. More...
 
ROSE_DLL_API SgReturnStmtSageBuilder::buildReturnStmt (SgExpression *expression=NULL)
 Build a return statement. More...
 
SgReturnStmtSageBuilder::buildReturnStmt_nfi (SgExpression *expression)
 Build a variable declaration, handle symbol table transparently. More...
 
ROSE_DLL_API SgNullStatementSageBuilder::buildNullStatement ()
 Build a NULL statement. More...
 
SgNullStatementSageBuilder::buildNullStatement_nfi ()
 Build a variable declaration, handle symbol table transparently. More...
 
ROSE_DLL_API
SgAttributeSpecificationStatement
SageBuilder::buildAttributeSpecificationStatement (SgAttributeSpecificationStatement::attribute_spec_enum kind)
 Build Fortran attribute specification statement. More...
 
ROSE_DLL_API SgFortranIncludeLineSageBuilder::buildFortranIncludeLine (std::string filename)
 Build Fortran include line. More...
 
ROSE_DLL_API SgCommonBlockObjectSageBuilder::buildCommonBlockObject (std::string name="", SgExprListExp *exp_list=NULL)
 Build a Fortran common block, possibly with a name. More...
 
ROSE_DLL_API SgCommonBlockSageBuilder::buildCommonBlock (SgCommonBlockObject *first_block=NULL)
 Build a Fortran Common statement. More...
 
ROSE_DLL_API SgCatchOptionStmtSageBuilder::buildCatchOptionStmt (SgVariableDeclaration *condition=NULL, SgStatement *body=NULL)
 Build a variable declaration, handle symbol table transparently. More...
 
ROSE_DLL_API SgTryStmtSageBuilder::buildTryStmt (SgStatement *body, SgCatchOptionStmt *catch0=NULL, SgCatchOptionStmt *catch1=NULL, SgCatchOptionStmt *catch2=NULL, SgCatchOptionStmt *catch3=NULL, SgCatchOptionStmt *catch4=NULL)
 Build a variable declaration, handle symbol table transparently. More...
 
ROSE_DLL_API SgTryStmtSageBuilder::buildTryStmt (SgBasicBlock *try_body, SgBasicBlock *finally_body=NULL)
 Build a variable declaration, handle symbol table transparently. More...
 
ROSE_DLL_API SgCatchStatementSeqSageBuilder::buildCatchStatementSeq (SgCatchOptionStmt *=NULL)
 Build a variable declaration, handle symbol table transparently. More...
 
ROSE_DLL_API
SgJavaSynchronizedStatement
SageBuilder::buildJavaSynchronizedStatement (SgExpression *, SgBasicBlock *)
 Build a variable declaration, handle symbol table transparently. More...
 
ROSE_DLL_API SgJavaThrowStatementSageBuilder::buildJavaThrowStatement (SgThrowOp *)
 Build a variable declaration, handle symbol table transparently. More...
 
ROSE_DLL_API
SgJavaForEachStatement
SageBuilder::buildJavaForEachStatement (SgVariableDeclaration *=NULL, SgExpression *=NULL, SgStatement *=NULL)
 Build a variable declaration, handle symbol table transparently. More...
 
ROSE_DLL_API SgJavaLabelStatementSageBuilder::buildJavaLabelStatement (const SgName &, SgStatement *=NULL)
 Build a variable declaration, handle symbol table transparently. More...
 
ROSE_DLL_API SgExecStatementSageBuilder::buildExecStatement (SgExpression *executable, SgExpression *globals=NULL, SgExpression *locals=NULL)
 Build a variable declaration, handle symbol table transparently. More...
 
SgExecStatementSageBuilder::buildExecStatement_nfi (SgExpression *executable, SgExpression *globals=NULL, SgExpression *locals=NULL)
 Build a variable declaration, handle symbol table transparently. More...
 
ROSE_DLL_API SgPythonPrintStmtSageBuilder::buildPythonPrintStmt (SgExpression *dest=NULL, SgExprListExp *values=NULL)
 Build a variable declaration, handle symbol table transparently. More...
 
SgPythonPrintStmtSageBuilder::buildPythonPrintStmt_nfi (SgExpression *dest=NULL, SgExprListExp *values=NULL)
 Build a variable declaration, handle symbol table transparently. More...
 
ROSE_DLL_API SgPythonGlobalStmtSageBuilder::buildPythonGlobalStmt (SgInitializedNamePtrList &names)
 Build a variable declaration, handle symbol table transparently. More...
 
SgPythonGlobalStmtSageBuilder::buildPythonGlobalStmt_nfi (SgInitializedNamePtrList &names)
 Build a variable declaration, handle symbol table transparently. More...
 
ROSE_DLL_API SgAsmStmtSageBuilder::buildAsmStatement (std::string s)
 Build a NULL statement. More...
 
SgAsmStmtSageBuilder::buildAsmStatement_nfi (std::string s)
 Build a variable declaration, handle symbol table transparently. More...
 
ROSE_DLL_API SgAsmStmtSageBuilder::buildMultibyteNopStatement (int n)
 Build a variable declaration, handle symbol table transparently. More...
 
SgBaseClassSageBuilder::buildBaseClass (SgClassDeclaration *classDeclaration, SgClassDefinition *classDefinition, bool isVirtual, bool isDirect)
 Build a variable declaration, handle symbol table transparently. More...
 
Builders for others

AST high level builders for others

ROSE_DLL_API SgFileSageBuilder::buildFile (const std::string &inputFileName, const std::string &outputFileName, SgProject *project=NULL)
 Build a SgFile node and attach it to SgProject. More...
 
SgSourceFileSageBuilder::buildSourceFile (const std::string &outputFileName, SgProject *project=NULL)
 Build a SgFile node and attach it to SgProject. More...
 
ROSE_DLL_API PreprocessingInfoSageBuilder::buildComment (SgLocatedNode *target, const std::string &content, PreprocessingInfo::RelativePositionType position=PreprocessingInfo::before, PreprocessingInfo::DirectiveType dtype=PreprocessingInfo::CpreprocessorUnknownDeclaration)
 Build and attach a comment, comment style is inferred from the language type of the target node if not provided. It is indeed a wrapper of SageInterface::attachComment(). More...
 
ROSE_DLL_API PreprocessingInfoSageBuilder::buildCpreprocessorDefineDeclaration (SgLocatedNode *target, const std::string &content, PreprocessingInfo::RelativePositionType position=PreprocessingInfo::before)
 Build and attach #define XX directives, pass "#define xxx xxx" as content. More...
 
ROSE_DLL_API
AbstractHandle::abstract_handle * 
SageBuilder::buildAbstractHandle (SgNode *n)
 Build an abstract handle from a SgNode. More...
 
ROSE_DLL_API void SageBuilder::fixupCopyOfAstFromSeperateFileInNewTargetAst (SgStatement *insertionPoint, bool insertionPointIsScope, SgStatement *toInsert, SgStatement *original_before_copy)
 Fixup any AST moved from one file two another (references to symbols, types, etc.). More...
 
ROSE_DLL_API void SageBuilder::fixupCopyOfNodeFromSeperateFileInNewTargetAst (SgStatement *insertionPoint, bool insertionPointIsScope, SgNode *node_copy, SgNode *node_original)
 Build a SgFile node and attach it to SgProject. More...
 
ROSE_DLL_API SgTypeSageBuilder::getTargetFileTypeSupport (SgType *snippet_type, SgScopeStatement *targetScope)
 Build a SgFile node and attach it to SgProject. More...
 
ROSE_DLL_API SgTypeSageBuilder::getTargetFileType (SgType *snippet_type, SgScopeStatement *targetScope)
 Build a SgFile node and attach it to SgProject. More...
 
ROSE_DLL_API SgSymbolSageBuilder::findAssociatedSymbolInTargetAST (SgDeclarationStatement *snippet_declaration, SgScopeStatement *targetScope)
 Build a SgFile node and attach it to SgProject. More...
 
ROSE_DLL_API void SageBuilder::errorCheckingTargetAST (SgNode *node_copy, SgNode *node_original, SgFile *targetFile, bool failOnWarning)
 Error checking the inserted snippet AST. More...
 
template<class T >
ROSE_DLL_API void SageBuilder::resetDeclaration (T *classDeclaration_copy, T *classDeclaration_original, SgScopeStatement *targetScope)
 Function to reset scopes in SgDeclarationStatement IR nodes. More...
 
ROSE_DLL_API SgVarRefExpSageBuilder::buildJavaArrayLengthVarRefExp ()
 Build a SgFile node and attach it to SgProject. More...
 
ROSE_DLL_API SgScopeStatementSageBuilder::buildScopeStatement (SgClassDefinition *=NULL)
 Build a SgFile node and attach it to SgProject. More...
 
ROSE_DLL_API SgJavaTypeExpressionSageBuilder::buildJavaTypeExpression (SgType *)
 Build a SgFile node and attach it to SgProject. More...
 
ROSE_DLL_API
SgJavaMarkerAnnotation
SageBuilder::buildJavaMarkerAnnotation (SgType *)
 Build a SgFile node and attach it to SgProject. More...
 
ROSE_DLL_API
SgJavaMemberValuePair
SageBuilder::buildJavaMemberValuePair (const SgName &, SgExpression *)
 Build a SgFile node and attach it to SgProject. More...
 
ROSE_DLL_API
SgJavaSingleMemberAnnotation
SageBuilder::buildJavaSingleMemberAnnotation (SgType *, SgExpression *)
 Build a SgFile node and attach it to SgProject. More...
 
ROSE_DLL_API
SgJavaNormalAnnotation
SageBuilder::buildJavaNormalAnnotation (SgType *)
 Build a SgFile node and attach it to SgProject. More...
 
ROSE_DLL_API
SgJavaNormalAnnotation
SageBuilder::buildJavaNormalAnnotation (SgType *, std::list< SgJavaMemberValuePair * > &)
 Build a SgFile node and attach it to SgProject. More...
 
ROSE_DLL_API SgInitializedNameSageBuilder::buildJavaFormalParameter (SgType *, const SgName &, bool is_var_args=false, bool is_final=false)
 Build a SgFile node and attach it to SgProject. More...
 
ROSE_DLL_API
SgJavaPackageStatement
SageBuilder::buildJavaPackageStatement (std::string)
 Build a SgFile node and attach it to SgProject. More...
 
ROSE_DLL_API
SgJavaImportStatement
SageBuilder::buildJavaImportStatement (std::string, bool)
 Build a SgFile node and attach it to SgProject. More...
 
ROSE_DLL_API SgClassDeclarationSageBuilder::buildJavaDefiningClassDeclaration (SgScopeStatement *, std::string, SgClassDeclaration::class_types kind=SgClassDeclaration::e_class)
 Build a SgFile node and attach it to SgProject. More...
 
ROSE_DLL_API SgSourceFileSageBuilder::buildJavaSourceFile (SgProject *, std::string, SgClassDefinition *, std::string)
 Build a SgFile node and attach it to SgProject. More...
 
ROSE_DLL_API SgArrayTypeSageBuilder::getUniqueJavaArrayType (SgType *, int)
 Build a SgFile node and attach it to SgProject. More...
 
ROSE_DLL_API
SgJavaParameterizedType
SageBuilder::getUniqueJavaParameterizedType (SgNamedType *, SgTemplateParameterPtrList *)
 Build a SgFile node and attach it to SgProject. More...
 
ROSE_DLL_API SgJavaQualifiedTypeSageBuilder::getUniqueJavaQualifiedType (SgClassDeclaration *, SgNamedType *, SgNamedType *)
 Build a SgFile node and attach it to SgProject. More...
 
ROSE_DLL_API SgJavaWildcardTypeSageBuilder::getUniqueJavaWildcardUnbound ()
 Build a SgFile node and attach it to SgProject. More...
 
ROSE_DLL_API SgJavaWildcardTypeSageBuilder::getUniqueJavaWildcardExtends (SgType *)
 Build a SgFile node and attach it to SgProject. More...
 
ROSE_DLL_API SgJavaWildcardTypeSageBuilder::getUniqueJavaWildcardSuper (SgType *)
 Build a SgFile node and attach it to SgProject. More...
 

Variables

SourcePositionClassification SageBuilder::SourcePositionClassificationMode
 C++ SageBuilder namespace specific state for storage of the source code position state (used to control how the source code positon is defined for IR nodes built within the SageBuilder interface). More...
 
SgClassDefinitionRose::Frontend::Java::javaLangPackageDefinition
 
SgClassTypeRose::Frontend::Java::ObjectClassType
 
SgClassTypeRose::Frontend::Java::StringClassType
 
SgClassTypeRose::Frontend::Java::ClassClassType
 
SgVariableSymbolRose::Frontend::Java::lengthSymbol
 

Scope stack interfaces

a global data structure to store current scope and parent scopes.

Scope stack is provided as an alternative to manually passing scope parameters to builder functions. It is not required to be used. Please use the recommendeded operation functions for maintaining the scope stack. Don't use raw container access functions to ScopeStack. e.g. avoid ScopeStack.push_back(), using pushScopeStack() instead.

Todo:
consider complex cases:
  • how many scope stacks to keep? one. examine only one transparently
  • regular: push a child scope of current scope, add symbols etc.
  • irregular: push an arbitrary scope temporarily, add some symbol, then pop
  • even push a chain of scopes
  • restore scopes
std::list< SgScopeStatement * > SageBuilder::ScopeStack
 intended to be a private member, don't access it directly. could be changed any time More...
 
bool SageBuilder::symbol_table_case_insensitive_semantics
 Support for construction of case sensitive/insensitive symbol table handling in scopes. More...
 
ROSE_DLL_API void SageBuilder::pushScopeStack (SgScopeStatement *stmt)
 Public interfaces of the scope stack, should be stable. More...
 
ROSE_DLL_API void SageBuilder::pushScopeStack (SgNode *node)
 intended to be a private member, don't access it directly. could be changed any time More...
 
ROSE_DLL_API void SageBuilder::popScopeStack ()
 intended to be a private member, don't access it directly. could be changed any time More...
 
ROSE_DLL_API SgScopeStatementSageBuilder::topScopeStack ()
 intended to be a private member, don't access it directly. could be changed any time More...
 
ROSE_DLL_API bool SageBuilder::emptyScopeStack ()
 intended to be a private member, don't access it directly. could be changed any time More...
 
ROSE_DLL_API void SageBuilder::clearScopeStack ()
 intended to be a private member, don't access it directly. could be changed any time More...
 
SgScopeStatementSageBuilder::getGlobalScopeFromScopeStack ()
 Support to retrive the SgGlobal from the internal scope stack (error if not present in a non-empty list, return null for empty list). More...
 
bool SageBuilder::inSwitchScope ()
 intended to be a private member, don't access it directly. could be changed any time More...
 

Builders for expressions

handle side effects of parent pointers, Sg_File_Info, lvalue etc.

Expressions are usually built using bottomup approach, i.e. buiding operands first, then the expression operating on the operands. It is also possible to build expressions with NULL operands or empty values first, then set them afterwards.

#define BUILD_UNARY_PROTO(suffix)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
#define BUILD_BINARY_PROTO(suffix)
 Template function to build a binary expression of type T,with extra information for parenthesis and file info, Instantiated functions include: buildAddOp(), buildAndAssignOp(), buildAndOp(), buildArrowExp(),buildArrowStarOp(), buildAssignOp(),buildBitAndOp(),buildBitOrOp(),buildBitXorOp(),buildCommaOpExp(), buildConcatenationOp(),buildDivAssignOp(), buildDivideOp(),buildDotExp(),buildEqualityOp(),buildExponentiationOp(),buildGreaterOrEqualOp(),buildGreaterThanOp(),buildIntegerDivideOp(),buildIorAssignOp(),buildLessOrEqualOp(),buildLessThanOp(),buildLshiftAssignOp(),buildLshiftOp(),buildMinusAssignOp(),buildModAssignOp(),buildModOp(),buildMultAssignOp(),buildMultiplyOp(),buildNotEqualOp(),buildOrOp(),buildPlusAssignOp(),buildPntrArrRefExp(),buildRshiftAssignOp(),buildRshiftOp(),buildScopeOp(),buildSubtractOp()buildXorAssignOp() More...
 
SgVariantExpressionSageBuilder::buildVariantExpression ()
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
SgNullExpressionSageBuilder::buildNullExpression ()
 Build a null expression, set file info as the default one. More...
 
SgNullExpressionSageBuilder::buildNullExpression_nfi ()
 No file info version of buildNullExpression(). File info is to be set later on. More...
 
SgBoolValExpSageBuilder::buildBoolValExp (int value=0)
 Build a bool value expression, the name convention of SgBoolValExp is little different from others for some unknown reason. More...
 
SgBoolValExpSageBuilder::buildBoolValExp (bool value=0)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
SgBoolValExpSageBuilder::buildBoolValExp_nfi (int value)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
SgCharValSageBuilder::buildCharVal (char value=0)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
SgCharValSageBuilder::buildCharVal_nfi (char value, const std::string &str)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
SgWcharValSageBuilder::buildWcharVal (wchar_t value=0)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
SgWcharValSageBuilder::buildWcharVal_nfi (wchar_t value, const std::string &str)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
SgComplexValSageBuilder::buildComplexVal (long double real_value=0.0, long double imaginary_value=0.0)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
SgComplexValSageBuilder::buildComplexVal (SgValueExp *real_value, SgValueExp *imaginary_value)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
SgComplexValSageBuilder::buildComplexVal_nfi (SgValueExp *real_value, SgValueExp *imaginary_value, const std::string &str)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
SgComplexValSageBuilder::buildImaginaryVal (long double imaginary_value)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
SgComplexValSageBuilder::buildImaginaryVal (SgValueExp *imaginary_value)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
SgComplexValSageBuilder::buildImaginaryVal_nfi (SgValueExp *imaginary_value, const std::string &str)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
ROSE_DLL_API SgDoubleValSageBuilder::buildDoubleVal (double value=0.0)
 Build a double value expression. More...
 
SgDoubleValSageBuilder::buildDoubleVal_nfi (double value, const std::string &str)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
ROSE_DLL_API SgFloatValSageBuilder::buildFloatVal (float value=0.0)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
SgFloatValSageBuilder::buildFloatVal_nfi (float value, const std::string &str)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
ROSE_DLL_API SgIntValSageBuilder::buildIntVal (int value=0)
 Build an integer value expression. More...
 
SgIntValSageBuilder::buildIntValHex (int value=0)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
SgIntValSageBuilder::buildIntVal_nfi (int value, const std::string &str)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
ROSE_DLL_API SgLongIntValSageBuilder::buildLongIntVal (long value=0)
 Build a long integer value expression. More...
 
SgLongIntValSageBuilder::buildLongIntValHex (long value=0)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
SgLongIntValSageBuilder::buildLongIntVal_nfi (long value, const std::string &str)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
ROSE_DLL_API SgLongLongIntValSageBuilder::buildLongLongIntVal (long long value=0)
 Build a long long integer value expression. More...
 
SgLongLongIntValSageBuilder::buildLongLongIntValHex (long long value=0)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
SgLongLongIntValSageBuilder::buildLongLongIntVal_nfi (long long value, const std::string &str)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
SgEnumValSageBuilder::buildEnumVal_nfi (int value, SgEnumDeclaration *decl, SgName name)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
ROSE_DLL_API SgLongDoubleValSageBuilder::buildLongDoubleVal (long double value=0.0)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
SgLongDoubleValSageBuilder::buildLongDoubleVal_nfi (long double value, const std::string &str)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
ROSE_DLL_API SgShortValSageBuilder::buildShortVal (short value=0)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
SgShortValSageBuilder::buildShortValHex (short value=0)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
SgShortValSageBuilder::buildShortVal_nfi (short value, const std::string &str)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
ROSE_DLL_API SgStringValSageBuilder::buildStringVal (std::string value="")
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
SgStringValSageBuilder::buildStringVal_nfi (std::string value)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
ROSE_DLL_API SgUnsignedCharValSageBuilder::buildUnsignedCharVal (unsigned char v=0)
 Build an unsigned char. More...
 
SgUnsignedCharValSageBuilder::buildUnsignedCharValHex (unsigned char v=0)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
SgUnsignedCharValSageBuilder::buildUnsignedCharVal_nfi (unsigned char v, const std::string &str)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
ROSE_DLL_API SgUnsignedShortValSageBuilder::buildUnsignedShortVal (unsigned short v=0)
 Build an unsigned short integer. More...
 
SgUnsignedShortValSageBuilder::buildUnsignedShortValHex (unsigned short v=0)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
SgUnsignedShortValSageBuilder::buildUnsignedShortVal_nfi (unsigned short v, const std::string &str)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
ROSE_DLL_API SgUnsignedIntValSageBuilder::buildUnsignedIntVal (unsigned int v=0)
 Build an unsigned integer. More...
 
SgUnsignedIntValSageBuilder::buildUnsignedIntValHex (unsigned int v=0)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
SgUnsignedIntValSageBuilder::buildUnsignedIntVal_nfi (unsigned int v, const std::string &str)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
ROSE_DLL_API SgUnsignedLongValSageBuilder::buildUnsignedLongVal (unsigned long v=0)
 Build a unsigned long integer. More...
 
SgUnsignedLongValSageBuilder::buildUnsignedLongValHex (unsigned long v=0)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
SgUnsignedLongValSageBuilder::buildUnsignedLongVal_nfi (unsigned long v, const std::string &str)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
ROSE_DLL_API
SgUnsignedLongLongIntVal
SageBuilder::buildUnsignedLongLongIntVal (unsigned long long v=0)
 Build an unsigned long long integer. More...
 
SgUnsignedLongLongIntValSageBuilder::buildUnsignedLongLongIntValHex (unsigned long long v=0)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
SgUnsignedLongLongIntValSageBuilder::buildUnsignedLongLongIntVal_nfi (unsigned long long v, const std::string &str)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
SgTemplateParameterValSageBuilder::buildTemplateParameterVal (int template_parameter_position=-1)
 Build an template parameter value expression. More...
 
SgTemplateParameterValSageBuilder::buildTemplateParameterVal_nfi (int template_parameter_position, const std::string &str)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
SgUpcThreadsSageBuilder::buildUpcThreads ()
 Build UPC THREADS (integer expression) More...
 
SgUpcThreadsSageBuilder::buildUpcThreads_nfi ()
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
SgUpcMythreadSageBuilder::buildUpcMythread ()
 Build UPC MYTHREAD (integer expression) More...
 
SgUpcMythreadSageBuilder::buildUpcMythread_nfi ()
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
SgThisExpSageBuilder::buildThisExp (SgClassSymbol *sym)
 Build this pointer. More...
 
SgThisExpSageBuilder::buildThisExp_nfi (SgClassSymbol *sym)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
SgSuperExpSageBuilder::buildSuperExp (SgClassSymbol *sym)
 Build super pointer. More...
 
SgSuperExpSageBuilder::buildSuperExp_nfi (SgClassSymbol *sym)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
SgClassExpSageBuilder::buildClassExp (SgClassSymbol *sym)
 Build class pointer. More...
 
SgClassExpSageBuilder::buildClassExp_nfi (SgClassSymbol *sym)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
SgLambdaRefExpSageBuilder::buildLambdaRefExp (SgType *return_type, SgFunctionParameterList *params, SgScopeStatement *scope)
 Build lambda expression. More...
 
template<class T >
T * SageBuilder::buildUnaryExpression (SgExpression *operand=NULL)
 Template function to build a unary expression of type T. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). They are also used for the unary vararg operators (which are not technically unary operators). More...
 
template<class T >
T * SageBuilder::buildUnaryExpression_nfi (SgExpression *operand)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
ROSE_DLL_API SgCastExpSageBuilder::buildCastExp (SgExpression *operand_i=NULL, SgType *expression_type=NULL, SgCastExp::cast_type_enum cast_type=SgCastExp::e_C_style_cast)
 Build a type casting expression. More...
 
SgCastExpSageBuilder::buildCastExp_nfi (SgExpression *operand_i, SgType *expression_type, SgCastExp::cast_type_enum cast_type)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
SgVarArgOpSageBuilder::buildVarArgOp_nfi (SgExpression *operand_i, SgType *expression_type)
 Build vararg op expression. More...
 
ROSE_DLL_API SgMinusOpSageBuilder::buildMinusOp (SgExpression *operand_i, SgUnaryOp::Sgop_mode a_mode)
 Build – expression, Sgop_mode is a value of either SgUnaryOp::prefix or SgUnaryOp::postfix. More...
 
SgMinusOpSageBuilder::buildMinusOp_nfi (SgExpression *operand_i, SgUnaryOp::Sgop_mode a_mode)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
ROSE_DLL_API SgMinusMinusOpSageBuilder::buildMinusMinusOp (SgExpression *operand_i, SgUnaryOp::Sgop_mode a_mode)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
SgMinusMinusOpSageBuilder::buildMinusMinusOp_nfi (SgExpression *operand_i, SgUnaryOp::Sgop_mode a_mode)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
ROSE_DLL_API SgPlusPlusOpSageBuilder::buildPlusPlusOp (SgExpression *operand_i, SgUnaryOp::Sgop_mode a_mode)
 Build ++x or x++ , specify prefix or postfix using either SgUnaryOp::prefix or SgUnaryOp::postfix. More...
 
SgPlusPlusOpSageBuilder::buildPlusPlusOp_nfi (SgExpression *operand_i, SgUnaryOp::Sgop_mode a_mode)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
ROSE_DLL_API SgThrowOpSageBuilder::buildThrowOp (SgExpression *, SgThrowOp::e_throw_kind)
 Build a ThrowOp expression. More...
 
ROSE_DLL_API SgNewExpSageBuilder::buildNewExp (SgType *type, SgExprListExp *exprListExp, SgConstructorInitializer *constInit, SgExpression *expr, short int val, SgFunctionDeclaration *funcDecl)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
ROSE_DLL_API SgDeleteExpSageBuilder::buildDeleteExp (SgExpression *variable, short is_array, short need_global_specifier, SgFunctionDeclaration *deleteOperatorDeclaration)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
SgTypeIdOpSageBuilder::buildTypeIdOp (SgExpression *operand_expr, SgType *operand_type)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
template<class T >
T * SageBuilder::buildBinaryExpression (SgExpression *lhs=NULL, SgExpression *rhs=NULL)
 Template function to build a binary expression of type T, taking care of parent pointers, file info, lvalue, etc. Available instances include: buildAddOp(), buildAndAssignOp(), buildAndOp(), buildArrowExp(),buildArrowStarOp(), buildAssignOp(),buildBitAndOp(),buildBitOrOp(),buildBitXorOp(),buildCommaOpExp(), buildConcatenationOp(),buildDivAssignOp(),buildDivideOp(),buildDotExp(),buildEqualityOp(),buildExponentiationOp(),buildGreaterOrEqualOp(),buildGreaterThanOp(),buildIntegerDivideOp(),buildIorAssignOp(),buildLessOrEqualOp(),buildLessThanOp(),buildLshiftAssignOp(),buildLshiftOp(),buildMinusAssignOp(),buildModAssignOp(),buildModOp(),buildMultAssignOp(),buildMultiplyOp(),buildNotEqualOp(),buildOrOp(),buildPlusAssignOp(),buildPntrArrRefExp(),buildRshiftAssignOp(),buildRshiftOp(),buildScopeOp(),buildSubtractOp()buildXorAssignOp() More...
 
template<class T >
T * SageBuilder::buildBinaryExpression_nfi (SgExpression *lhs, SgExpression *rhs)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
ROSE_DLL_API SgConditionalExpSageBuilder::buildConditionalExp (SgExpression *test=NULL, SgExpression *a=NULL, SgExpression *b=NULL)
 Build a conditional expression ?: More...
 
SgConditionalExpSageBuilder::buildConditionalExp_nfi (SgExpression *test, SgExpression *a, SgExpression *b, SgType *t)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
ROSE_DLL_API SgExprListExpSageBuilder::buildExprListExp (SgExpression *expr1=NULL, SgExpression *expr2=NULL, SgExpression *expr3=NULL, SgExpression *expr4=NULL, SgExpression *expr5=NULL, SgExpression *expr6=NULL, SgExpression *expr7=NULL, SgExpression *expr8=NULL, SgExpression *expr9=NULL, SgExpression *expr10=NULL)
 Build a SgExprListExp, used for function call parameter list etc. More...
 
ROSE_DLL_API SgExprListExpSageBuilder::buildExprListExp (const std::vector< SgExpression * > &exprs)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
SgExprListExpSageBuilder::buildExprListExp_nfi ()
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
SgExprListExpSageBuilder::buildExprListExp_nfi (const std::vector< SgExpression * > &exprs)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
ROSE_DLL_API SgTupleExpSageBuilder::buildTupleExp (SgExpression *expr1=NULL, SgExpression *expr2=NULL, SgExpression *expr3=NULL, SgExpression *expr4=NULL, SgExpression *expr5=NULL, SgExpression *expr6=NULL, SgExpression *expr7=NULL, SgExpression *expr8=NULL, SgExpression *expr9=NULL, SgExpression *expr10=NULL)
 Build a SgTupleExp. More...
 
ROSE_DLL_API SgTupleExpSageBuilder::buildTupleExp (const std::vector< SgExpression * > &exprs)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
SgTupleExpSageBuilder::buildTupleExp_nfi ()
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
SgTupleExpSageBuilder::buildTupleExp_nfi (const std::vector< SgExpression * > &exprs)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
ROSE_DLL_API SgListExpSageBuilder::buildListExp (SgExpression *expr1=NULL, SgExpression *expr2=NULL, SgExpression *expr3=NULL, SgExpression *expr4=NULL, SgExpression *expr5=NULL, SgExpression *expr6=NULL, SgExpression *expr7=NULL, SgExpression *expr8=NULL, SgExpression *expr9=NULL, SgExpression *expr10=NULL)
 Build a SgListExp. More...
 
ROSE_DLL_API SgListExpSageBuilder::buildListExp (const std::vector< SgExpression * > &exprs)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
SgListExpSageBuilder::buildListExp_nfi ()
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
SgListExpSageBuilder::buildListExp_nfi (const std::vector< SgExpression * > &exprs)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
ROSE_DLL_API SgComprehensionSageBuilder::buildComprehension (SgExpression *target, SgExpression *iter, SgExprListExp *ifs)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
SgComprehensionSageBuilder::buildComprehension_nfi (SgExpression *target, SgExpression *iter, SgExprListExp *ifs)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
ROSE_DLL_API SgListComprehensionSageBuilder::buildListComprehension (SgExpression *elt, SgExprListExp *generators)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
SgListComprehensionSageBuilder::buildListComprehension_nfi (SgExpression *elt, SgExprListExp *generators)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
ROSE_DLL_API SgSetComprehensionSageBuilder::buildSetComprehension (SgExpression *elt, SgExprListExp *generators)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
SgSetComprehensionSageBuilder::buildSetComprehension_nfi (SgExpression *elt, SgExprListExp *generators)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
ROSE_DLL_API
SgDictionaryComprehension
SageBuilder::buildDictionaryComprehension (SgKeyDatumPair *kd_pair, SgExprListExp *generators)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
SgDictionaryComprehensionSageBuilder::buildDictionaryComprehension_nfi (SgKeyDatumPair *kd_pair, SgExprListExp *generators)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
ROSE_DLL_API SgVarRefExpSageBuilder::buildVarRefExp (const SgName &name, SgScopeStatement *scope=NULL)
 Build SgVarRefExp based on a variable's Sage name. It will lookup symbol table internally starting from scope. A variable name is unique so type can be inferred (double check this). More...
 
ROSE_DLL_API SgVarRefExpSageBuilder::buildVarRefExp (const std::string &varName, SgScopeStatement *scope=NULL)
 Build SgVarRefExp based on a variable's name. It will lookup symbol table internally starting from scope. A variable is unique so type can be inferred. More...
 
ROSE_DLL_API SgVarRefExpSageBuilder::buildVarRefExp (const char *varName, SgScopeStatement *scope=NULL)
 Build a variable reference using a C style char array. More...
 
ROSE_DLL_API SgVarRefExpSageBuilder::buildVarRefExp (SgVariableSymbol *varSymbol)
 Build a variable reference from an existing symbol. More...
 
ROSE_DLL_API SgVarRefExpSageBuilder::buildVarRefExp_nfi (SgVariableSymbol *varSymbol)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
ROSE_DLL_API SgVarRefExpSageBuilder::buildVarRefExp (SgVariableDeclaration *vardecl)
 Build a variable reference from an existing variable declaration. The assumption is a SgVariableDeclartion only declares one variable in the ROSE AST. More...
 
ROSE_DLL_API SgVarRefExpSageBuilder::buildVarRefExp (SgInitializedName *initname, SgScopeStatement *scope=NULL)
 build a variable reference from an initialized name It first tries to grab the associated symbol, then call buildVarRefExp(const SgName& name, SgScopeStatement*) if symbol does not exist. More...
 
ROSE_DLL_API SgVarRefExpSageBuilder::buildOpaqueVarRefExp (const std::string &varName, SgScopeStatement *scope=NULL)
 Build a variable reference expression at scope to an opaque variable which has unknown information except for its name. Used when referring to an internal variable defined in some headers of runtime libraries.(The headers are not yet inserted into the file during translation). Similar to buildOpaqueType();. More...
 
SgCompoundLiteralExpSageBuilder::buildCompoundLiteralExp_nfi (SgVariableSymbol *varSymbol)
 Build function for compound literals (uses a SgVariableSymbol and is similar to buildVarRefExp_nfi()). More...
 
SgCompoundLiteralExpSageBuilder::buildCompoundLiteralExp (SgVariableSymbol *varSymbol)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
ROSE_DLL_API SgLabelRefExpSageBuilder::buildLabelRefExp (SgLabelSymbol *s)
 Build a Fortran numeric label ref exp. More...
 
ROSE_DLL_API SgFunctionRefExpSageBuilder::buildFunctionRefExp (const SgName &name, const SgType *func_type, SgScopeStatement *scope=NULL)
 Build SgFunctionRefExp based on a C++ function's name and function type. It will lookup symbol table internally starting from scope. A hidden prototype will be created internally to introduce a new function symbol if the function symbol cannot be found. More...
 
ROSE_DLL_API SgFunctionRefExpSageBuilder::buildFunctionRefExp (const char *name, const SgType *func_type, SgScopeStatement *scope=NULL)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
ROSE_DLL_API SgFunctionRefExpSageBuilder::buildFunctionRefExp (const SgName &name, SgScopeStatement *scope=NULL)
 Build SgFunctionRefExp based on a C function's name. It will lookup symbol table internally starting from scope and return the first matching function. More...
 
ROSE_DLL_API SgFunctionRefExpSageBuilder::buildFunctionRefExp (const char *name, SgScopeStatement *scope=NULL)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
ROSE_DLL_API SgFunctionRefExpSageBuilder::buildFunctionRefExp (const SgFunctionDeclaration *func_decl)
 Build SgFunctionRefExp based on a function's declaration. More...
 
ROSE_DLL_API SgFunctionRefExpSageBuilder::buildFunctionRefExp (SgFunctionSymbol *sym)
 Build SgFunctionRefExp based on a function's symbol. More...
 
SgFunctionRefExpSageBuilder::buildFunctionRefExp_nfi (SgFunctionSymbol *sym)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
SgTemplateFunctionRefExpSageBuilder::buildTemplateFunctionRefExp_nfi (SgTemplateFunctionSymbol *sym)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
SgTemplateMemberFunctionRefExpSageBuilder::buildTemplateMemberFunctionRefExp_nfi (SgTemplateMemberFunctionSymbol *sym, bool virtual_call, bool need_qualifier)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
SgMemberFunctionRefExpSageBuilder::buildMemberFunctionRefExp_nfi (SgMemberFunctionSymbol *sym, bool virtual_call, bool need_qualifier)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
ROSE_DLL_API
SgMemberFunctionRefExp
SageBuilder::buildMemberFunctionRefExp (SgMemberFunctionSymbol *sym, bool virtual_call, bool need_qualifier)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
SgClassNameRefExpSageBuilder::buildClassNameRefExp_nfi (SgClassSymbol *sym)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
ROSE_DLL_API SgClassNameRefExpSageBuilder::buildClassNameRefExp (SgClassSymbol *sym)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
ROSE_DLL_API SgFunctionCallExpSageBuilder::buildFunctionCallExp (SgFunctionSymbol *sym, SgExprListExp *parameters=NULL)
 Build a function call expression. More...
 
SgFunctionCallExpSageBuilder::buildFunctionCallExp_nfi (SgExpression *f, SgExprListExp *parameters=NULL)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
ROSE_DLL_API SgFunctionCallExpSageBuilder::buildFunctionCallExp (SgExpression *f, SgExprListExp *parameters=NULL)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
ROSE_DLL_API SgFunctionCallExpSageBuilder::buildFunctionCallExp (const SgName &name, SgType *return_type, SgExprListExp *parameters=NULL, SgScopeStatement *scope=NULL)
 Build a function call expression,it will automatically search for function symbols internally to build a right function reference etc. It tolerates the lack of the function symbol to support generating calls to library functions whose headers have not yet been inserted. More...
 
SgTypeTraitBuiltinOperatorSageBuilder::buildTypeTraitBuiltinOperator (SgName functionName, SgNodePtrList parameters)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
SgCudaKernelCallExpSageBuilder::buildCudaKernelCallExp_nfi (SgExpression *kernel, SgExprListExp *parameters=NULL, SgCudaKernelExecConfig *config=NULL)
 Build a CUDA kernel call expression (kernel<<<config>>>(parameters)) More...
 
SgCudaKernelExecConfigSageBuilder::buildCudaKernelExecConfig_nfi (SgExpression *grid=NULL, SgExpression *blocks=NULL, SgExpression *shared=NULL, SgExpression *stream=NULL)
 Build a CUDA kernel execution configuration (<<<grid, blocks, shared, stream>>>) More...
 
ROSE_DLL_API SgAssignInitializerSageBuilder::buildAssignInitializer (SgExpression *operand_i=NULL, SgType *expression_type=NULL)
 Build the rhs of a variable declaration which includes an assignment. More...
 
SgAssignInitializerSageBuilder::buildAssignInitializer_nfi (SgExpression *operand_i=NULL, SgType *expression_type=NULL)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
ROSE_DLL_API
SgAggregateInitializer
SageBuilder::buildAggregateInitializer (SgExprListExp *initializers=NULL, SgType *type=NULL)
 Build an aggregate initializer. More...
 
SgAggregateInitializerSageBuilder::buildAggregateInitializer_nfi (SgExprListExp *initializers, SgType *type=NULL)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
SgCompoundInitializerSageBuilder::buildCompoundInitializer (SgExprListExp *initializers=NULL, SgType *type=NULL)
 Build a compound initializer, for vector type initialization. More...
 
SgCompoundInitializerSageBuilder::buildCompoundInitializer_nfi (SgExprListExp *initializers, SgType *type=NULL)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
SgConstructorInitializerSageBuilder::buildConstructorInitializer (SgMemberFunctionDeclaration *declaration, SgExprListExp *args, SgType *expression_type, bool need_name, bool need_qualifier, bool need_parenthesis_after_name, bool associated_class_unknown)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
SgConstructorInitializerSageBuilder::buildConstructorInitializer_nfi (SgMemberFunctionDeclaration *declaration, SgExprListExp *args, SgType *expression_type, bool need_name, bool need_qualifier, bool need_parenthesis_after_name, bool associated_class_unknown)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
ROSE_DLL_API SgSizeOfOpSageBuilder::buildSizeOfOp (SgExpression *exp=NULL)
 Build sizeof() expression with an expression parameter. More...
 
SgSizeOfOpSageBuilder::buildSizeOfOp_nfi (SgExpression *exp)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
ROSE_DLL_API SgSizeOfOpSageBuilder::buildSizeOfOp (SgType *type=NULL)
 Build sizeof() expression with a type parameter. More...
 
SgSizeOfOpSageBuilder::buildSizeOfOp_nfi (SgType *type)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
SgAlignOfOpSageBuilder::buildAlignOfOp (SgExpression *exp=NULL)
 Build alignof() expression with an expression parameter. More...
 
SgAlignOfOpSageBuilder::buildAlignOfOp_nfi (SgExpression *exp)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
SgAlignOfOpSageBuilder::buildAlignOfOp (SgType *type=NULL)
 Build alignof() expression with a type parameter. More...
 
SgAlignOfOpSageBuilder::buildAlignOfOp_nfi (SgType *type)
 Template function to build a unary expression of type T with advanced information specified such as parenthesis and file info. Instantiated functions include:buildAddressOfOp(),buildBitComplementOp(),buildBitComplementOp(),buildMinusOp(),buildNotOp(),buildPointerDerefExp(),buildUnaryAddOp(),buildMinusMinusOp(),buildPlusPlusOp(). More...
 
SgJavaInstanceOfOpSageBuilder::buildJavaInstanceOfOp (SgExpression *exp=NULL, SgType *type=NULL)
 This is part of Java specific operator support. More...