ROSE  0.9.6a
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
High level AST builders

This namespace contains high level SAGE III AST node and subtree builders. More...

Collaboration diagram for High level AST builders:

Namespaces

 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)
 

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 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 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.

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...
 
#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...
 

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...
 

Detailed Description

This namespace contains high level SAGE III AST node and subtree builders.

Building AST trees using raw SgNode constructors is tedious and error-prone. It becomes even more difficult with the presence of symbol tables. This namespace contains major AST node builders on top of the constructors to take care of symbol tables, various edges to scope, parent and so on.

Authors
Chunhua Liao (last modified 2/12/2008)

Macro Definition Documentation

#define BUILD_UNARY_PROTO (   suffix)
Value:
ROSE_DLL_API Sg##suffix * build##suffix(SgExpression* op =NULL); \
Sg##suffix * build##suffix##_nfi(SgExpression* op);

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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

Definition at line 389 of file sageBuilder.h.

#define BUILD_BINARY_PROTO (   suffix)
Value:
ROSE_DLL_API Sg##suffix * build##suffix(SgExpression* lhs =NULL, SgExpression* rhs =NULL); \
ROSE_DLL_API Sg##suffix * build##suffix##_nfi(SgExpression* lhs, SgExpression* rhs);

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()

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

Definition at line 460 of file sageBuilder.h.

Enumeration Type Documentation

Enumerator
e_sourcePositionError 
e_sourcePositionDefault 

Error value for enum.

e_sourcePositionTransformation 

Default source position.

e_sourcePositionCompilerGenerated 

Classify as a transformation.

e_sourcePositionNullPointers 

Classify as compiler generated code (e.g. template instantiation).

e_sourcePositionFrontendConstruction 

Set pointers to Sg_File_Info objects to NULL.

e_sourcePosition_last 

Specify as source position to be filled in as part of AST construction in the front-end.

Last entry in enum.

Definition at line 91 of file sageBuilder.h.

Function Documentation

ROSE_DLL_API void SageBuilder::pushScopeStack ( SgScopeStatement stmt)

Public interfaces of the scope stack, should be stable.

ROSE_DLL_API void SageBuilder::pushScopeStack ( SgNode node)

intended to be a private member, don't access it directly. could be changed any time

ROSE_DLL_API void SageBuilder::popScopeStack ( )

intended to be a private member, don't access it directly. could be changed any time

ROSE_DLL_API SgScopeStatement* SageBuilder::topScopeStack ( )

intended to be a private member, don't access it directly. could be changed any time

ROSE_DLL_API bool SageBuilder::emptyScopeStack ( )

intended to be a private member, don't access it directly. could be changed any time

ROSE_DLL_API void SageBuilder::clearScopeStack ( )

intended to be a private member, don't access it directly. could be changed any time

SgScopeStatement* SageBuilder::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).

bool SageBuilder::inSwitchScope ( )

intended to be a private member, don't access it directly. could be changed any time

SourcePositionClassification SageBuilder::getSourcePositionClassificationMode ( )

Get the current source position classification (defines how IR nodes built by the SageBuilder interface will be classified).

std::string SageBuilder::display ( SourcePositionClassification &  scp)

display function for debugging

void SageBuilder::setSourcePositionClassificationMode ( SourcePositionClassification  X)

Set the current source position classification (defines how IR nodes built by the SageBuilder interface will be classified).

SgName SageBuilder::appendTemplateArgumentsToName ( const SgName name,
const SgTemplateArgumentPtrList templateArgumentsList 
)
ROSE_DLL_API SgTypeBool* SageBuilder::buildBoolType ( )

Built in simple types.

ROSE_DLL_API SgTypeChar* SageBuilder::buildCharType ( )

Built in simple types.

ROSE_DLL_API SgTypeDouble* SageBuilder::buildDoubleType ( )

Built in simple types.

ROSE_DLL_API SgTypeFloat* SageBuilder::buildFloatType ( )

Built in simple types.

ROSE_DLL_API SgTypeInt* SageBuilder::buildIntType ( )

Built in simple types.

ROSE_DLL_API SgTypeLong* SageBuilder::buildLongType ( )

Built in simple types.

ROSE_DLL_API SgTypeLongDouble* SageBuilder::buildLongDoubleType ( )

Built in simple types.

ROSE_DLL_API SgTypeLongLong* SageBuilder::buildLongLongType ( )

Built in simple types.

ROSE_DLL_API SgTypeShort* SageBuilder::buildShortType ( )

Built in simple types.

ROSE_DLL_API SgTypeString* SageBuilder::buildStringType ( )

Built in simple types.

ROSE_DLL_API SgTypeString* SageBuilder::buildStringType ( SgExpression stringLengthExpression)

Built in simple types.

ROSE_DLL_API SgTypeVoid* SageBuilder::buildVoidType ( )

Built in simple types.

ROSE_DLL_API SgTypeWchar* SageBuilder::buildWcharType ( )

Built in simple types.

ROSE_DLL_API SgTypeSignedChar* SageBuilder::buildSignedCharType ( )

Built in simple types.

ROSE_DLL_API SgTypeSignedInt* SageBuilder::buildSignedIntType ( )

Built in simple types.

ROSE_DLL_API SgTypeSignedLong* SageBuilder::buildSignedLongType ( )

Built in simple types.

ROSE_DLL_API SgTypeSignedLongLong* SageBuilder::buildSignedLongLongType ( )

Built in simple types.

ROSE_DLL_API SgTypeSignedShort* SageBuilder::buildSignedShortType ( )

Built in simple types.

ROSE_DLL_API SgTypeSigned128bitInteger* SageBuilder::buildSigned128bitIntegerType ( )

Built in simple types.

ROSE_DLL_API SgTypeUnsigned128bitInteger* SageBuilder::buildUnsigned128bitIntegerType ( )

Built in simple types.

ROSE_DLL_API SgTypeUnsignedChar* SageBuilder::buildUnsignedCharType ( )

Built in simple types.

ROSE_DLL_API SgTypeUnsignedInt* SageBuilder::buildUnsignedIntType ( )

Built in simple types.

ROSE_DLL_API SgTypeUnsignedLong* SageBuilder::buildUnsignedLongType ( )

Built in simple types.

ROSE_DLL_API SgTypeUnsignedLongLong* SageBuilder::buildUnsignedLongLongType ( )

Built in simple types.

ROSE_DLL_API SgTypeUnsignedShort* SageBuilder::buildUnsignedShortType ( )

Built in simple types.

ROSE_DLL_API SgTypeUnknown* SageBuilder::buildUnknownType ( )

Built in simple types.

ROSE_DLL_API SgPointerType* SageBuilder::buildPointerType ( SgType base_type = NULL)

Build a pointer type.

ROSE_DLL_API SgReferenceType* SageBuilder::buildReferenceType ( SgType base_type = NULL)

Build a reference type.

ROSE_DLL_API SgModifierType* SageBuilder::buildModifierType ( SgType base_type = NULL)

Build a modifier type.

ROSE_DLL_API SgModifierType* SageBuilder::buildConstType ( SgType base_type = NULL)

Build a const type.

ROSE_DLL_API SgModifierType* SageBuilder::buildVolatileType ( SgType base_type = NULL)

Build a volatile type.

ROSE_DLL_API SgModifierType* SageBuilder::buildRestrictType ( SgType base_type)

Build a restrict type.

ROSE_DLL_API SgArrayType* SageBuilder::buildArrayType ( SgType base_type = NULL,
SgExpression index = NULL 
)

Build ArrayType.

ROSE_DLL_API SgModifierType* SageBuilder::buildFortranKindType ( SgType base_type,
SgExpression kindExpression 
)

Build a type based on the Fortran kind mechanism.

ROSE_DLL_API SgFunctionType* SageBuilder::buildFunctionType ( SgType return_type,
SgFunctionParameterTypeList typeList = NULL 
)

Build function type from return type and parameter type list.

ROSE_DLL_API SgFunctionType* SageBuilder::buildFunctionType ( SgType return_type,
SgFunctionParameterList argList = NULL 
)

Build function type from return type and parameter list.

ROSE_DLL_API SgMemberFunctionType* SageBuilder::buildMemberFunctionType ( SgType return_type,
SgFunctionParameterTypeList typeList,
SgClassDefinition struct_name,
unsigned int  mfunc_specifier 
)

Built in simple types.

ROSE_DLL_API SgMemberFunctionType* SageBuilder::buildMemberFunctionType ( SgType return_type,
SgFunctionParameterList argList = NULL,
SgClassDefinition struct_name = NULL,
unsigned int  mfunc_specifier = 0 
)

Built in simple types.

ROSE_DLL_API SgMemberFunctionType* SageBuilder::buildMemberFunctionType ( SgType return_type,
SgFunctionParameterTypeList typeList,
SgClassType classType,
unsigned int  mfunc_specifier 
)

Built in simple types.

ROSE_DLL_API SgType* SageBuilder::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.

Some types are not known during translation but nevertheless are needed. For example, some internal types from a runtime library. To work around this problem: this function prepends a hidden typedef declaration into scope 'typedef int OpaqueTypeName;' The translation-generated code is expected to include the runtime library's headers to have the real type declarations.

ROSE_DLL_API SgModifierType* SageBuilder::buildUpcStrictType ( SgType base_type = NULL)

Build a UPC strict type.

ROSE_DLL_API SgModifierType* SageBuilder::buildUpcRelaxedType ( SgType base_type = NULL)

Build a UPC relaxed type.

ROSE_DLL_API SgModifierType* SageBuilder::buildUpcSharedType ( SgType base_type = NULL,
long  layout = -1 
)

Build a UPC shared type.

ROSE_DLL_API SgModifierType* SageBuilder::buildUpcBlockIndefiniteType ( SgType base_type = NULL)

Build a UPC shared[] type.

ROSE_DLL_API SgModifierType* SageBuilder::buildUpcBlockStarType ( SgType base_type = NULL)

Build a UPC shared[*] type.

ROSE_DLL_API SgModifierType* SageBuilder::buildUpcBlockNumberType ( SgType base_type,
long  block_factor 
)

Build a UPC shared[n] type.

ROSE_DLL_API SgTypeComplex* SageBuilder::buildComplexType ( SgType base_type = NULL)

Build a complex type.

ROSE_DLL_API SgTypeImaginary* SageBuilder::buildImaginaryType ( SgType base_type = NULL)

Build an imaginary type.

Build a const/volatile type qualifier.

SgVariantExpression* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

SgNullExpression* SageBuilder::buildNullExpression ( )

Build a null expression, set file info as the default one.

SgNullExpression* SageBuilder::buildNullExpression_nfi ( )

No file info version of buildNullExpression(). File info is to be set later on.

SgBoolValExp* SageBuilder::buildBoolValExp ( int  value = 0)

Build a bool value expression, the name convention of SgBoolValExp is little different from others for some unknown reason.

SgBoolValExp* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

SgBoolValExp* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

SgCharVal* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

SgCharVal* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

SgWcharVal* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

SgWcharVal* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

SgComplexVal* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

SgComplexVal* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

SgComplexVal* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

SgComplexVal* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

SgComplexVal* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

SgComplexVal* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

ROSE_DLL_API SgDoubleVal* SageBuilder::buildDoubleVal ( double  value = 0.0)

Build a double value expression.

SgDoubleVal* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

ROSE_DLL_API SgFloatVal* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

SgFloatVal* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

ROSE_DLL_API SgIntVal* SageBuilder::buildIntVal ( int  value = 0)

Build an integer value expression.

SgIntVal* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

SgIntVal* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

ROSE_DLL_API SgLongIntVal* SageBuilder::buildLongIntVal ( long  value = 0)

Build a long integer value expression.

SgLongIntVal* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

SgLongIntVal* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

ROSE_DLL_API SgLongLongIntVal* SageBuilder::buildLongLongIntVal ( long long  value = 0)

Build a long long integer value expression.

SgLongLongIntVal* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

SgLongLongIntVal* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

SgEnumVal* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

ROSE_DLL_API SgLongDoubleVal* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

SgLongDoubleVal* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

ROSE_DLL_API SgShortVal* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

SgShortVal* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

SgShortVal* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

ROSE_DLL_API SgStringVal* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

SgStringVal* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

ROSE_DLL_API SgUnsignedCharVal* SageBuilder::buildUnsignedCharVal ( unsigned char  v = 0)

Build an unsigned char.

SgUnsignedCharVal* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

SgUnsignedCharVal* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

ROSE_DLL_API SgUnsignedShortVal* SageBuilder::buildUnsignedShortVal ( unsigned short  v = 0)

Build an unsigned short integer.

SgUnsignedShortVal* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

SgUnsignedShortVal* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

ROSE_DLL_API SgUnsignedIntVal* SageBuilder::buildUnsignedIntVal ( unsigned int  v = 0)

Build an unsigned integer.

SgUnsignedIntVal* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

SgUnsignedIntVal* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

ROSE_DLL_API SgUnsignedLongVal* SageBuilder::buildUnsignedLongVal ( unsigned long  v = 0)

Build a unsigned long integer.

SgUnsignedLongVal* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

SgUnsignedLongVal* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

ROSE_DLL_API SgUnsignedLongLongIntVal* SageBuilder::buildUnsignedLongLongIntVal ( unsigned long long  v = 0)

Build an unsigned long long integer.

SgUnsignedLongLongIntVal* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

SgUnsignedLongLongIntVal* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

SgTemplateParameterVal* SageBuilder::buildTemplateParameterVal ( int  template_parameter_position = -1)

Build an template parameter value expression.

SgTemplateParameterVal* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

SgUpcThreads* SageBuilder::buildUpcThreads ( )

Build UPC THREADS (integer expression)

SgUpcThreads* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

SgUpcMythread* SageBuilder::buildUpcMythread ( )

Build UPC MYTHREAD (integer expression)

SgUpcMythread* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

SgThisExp* SageBuilder::buildThisExp ( SgClassSymbol sym)

Build this pointer.

SgThisExp* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

SgSuperExp* SageBuilder::buildSuperExp ( SgClassSymbol sym)

Build super pointer.

SgSuperExp* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

SgClassExp* SageBuilder::buildClassExp ( SgClassSymbol sym)

Build class pointer.

SgClassExp* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

SgLambdaRefExp* SageBuilder::buildLambdaRefExp ( SgType return_type,
SgFunctionParameterList params,
SgScopeStatement scope 
)

Build lambda expression.

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).

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

ROSE_DLL_API SgCastExp* SageBuilder::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.

SgCastExp* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

SgVarArgOp* SageBuilder::buildVarArgOp_nfi ( SgExpression operand_i,
SgType expression_type 
)

Build vararg op expression.

ROSE_DLL_API SgMinusOp* SageBuilder::buildMinusOp ( SgExpression operand_i,
SgUnaryOp::Sgop_mode  a_mode 
)

Build – expression, Sgop_mode is a value of either SgUnaryOp::prefix or SgUnaryOp::postfix.

SgMinusOp* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

ROSE_DLL_API SgMinusMinusOp* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

SgMinusMinusOp* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

ROSE_DLL_API SgPlusPlusOp* SageBuilder::buildPlusPlusOp ( SgExpression operand_i,
SgUnaryOp::Sgop_mode  a_mode 
)

Build ++x or x++ , specify prefix or postfix using either SgUnaryOp::prefix or SgUnaryOp::postfix.

SgPlusPlusOp* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

ROSE_DLL_API SgThrowOp* SageBuilder::buildThrowOp ( SgExpression ,
SgThrowOp::e_throw_kind   
)

Build a ThrowOp expression.

ROSE_DLL_API SgNewExp* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

ROSE_DLL_API SgDeleteExp* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

SgTypeIdOp* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

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()

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

ROSE_DLL_API SgConditionalExp* SageBuilder::buildConditionalExp ( SgExpression test = NULL,
SgExpression a = NULL,
SgExpression b = NULL 
)

Build a conditional expression ?:

SgConditionalExp* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

ROSE_DLL_API SgExprListExp* SageBuilder::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.

ROSE_DLL_API SgExprListExp* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

SgExprListExp* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

SgExprListExp* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

ROSE_DLL_API SgTupleExp* SageBuilder::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.

ROSE_DLL_API SgTupleExp* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

SgTupleExp* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

SgTupleExp* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

ROSE_DLL_API SgListExp* SageBuilder::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.

ROSE_DLL_API SgListExp* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

SgListExp* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

SgListExp* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

ROSE_DLL_API SgComprehension* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

SgComprehension* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

ROSE_DLL_API SgListComprehension* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

SgListComprehension* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

ROSE_DLL_API SgSetComprehension* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

SgSetComprehension* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

SgDictionaryComprehension* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

ROSE_DLL_API SgVarRefExp* SageBuilder::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).

It is possible to build a reference to a variable with known name before the variable is declaration, especially during bottomup construction of AST. In this case, SgTypeUnknown is used to indicate the variable reference needing postprocessing fix using fixVariableReferences() once the AST is complete and all variable declarations exist. But the side effect is some get_type() operation may not recognize the unknown type before the fix. So far, I extended SgPointerDerefExp::get_type() and SgPntrArrRefExp::get_type() for SgTypeUnknown. There may be others needing the same extension.

Referenced by sg::VarRefBuilder::operator()().

ROSE_DLL_API SgVarRefExp* SageBuilder::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.

ROSE_DLL_API SgVarRefExp* SageBuilder::buildVarRefExp ( const char *  varName,
SgScopeStatement scope = NULL 
)

Build a variable reference using a C style char array.

ROSE_DLL_API SgVarRefExp* SageBuilder::buildVarRefExp ( SgVariableSymbol varSymbol)

Build a variable reference from an existing symbol.

ROSE_DLL_API SgVarRefExp* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

ROSE_DLL_API SgVarRefExp* SageBuilder::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.

ROSE_DLL_API SgVarRefExp* SageBuilder::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.

ROSE_DLL_API SgVarRefExp* SageBuilder::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();.

It will declare a hidden int varName at the specified scope to cheat the AST consistence tests.

SgCompoundLiteralExp* SageBuilder::buildCompoundLiteralExp_nfi ( SgVariableSymbol varSymbol)

Build function for compound literals (uses a SgVariableSymbol and is similar to buildVarRefExp_nfi()).

SgCompoundLiteralExp* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

ROSE_DLL_API SgLabelRefExp* SageBuilder::buildLabelRefExp ( SgLabelSymbol s)

Build a Fortran numeric label ref exp.

ROSE_DLL_API SgFunctionRefExp* SageBuilder::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.

ROSE_DLL_API SgFunctionRefExp* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

ROSE_DLL_API SgFunctionRefExp* SageBuilder::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.

ROSE_DLL_API SgFunctionRefExp* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

ROSE_DLL_API SgFunctionRefExp* SageBuilder::buildFunctionRefExp ( const SgFunctionDeclaration func_decl)

Build SgFunctionRefExp based on a function's declaration.

ROSE_DLL_API SgFunctionRefExp* SageBuilder::buildFunctionRefExp ( SgFunctionSymbol sym)

Build SgFunctionRefExp based on a function's symbol.

SgFunctionRefExp* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

SgTemplateFunctionRefExp* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

SgTemplateMemberFunctionRefExp* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

SgMemberFunctionRefExp* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

SgClassNameRefExp* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

ROSE_DLL_API SgClassNameRefExp* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

ROSE_DLL_API SgFunctionCallExp* SageBuilder::buildFunctionCallExp ( SgFunctionSymbol sym,
SgExprListExp parameters = NULL 
)

Build a function call expression.

SgFunctionCallExp* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

ROSE_DLL_API SgFunctionCallExp* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

ROSE_DLL_API SgFunctionCallExp* SageBuilder::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.

SgTypeTraitBuiltinOperator* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

SgCudaKernelCallExp* SageBuilder::buildCudaKernelCallExp_nfi ( SgExpression kernel,
SgExprListExp parameters = NULL,
SgCudaKernelExecConfig config = NULL 
)

Build a CUDA kernel call expression (kernel<<<config>>>(parameters))

SgCudaKernelExecConfig* SageBuilder::buildCudaKernelExecConfig_nfi ( SgExpression grid = NULL,
SgExpression blocks = NULL,
SgExpression shared = NULL,
SgExpression stream = NULL 
)

Build a CUDA kernel execution configuration (<<<grid, blocks, shared, stream>>>)

ROSE_DLL_API SgAssignInitializer* SageBuilder::buildAssignInitializer ( SgExpression operand_i = NULL,
SgType expression_type = NULL 
)

Build the rhs of a variable declaration which includes an assignment.

SgAssignInitializer* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

ROSE_DLL_API SgAggregateInitializer* SageBuilder::buildAggregateInitializer ( SgExprListExp initializers = NULL,
SgType type = NULL 
)

Build an aggregate initializer.

SgAggregateInitializer* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

SgCompoundInitializer* SageBuilder::buildCompoundInitializer ( SgExprListExp initializers = NULL,
SgType type = NULL 
)

Build a compound initializer, for vector type initialization.

SgCompoundInitializer* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

SgConstructorInitializer* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

SgConstructorInitializer* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

ROSE_DLL_API SgSizeOfOp* SageBuilder::buildSizeOfOp ( SgExpression exp = NULL)

Build sizeof() expression with an expression parameter.

SgSizeOfOp* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

ROSE_DLL_API SgSizeOfOp* SageBuilder::buildSizeOfOp ( SgType type = NULL)

Build sizeof() expression with a type parameter.

SgSizeOfOp* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

SgAlignOfOp* SageBuilder::buildAlignOfOp ( SgExpression exp = NULL)

Build alignof() expression with an expression parameter.

SgAlignOfOp* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

SgAlignOfOp* SageBuilder::buildAlignOfOp ( SgType type = NULL)

Build alignof() expression with a type parameter.

SgAlignOfOp* SageBuilder::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().

The instantiated functions' prototypes are not shown since they are expanded using macros. Doxygen is not smart enough to handle macro expansion.

SgJavaInstanceOfOp* SageBuilder::buildJavaInstanceOfOp ( SgExpression exp = NULL,
SgType type = NULL 
)

This is part of Java specific operator support.

ROSE_DLL_API SgInitializedName* SageBuilder::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.

e.g the scope of arguments of functions are different for defining and nondefining functions.

Referenced by sg::InitNameCloner::operator()().

ROSE_DLL_API SgInitializedName* SageBuilder::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.

e.g the scope of arguments of functions are different for defining and nondefining functions.

ROSE_DLL_API SgInitializedName* SageBuilder::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.

e.g the scope of arguments of functions are different for defining and nondefining functions.

SgInitializedName* SageBuilder::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.

e.g the scope of arguments of functions are different for defining and nondefining functions.

ROSE_DLL_API SgFunctionParameterTypeList* SageBuilder::buildFunctionParameterTypeList ( SgFunctionParameterList paralist)
ROSE_DLL_API SgFunctionParameterTypeList* SageBuilder::buildFunctionParameterTypeList ( SgExprListExp expList)

Build SgFunctionParameterTypeList from an expression list, useful when building a function call.

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.

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.

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.

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.

SgVariableDeclaration* SageBuilder::buildVariableDeclaration_nfi ( const SgName name,
SgType type,
SgInitializer varInit,
SgScopeStatement scope 
)

Build a variable declaration, handle symbol table transparently.

SgTemplateVariableDeclaration* SageBuilder::buildTemplateVariableDeclaration_nfi ( const SgName name,
SgType type,
SgInitializer varInit,
SgScopeStatement scope 
)

Build a variable declaration, handle symbol table transparently.

ROSE_DLL_API SgTypedefDeclaration* SageBuilder::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;.

SgTypedefDeclaration* SageBuilder::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.

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.

SgFunctionParameterList* SageBuilder::buildFunctionParameterList_nfi ( )

Build a variable declaration, handle symbol table transparently.

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.

SgFunctionParameterList* SageBuilder::buildFunctionParameterList_nfi ( SgFunctionParameterTypeList paraTypeList)

Build a variable declaration, handle symbol table transparently.

void SageBuilder::setTemplateNameInTemplateInstantiations ( SgFunctionDeclaration func,
const SgName name 
)

Build a variable declaration, handle symbol table transparently.

void SageBuilder::setTemplateArgumentParents ( SgDeclarationStatement decl)

Build a variable declaration, handle symbol table transparently.

void SageBuilder::testTemplateArgumentParents ( SgDeclarationStatement decl)

Build a variable declaration, handle symbol table transparently.

SgTemplateArgumentPtrList* SageBuilder::getTemplateArgumentList ( SgDeclarationStatement decl)

Build a variable declaration, handle symbol table transparently.

void SageBuilder::testTemplateParameterParents ( SgDeclarationStatement decl)

Build a variable declaration, handle symbol table transparently.

void SageBuilder::setTemplateParameterParents ( SgDeclarationStatement decl)

Build a variable declaration, handle symbol table transparently.

SgTemplateParameterPtrList* SageBuilder::getTemplateParameterList ( SgDeclarationStatement decl)

Build a variable declaration, handle symbol table transparently.

void SageBuilder::setTemplateArgumentsInDeclaration ( SgDeclarationStatement decl,
SgTemplateArgumentPtrList templateArgumentsList_input 
)

Build a variable declaration, handle symbol table transparently.

void SageBuilder::setTemplateSpecializationArgumentsInDeclaration ( SgDeclarationStatement decl,
SgTemplateArgumentPtrList templateSpecializationArgumentsList_input 
)

Build a variable declaration, handle symbol table transparently.

void SageBuilder::setTemplateParametersInDeclaration ( SgDeclarationStatement decl,
SgTemplateParameterPtrList templateParametersList_input 
)

Build a variable declaration, handle symbol table transparently.

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.

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.

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.

SgTemplateFunctionDeclaration* SageBuilder::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.

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.

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)

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.

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.

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.

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.

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.

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)

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.

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.

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.

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.

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.

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.

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.

ROSE_DLL_API SgExprStatement* SageBuilder::buildFunctionCallStmt ( const SgName name,
SgType return_type,
SgExprListExp parameters = NULL,
SgScopeStatement scope = NULL 
)

Build a regular function call statement.

ROSE_DLL_API SgExprStatement* SageBuilder::buildFunctionCallStmt ( SgExpression function,
SgExprListExp parameters = NULL 
)

Build a function call statement using function expression and argument list only, like (*funcPtr)(args);.

ROSE_DLL_API SgLabelStatement* SageBuilder::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.

Note that the scope of a label statement is special. It is SgFunctionDefinition, not the closest scope statement such as SgBasicBlock.

SgLabelStatement* SageBuilder::buildLabelStatement_nfi ( const SgName name,
SgStatement stmt,
SgScopeStatement scope 
)

Build a variable declaration, handle symbol table transparently.

ROSE_DLL_API SgGotoStatement* SageBuilder::buildGotoStatement ( SgLabelStatement label = NULL)

Build a goto statement.

SgGotoStatement* SageBuilder::buildGotoStatement_nfi ( SgLabelStatement label)

Build a variable declaration, handle symbol table transparently.

ROSE_DLL_API SgGotoStatement* SageBuilder::buildGotoStatement ( SgLabelSymbol symbol)

Build a goto statement from a label symbol, supporting both C/C++ and Fortran cases.

ROSE_DLL_API SgCaseOptionStmt* SageBuilder::buildCaseOptionStmt ( SgExpression key = NULL,
SgStatement body = NULL 
)

Build a case option statement.

SgCaseOptionStmt* SageBuilder::buildCaseOptionStmt_nfi ( SgExpression key,
SgStatement body 
)

Build a variable declaration, handle symbol table transparently.

ROSE_DLL_API SgDefaultOptionStmt* SageBuilder::buildDefaultOptionStmt ( SgStatement body = NULL)

Build a default option statement.

SgDefaultOptionStmt* SageBuilder::buildDefaultOptionStmt_nfi ( SgStatement body)

Build a variable declaration, handle symbol table transparently.

ROSE_DLL_API SgExprStatement* SageBuilder::buildExprStatement ( SgExpression exp = NULL)
SgExprStatement* SageBuilder::buildExprStatement_nfi ( SgExpression exp)

Build a variable declaration, handle symbol table transparently.

ROSE_DLL_API SgSwitchStatement* SageBuilder::buildSwitchStatement ( SgStatement item_selector = NULL,
SgStatement body = NULL 
)

Build a switch statement.

Referenced by SageBuilder::buildSwitchStatement().

SgSwitchStatement* SageBuilder::buildSwitchStatement ( SgExpression item_selector,
SgStatement body = NULL 
)
inline

Build a variable declaration, handle symbol table transparently.

Definition at line 959 of file sageBuilder.h.

References SageBuilder::buildExprStatement(), and SageBuilder::buildSwitchStatement().

SgSwitchStatement* SageBuilder::buildSwitchStatement_nfi ( SgStatement item_selector,
SgStatement body 
)

Build a variable declaration, handle symbol table transparently.

ROSE_DLL_API SgIfStmt* SageBuilder::buildIfStmt ( SgStatement conditional,
SgStatement true_body,
SgStatement false_body 
)

Build if statement.

Referenced by SageBuilder::buildIfStmt().

SgIfStmt* SageBuilder::buildIfStmt ( SgExpression conditional,
SgStatement true_body,
SgStatement false_body 
)
inline

Build a variable declaration, handle symbol table transparently.

Definition at line 966 of file sageBuilder.h.

References SageBuilder::buildExprStatement(), and SageBuilder::buildIfStmt().

SgIfStmt* SageBuilder::buildIfStmt_nfi ( SgStatement conditional,
SgStatement true_body,
SgStatement false_body 
)

Build a variable declaration, handle symbol table transparently.

ROSE_DLL_API SgForInitStatement* SageBuilder::buildForInitStatement ( )

Build a for init statement.

ROSE_DLL_API SgForInitStatement* SageBuilder::buildForInitStatement ( const SgStatementPtrList statements)

Build a variable declaration, handle symbol table transparently.

SgForInitStatement* SageBuilder::buildForInitStatement_nfi ( SgStatementPtrList statements)

Build a variable declaration, handle symbol table transparently.

ROSE_DLL_API SgForInitStatement* SageBuilder::buildForInitStatement ( SgStatement statement)

Build a variable declaration, handle symbol table transparently.

ROSE_DLL_API SgForStatement* SageBuilder::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.

SgForStatement* SageBuilder::buildForStatement_nfi ( SgStatement initialize_stmt,
SgStatement test,
SgExpression increment,
SgStatement loop_body,
SgStatement else_body = NULL 
)

Build a variable declaration, handle symbol table transparently.

SgForStatement* SageBuilder::buildForStatement_nfi ( SgForInitStatement init_stmt,
SgStatement test,
SgExpression increment,
SgStatement loop_body,
SgStatement else_body = NULL 
)

Build a variable declaration, handle symbol table transparently.

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.

void SageBuilder::buildDoWhileStatement_nfi ( SgDoWhileStmt result,
SgStatement body,
SgStatement condition 
)

Build a variable declaration, handle symbol table transparently.

SgUpcForAllStatement* SageBuilder::buildUpcForAllStatement_nfi ( SgStatement initialize_stmt,
SgStatement test,
SgExpression increment,
SgExpression affinity,
SgStatement loop_body 
)

Build a UPC forall statement.

SgUpcForAllStatement* SageBuilder::buildUpcForAllStatement_nfi ( SgForInitStatement init_stmt,
SgStatement test,
SgExpression increment,
SgExpression affinity,
SgStatement loop_body 
)

Build a variable declaration, handle symbol table transparently.

SgUpcNotifyStatement* SageBuilder::buildUpcNotifyStatement_nfi ( SgExpression exp)

Build a UPC notify statement.

SgUpcWaitStatement* SageBuilder::buildUpcWaitStatement_nfi ( SgExpression exp)

Build a UPC wait statement.

SgUpcBarrierStatement* SageBuilder::buildUpcBarrierStatement_nfi ( SgExpression exp)

Build a UPC barrier statement.

SgUpcFenceStatement* SageBuilder::buildUpcFenceStatement_nfi ( )

Build a UPC fence statement.

ROSE_DLL_API SgWhileStmt* SageBuilder::buildWhileStmt ( SgStatement condition,
SgStatement body,
SgStatement else_body = NULL 
)

Build while statement.

Referenced by SageBuilder::buildWhileStmt().

SgWhileStmt* SageBuilder::buildWhileStmt ( SgExpression condition,
SgStatement body,
SgStatement else_body = NULL 
)
inline

Build a variable declaration, handle symbol table transparently.

Definition at line 1010 of file sageBuilder.h.

References SageBuilder::buildExprStatement(), and SageBuilder::buildWhileStmt().

SgWhileStmt* SageBuilder::buildWhileStmt_nfi ( SgStatement condition,
SgStatement body,
SgStatement else_body = NULL 
)

Build a variable declaration, handle symbol table transparently.

ROSE_DLL_API SgWithStatement* SageBuilder::buildWithStatement ( SgExpression expr,
SgStatement body 
)

Build a with statement.

SgWithStatement* SageBuilder::buildWithStatement_nfi ( SgExpression expr,
SgStatement body 
)

Build a variable declaration, handle symbol table transparently.

ROSE_DLL_API SgDoWhileStmt* SageBuilder::buildDoWhileStmt ( SgStatement body,
SgStatement condition 
)

Build do-while statement.

Referenced by SageBuilder::buildDoWhileStmt().

SgDoWhileStmt* SageBuilder::buildDoWhileStmt ( SgStatement body,
SgExpression condition 
)
inline

Build a variable declaration, handle symbol table transparently.

Definition at line 1021 of file sageBuilder.h.

References SageBuilder::buildDoWhileStmt(), and SageBuilder::buildExprStatement().

SgDoWhileStmt* SageBuilder::buildDoWhileStmt_nfi ( SgStatement body,
SgStatement condition 
)

Build a variable declaration, handle symbol table transparently.

ROSE_DLL_API SgPragmaDeclaration* SageBuilder::buildPragmaDeclaration ( const std::string &  name,
SgScopeStatement scope = NULL 
)

Build pragma declaration, handle SgPragma and defining/nondefining pointers internally.

SgPragmaDeclaration* SageBuilder::buildPragmaDeclaration_nfi ( const std::string &  name,
SgScopeStatement scope 
)

Build a variable declaration, handle symbol table transparently.

ROSE_DLL_API SgPragma* SageBuilder::buildPragma ( const std::string &  name)

Build SgPragma.

ROSE_DLL_API SgBasicBlock* SageBuilder::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.

ROSE_DLL_API SgBasicBlock* SageBuilder::buildBasicBlock_nfi ( )

Build a variable declaration, handle symbol table transparently.

SgBasicBlock* SageBuilder::buildBasicBlock_nfi ( const std::vector< SgStatement * > &  )

Build a variable declaration, handle symbol table transparently.

ROSE_DLL_API SgExprStatement* SageBuilder::buildAssignStatement ( SgExpression lhs,
SgExpression rhs 
)

Build an assignment statement from lefthand operand and right hand operand.

ROSE_DLL_API SgExprStatement* SageBuilder::buildAssignStatement_ast_translate ( SgExpression lhs,
SgExpression rhs 
)

This version does not recursively reset the file info as a transformation.

ROSE_DLL_API SgBreakStmt* SageBuilder::buildBreakStmt ( )

Build a break statement.

SgBreakStmt* SageBuilder::buildBreakStmt_nfi ( )

Build a variable declaration, handle symbol table transparently.

ROSE_DLL_API SgContinueStmt* SageBuilder::buildContinueStmt ( )

Build a continue statement.

SgContinueStmt* SageBuilder::buildContinueStmt_nfi ( )

Build a variable declaration, handle symbol table transparently.

ROSE_DLL_API SgPassStatement* SageBuilder::buildPassStatement ( )

Build a pass statement.

SgPassStatement* SageBuilder::buildPassStatement_nfi ( )

Build a variable declaration, handle symbol table transparently.

ROSE_DLL_API SgAssertStmt* SageBuilder::buildAssertStmt ( SgExpression test)

Build a Assert statement.

ROSE_DLL_API SgAssertStmt* SageBuilder::buildAssertStmt ( SgExpression test,
SgExpression exceptionArgument 
)

Build a variable declaration, handle symbol table transparently.

SgAssertStmt* SageBuilder::buildAssertStmt_nfi ( SgExpression test)

Build a variable declaration, handle symbol table transparently.

ROSE_DLL_API SgYieldExpression* SageBuilder::buildYieldExpression ( SgExpression value)

Build a yield statement.

SgYieldExpression* SageBuilder::buildYieldExpression_nfi ( SgExpression value)

Build a variable declaration, handle symbol table transparently.

ROSE_DLL_API SgKeyDatumPair* SageBuilder::buildKeyDatumPair ( SgExpression key,
SgExpression datum 
)

Build a key-datum pair.

SgKeyDatumPair* SageBuilder::buildKeyDatumPair_nfi ( SgExpression key,
SgExpression datum 
)

Build a variable declaration, handle symbol table transparently.

ROSE_DLL_API SgDictionaryExp* SageBuilder::buildDictionaryExp ( std::vector< SgKeyDatumPair * >  pairs)

Build a list of key-datum pairs.

SgDictionaryExp* SageBuilder::buildDictionaryExp_nfi ( std::vector< SgKeyDatumPair * >  pairs)

Build a variable declaration, handle symbol table transparently.

ROSE_DLL_API SgActualArgumentExpression* SageBuilder::buildActualArgumentExpression ( SgName  arg_name,
SgExpression arg 
)

Build an Actual Argument Expression.

SgActualArgumentExpression* SageBuilder::buildActualArgumentExpression_nfi ( SgName  arg_name,
SgExpression arg 
)

Build a variable declaration, handle symbol table transparently.

ROSE_DLL_API SgDeleteExp* SageBuilder::buildDeleteExp ( SgExpression target,
bool  is_array = false,
bool  need_global_specifier = false,
SgFunctionDeclaration deleteOperatorDeclaration = NULL 
)

Build a delete statement.

SgDeleteExp* SageBuilder::buildDeleteExp_nfi ( SgExpression target,
bool  is_array = false,
bool  need_global_specifier = false,
SgFunctionDeclaration deleteOperatorDeclaration = NULL 
)

Build a variable declaration, handle symbol table transparently.

ROSE_DLL_API SgClassDefinition* SageBuilder::buildClassDefinition ( SgClassDeclaration d = NULL,
bool  buildTemplateInstantiation = false 
)

Build a class definition scope statement.

SgClassDefinition* SageBuilder::buildClassDefinition_nfi ( SgClassDeclaration d = NULL,
bool  buildTemplateInstantiation = false 
)

Build a class definition scope statement.

SgTemplateClassDefinition* SageBuilder::buildTemplateClassDefinition ( SgTemplateClassDeclaration d = NULL)

Build a template class definition statement.

ROSE_DLL_API SgClassDeclaration* SageBuilder::buildNondefiningClassDeclaration_nfi ( const SgName name,
SgClassDeclaration::class_types  kind,
SgScopeStatement scope,
bool  buildTemplateInstantiation,
SgTemplateArgumentPtrList templateArgumentsList 
)

Build a structure first nondefining declaration, without file info.

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.

ROSE_DLL_API SgClassDeclaration* SageBuilder::buildNondefiningClassDeclaration ( SgName  name,
SgScopeStatement scope 
)

Build a variable declaration, handle symbol table transparently.

ROSE_DLL_API SgClassDeclaration* SageBuilder::buildDefiningClassDeclaration ( SgName  name,
SgScopeStatement scope 
)

Build a variable declaration, handle symbol table transparently.

ROSE_DLL_API SgClassDeclaration* SageBuilder::buildClassDeclaration ( SgName  name,
SgScopeStatement scope 
)

Build a variable declaration, handle symbol table transparently.

SgEnumDeclaration* SageBuilder::buildNondefiningEnumDeclaration_nfi ( const SgName name,
SgScopeStatement scope 
)

Build an enum first nondefining declaration, without file info.

ROSE_DLL_API SgClassDeclaration* SageBuilder::buildStructDeclaration ( const SgName name,
SgScopeStatement scope = NULL 
)

Build a structure, It is also a declaration statement in SAGE III.

ROSE_DLL_API SgClassDeclaration* SageBuilder::buildStructDeclaration ( const std::string &  name,
SgScopeStatement scope = NULL 
)

Build a variable declaration, handle symbol table transparently.

ROSE_DLL_API SgClassDeclaration* SageBuilder::buildStructDeclaration ( const char *  name,
SgScopeStatement scope = NULL 
)

Build a variable declaration, handle symbol table transparently.

ROSE_DLL_API SgStmtDeclarationStatement* SageBuilder::buildStmtDeclarationStatement ( SgStatement stmt)

Build a StmtDeclarationStmt.

SgStmtDeclarationStatement* SageBuilder::buildStmtDeclarationStatement_nfi ( SgStatement stmt)

Build a variable declaration, handle symbol table transparently.

ROSE_DLL_API SgNamespaceDeclarationStatement* SageBuilder::buildNamespaceDeclaration ( const SgName name,
SgScopeStatement scope = NULL 
)

Build a variable declaration, handle symbol table transparently.

SgNamespaceDeclarationStatement* SageBuilder::buildNamespaceDeclaration_nfi ( const SgName name,
bool  unnamednamespace,
SgScopeStatement scope 
)

Build a variable declaration, handle symbol table transparently.

ROSE_DLL_API SgNamespaceDefinitionStatement* SageBuilder::buildNamespaceDefinition ( SgNamespaceDeclarationStatement d = NULL)

Build a variable declaration, handle symbol table transparently.

ROSE_DLL_API SgNaryComparisonOp* SageBuilder::buildNaryComparisonOp ( SgExpression lhs)

Build a variable declaration, handle symbol table transparently.

SgNaryComparisonOp* SageBuilder::buildNaryComparisonOp_nfi ( SgExpression lhs)

Build a variable declaration, handle symbol table transparently.

ROSE_DLL_API SgNaryBooleanOp* SageBuilder::buildNaryBooleanOp ( SgExpression lhs)

Build a variable declaration, handle symbol table transparently.

SgNaryBooleanOp* SageBuilder::buildNaryBooleanOp_nfi ( SgExpression lhs)

Build a variable declaration, handle symbol table transparently.

ROSE_DLL_API SgStringConversion* SageBuilder::buildStringConversion ( SgExpression exp)

Build a variable declaration, handle symbol table transparently.

SgStringConversion* SageBuilder::buildStringConversion_nfi ( SgExpression exp)

Build a variable declaration, handle symbol table transparently.

SgClassDeclaration* SageBuilder::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.

SgTemplateClassDeclaration* SageBuilder::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.

ROSE_DLL_API SgEnumDeclaration* SageBuilder::buildEnumDeclaration ( const SgName name,
SgScopeStatement scope = NULL 
)

Build an enum, It is also a declaration statement in SAGE III.

SgEnumDeclaration* SageBuilder::buildEnumDeclaration_nfi ( const SgName name,
SgScopeStatement scope = NULL 
)

Build an enum, It is also a declaration statement in SAGE III.

ROSE_DLL_API SgReturnStmt* SageBuilder::buildReturnStmt ( SgExpression expression = NULL)

Build a return statement.

SgReturnStmt* SageBuilder::buildReturnStmt_nfi ( SgExpression expression)

Build a variable declaration, handle symbol table transparently.

ROSE_DLL_API SgNullStatement* SageBuilder::buildNullStatement ( )

Build a NULL statement.

SgNullStatement* SageBuilder::buildNullStatement_nfi ( )

Build a variable declaration, handle symbol table transparently.

Build Fortran attribute specification statement.

ROSE_DLL_API SgFortranIncludeLine* SageBuilder::buildFortranIncludeLine ( std::string  filename)

Build Fortran include line.

ROSE_DLL_API SgCommonBlockObject* SageBuilder::buildCommonBlockObject ( std::string  name = "",
SgExprListExp exp_list = NULL 
)

Build a Fortran common block, possibly with a name.

ROSE_DLL_API SgCommonBlock* SageBuilder::buildCommonBlock ( SgCommonBlockObject first_block = NULL)

Build a Fortran Common statement.

ROSE_DLL_API SgCatchOptionStmt* SageBuilder::buildCatchOptionStmt ( SgVariableDeclaration condition = NULL,
SgStatement body = NULL 
)

Build a variable declaration, handle symbol table transparently.

ROSE_DLL_API SgTryStmt* SageBuilder::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.

ROSE_DLL_API SgTryStmt* SageBuilder::buildTryStmt ( SgBasicBlock try_body,
SgBasicBlock finally_body = NULL 
)

Build a variable declaration, handle symbol table transparently.

ROSE_DLL_API SgCatchStatementSeq* SageBuilder::buildCatchStatementSeq ( SgCatchOptionStmt = NULL)

Build a variable declaration, handle symbol table transparently.

ROSE_DLL_API SgJavaSynchronizedStatement* SageBuilder::buildJavaSynchronizedStatement ( SgExpression ,
SgBasicBlock  
)

Build a variable declaration, handle symbol table transparently.

ROSE_DLL_API SgJavaThrowStatement* SageBuilder::buildJavaThrowStatement ( SgThrowOp )

Build a variable declaration, handle symbol table transparently.

ROSE_DLL_API SgJavaForEachStatement* SageBuilder::buildJavaForEachStatement ( SgVariableDeclaration = NULL,
SgExpression = NULL,
SgStatement = NULL 
)

Build a variable declaration, handle symbol table transparently.

ROSE_DLL_API SgJavaLabelStatement* SageBuilder::buildJavaLabelStatement ( const SgName ,
SgStatement = NULL 
)

Build a variable declaration, handle symbol table transparently.

ROSE_DLL_API SgExecStatement* SageBuilder::buildExecStatement ( SgExpression executable,
SgExpression globals = NULL,
SgExpression locals = NULL 
)

Build a variable declaration, handle symbol table transparently.

SgExecStatement* SageBuilder::buildExecStatement_nfi ( SgExpression executable,
SgExpression globals = NULL,
SgExpression locals = NULL 
)

Build a variable declaration, handle symbol table transparently.

ROSE_DLL_API SgPythonPrintStmt* SageBuilder::buildPythonPrintStmt ( SgExpression dest = NULL,
SgExprListExp values = NULL 
)

Build a variable declaration, handle symbol table transparently.

SgPythonPrintStmt* SageBuilder::buildPythonPrintStmt_nfi ( SgExpression dest = NULL,
SgExprListExp values = NULL 
)

Build a variable declaration, handle symbol table transparently.

ROSE_DLL_API SgPythonGlobalStmt* SageBuilder::buildPythonGlobalStmt ( SgInitializedNamePtrList names)

Build a variable declaration, handle symbol table transparently.

SgPythonGlobalStmt* SageBuilder::buildPythonGlobalStmt_nfi ( SgInitializedNamePtrList names)

Build a variable declaration, handle symbol table transparently.

ROSE_DLL_API SgAsmStmt* SageBuilder::buildAsmStatement ( std::string  s)

Build a NULL statement.

SgAsmStmt* SageBuilder::buildAsmStatement_nfi ( std::string  s)

Build a variable declaration, handle symbol table transparently.

ROSE_DLL_API SgAsmStmt* SageBuilder::buildMultibyteNopStatement ( int  n)

Build a variable declaration, handle symbol table transparently.

SgBaseClass* SageBuilder::buildBaseClass ( SgClassDeclaration classDeclaration,
SgClassDefinition classDefinition,
bool  isVirtual,
bool  isDirect 
)

Build a variable declaration, handle symbol table transparently.

ROSE_DLL_API SgFile* SageBuilder::buildFile ( const std::string &  inputFileName,
const std::string &  outputFileName,
SgProject project = NULL 
)

Build a SgFile node and attach it to SgProject.

The input file will be loaded if exists, or an empty one will be generated from scratch transparently. Output file name is used to specify the output file name of unparsing. The final SgFile will be inserted to project automatically. If not provided, a new SgProject will be generated internally. Using SgFile->get_project() to retrieve it in this case.

SgSourceFile* SageBuilder::buildSourceFile ( const std::string &  outputFileName,
SgProject project = NULL 
)

Build a SgFile node and attach it to SgProject.

The file will be build with an empty global scope to support declarations being added.

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().

ROSE_DLL_API PreprocessingInfo* SageBuilder::buildCpreprocessorDefineDeclaration ( SgLocatedNode target,
const std::string &  content,
PreprocessingInfo::RelativePositionType  position = PreprocessingInfo::before 
)

Build and attach #define XX directives, pass "#define xxx xxx" as content.

ROSE_DLL_API AbstractHandle::abstract_handle* SageBuilder::buildAbstractHandle ( SgNode n)

Build an abstract handle from a SgNode.

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.).

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.

The input file will be loaded if exists, or an empty one will be generated from scratch transparently. Output file name is used to specify the output file name of unparsing. The final SgFile will be inserted to project automatically. If not provided, a new SgProject will be generated internally. Using SgFile->get_project() to retrieve it in this case.

ROSE_DLL_API SgType* SageBuilder::getTargetFileTypeSupport ( SgType snippet_type,
SgScopeStatement targetScope 
)

Build a SgFile node and attach it to SgProject.

The input file will be loaded if exists, or an empty one will be generated from scratch transparently. Output file name is used to specify the output file name of unparsing. The final SgFile will be inserted to project automatically. If not provided, a new SgProject will be generated internally. Using SgFile->get_project() to retrieve it in this case.

ROSE_DLL_API SgType* SageBuilder::getTargetFileType ( SgType snippet_type,
SgScopeStatement targetScope 
)

Build a SgFile node and attach it to SgProject.

The input file will be loaded if exists, or an empty one will be generated from scratch transparently. Output file name is used to specify the output file name of unparsing. The final SgFile will be inserted to project automatically. If not provided, a new SgProject will be generated internally. Using SgFile->get_project() to retrieve it in this case.

ROSE_DLL_API SgSymbol* SageBuilder::findAssociatedSymbolInTargetAST ( SgDeclarationStatement snippet_declaration,
SgScopeStatement targetScope 
)

Build a SgFile node and attach it to SgProject.

The input file will be loaded if exists, or an empty one will be generated from scratch transparently. Output file name is used to specify the output file name of unparsing. The final SgFile will be inserted to project automatically. If not provided, a new SgProject will be generated internally. Using SgFile->get_project() to retrieve it in this case.

ROSE_DLL_API void SageBuilder::errorCheckingTargetAST ( SgNode node_copy,
SgNode node_original,
SgFile targetFile,
bool  failOnWarning 
)

Error checking the inserted snippet AST.

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.

ROSE_DLL_API SgVarRefExp* SageBuilder::buildJavaArrayLengthVarRefExp ( )

Build a SgFile node and attach it to SgProject.

The input file will be loaded if exists, or an empty one will be generated from scratch transparently. Output file name is used to specify the output file name of unparsing. The final SgFile will be inserted to project automatically. If not provided, a new SgProject will be generated internally. Using SgFile->get_project() to retrieve it in this case.

ROSE_DLL_API SgScopeStatement* SageBuilder::buildScopeStatement ( SgClassDefinition = NULL)

Build a SgFile node and attach it to SgProject.

The input file will be loaded if exists, or an empty one will be generated from scratch transparently. Output file name is used to specify the output file name of unparsing. The final SgFile will be inserted to project automatically. If not provided, a new SgProject will be generated internally. Using SgFile->get_project() to retrieve it in this case.

ROSE_DLL_API SgJavaTypeExpression* SageBuilder::buildJavaTypeExpression ( SgType )

Build a SgFile node and attach it to SgProject.

The input file will be loaded if exists, or an empty one will be generated from scratch transparently. Output file name is used to specify the output file name of unparsing. The final SgFile will be inserted to project automatically. If not provided, a new SgProject will be generated internally. Using SgFile->get_project() to retrieve it in this case.

ROSE_DLL_API SgJavaMarkerAnnotation* SageBuilder::buildJavaMarkerAnnotation ( SgType )

Build a SgFile node and attach it to SgProject.

The input file will be loaded if exists, or an empty one will be generated from scratch transparently. Output file name is used to specify the output file name of unparsing. The final SgFile will be inserted to project automatically. If not provided, a new SgProject will be generated internally. Using SgFile->get_project() to retrieve it in this case.

ROSE_DLL_API SgJavaMemberValuePair* SageBuilder::buildJavaMemberValuePair ( const SgName ,
SgExpression  
)

Build a SgFile node and attach it to SgProject.

The input file will be loaded if exists, or an empty one will be generated from scratch transparently. Output file name is used to specify the output file name of unparsing. The final SgFile will be inserted to project automatically. If not provided, a new SgProject will be generated internally. Using SgFile->get_project() to retrieve it in this case.

ROSE_DLL_API SgJavaSingleMemberAnnotation* SageBuilder::buildJavaSingleMemberAnnotation ( SgType ,
SgExpression  
)

Build a SgFile node and attach it to SgProject.

The input file will be loaded if exists, or an empty one will be generated from scratch transparently. Output file name is used to specify the output file name of unparsing. The final SgFile will be inserted to project automatically. If not provided, a new SgProject will be generated internally. Using SgFile->get_project() to retrieve it in this case.

ROSE_DLL_API SgJavaNormalAnnotation* SageBuilder::buildJavaNormalAnnotation ( SgType )

Build a SgFile node and attach it to SgProject.

The input file will be loaded if exists, or an empty one will be generated from scratch transparently. Output file name is used to specify the output file name of unparsing. The final SgFile will be inserted to project automatically. If not provided, a new SgProject will be generated internally. Using SgFile->get_project() to retrieve it in this case.

ROSE_DLL_API SgJavaNormalAnnotation* SageBuilder::buildJavaNormalAnnotation ( SgType ,
std::list< SgJavaMemberValuePair * > &   
)

Build a SgFile node and attach it to SgProject.

The input file will be loaded if exists, or an empty one will be generated from scratch transparently. Output file name is used to specify the output file name of unparsing. The final SgFile will be inserted to project automatically. If not provided, a new SgProject will be generated internally. Using SgFile->get_project() to retrieve it in this case.

ROSE_DLL_API SgInitializedName* SageBuilder::buildJavaFormalParameter ( SgType ,
const SgName ,
bool  is_var_args = false,
bool  is_final = false 
)

Build a SgFile node and attach it to SgProject.

The input file will be loaded if exists, or an empty one will be generated from scratch transparently. Output file name is used to specify the output file name of unparsing. The final SgFile will be inserted to project automatically. If not provided, a new SgProject will be generated internally. Using SgFile->get_project() to retrieve it in this case.

ROSE_DLL_API SgJavaPackageStatement* SageBuilder::buildJavaPackageStatement ( std::string  )

Build a SgFile node and attach it to SgProject.

The input file will be loaded if exists, or an empty one will be generated from scratch transparently. Output file name is used to specify the output file name of unparsing. The final SgFile will be inserted to project automatically. If not provided, a new SgProject will be generated internally. Using SgFile->get_project() to retrieve it in this case.

ROSE_DLL_API SgJavaImportStatement* SageBuilder::buildJavaImportStatement ( std::string  ,
bool   
)

Build a SgFile node and attach it to SgProject.

The input file will be loaded if exists, or an empty one will be generated from scratch transparently. Output file name is used to specify the output file name of unparsing. The final SgFile will be inserted to project automatically. If not provided, a new SgProject will be generated internally. Using SgFile->get_project() to retrieve it in this case.

ROSE_DLL_API SgClassDeclaration* SageBuilder::buildJavaDefiningClassDeclaration ( SgScopeStatement ,
std::string  ,
SgClassDeclaration::class_types  kind = SgClassDeclaration::e_class 
)

Build a SgFile node and attach it to SgProject.

The input file will be loaded if exists, or an empty one will be generated from scratch transparently. Output file name is used to specify the output file name of unparsing. The final SgFile will be inserted to project automatically. If not provided, a new SgProject will be generated internally. Using SgFile->get_project() to retrieve it in this case.

ROSE_DLL_API SgSourceFile* SageBuilder::buildJavaSourceFile ( SgProject ,
std::string  ,
SgClassDefinition ,
std::string   
)

Build a SgFile node and attach it to SgProject.

The input file will be loaded if exists, or an empty one will be generated from scratch transparently. Output file name is used to specify the output file name of unparsing. The final SgFile will be inserted to project automatically. If not provided, a new SgProject will be generated internally. Using SgFile->get_project() to retrieve it in this case.

ROSE_DLL_API SgArrayType* SageBuilder::getUniqueJavaArrayType ( SgType ,
int   
)

Build a SgFile node and attach it to SgProject.

The input file will be loaded if exists, or an empty one will be generated from scratch transparently. Output file name is used to specify the output file name of unparsing. The final SgFile will be inserted to project automatically. If not provided, a new SgProject will be generated internally. Using SgFile->get_project() to retrieve it in this case.

ROSE_DLL_API SgJavaParameterizedType* SageBuilder::getUniqueJavaParameterizedType ( SgNamedType ,
SgTemplateParameterPtrList  
)

Build a SgFile node and attach it to SgProject.

The input file will be loaded if exists, or an empty one will be generated from scratch transparently. Output file name is used to specify the output file name of unparsing. The final SgFile will be inserted to project automatically. If not provided, a new SgProject will be generated internally. Using SgFile->get_project() to retrieve it in this case.

ROSE_DLL_API SgJavaQualifiedType* SageBuilder::getUniqueJavaQualifiedType ( SgClassDeclaration ,
SgNamedType ,
SgNamedType  
)

Build a SgFile node and attach it to SgProject.

The input file will be loaded if exists, or an empty one will be generated from scratch transparently. Output file name is used to specify the output file name of unparsing. The final SgFile will be inserted to project automatically. If not provided, a new SgProject will be generated internally. Using SgFile->get_project() to retrieve it in this case.

ROSE_DLL_API SgJavaWildcardType* SageBuilder::getUniqueJavaWildcardUnbound ( )

Build a SgFile node and attach it to SgProject.

The input file will be loaded if exists, or an empty one will be generated from scratch transparently. Output file name is used to specify the output file name of unparsing. The final SgFile will be inserted to project automatically. If not provided, a new SgProject will be generated internally. Using SgFile->get_project() to retrieve it in this case.

ROSE_DLL_API SgJavaWildcardType* SageBuilder::getUniqueJavaWildcardExtends ( SgType )

Build a SgFile node and attach it to SgProject.

The input file will be loaded if exists, or an empty one will be generated from scratch transparently. Output file name is used to specify the output file name of unparsing. The final SgFile will be inserted to project automatically. If not provided, a new SgProject will be generated internally. Using SgFile->get_project() to retrieve it in this case.

ROSE_DLL_API SgJavaWildcardType* SageBuilder::getUniqueJavaWildcardSuper ( SgType )

Build a SgFile node and attach it to SgProject.

The input file will be loaded if exists, or an empty one will be generated from scratch transparently. Output file name is used to specify the output file name of unparsing. The final SgFile will be inserted to project automatically. If not provided, a new SgProject will be generated internally. Using SgFile->get_project() to retrieve it in this case.

Variable Documentation

std::list<SgScopeStatement*> SageBuilder::ScopeStack

intended to be a private member, don't access it directly. could be changed any time

bool SageBuilder::symbol_table_case_insensitive_semantics

Support for construction of case sensitive/insensitive symbol table handling in scopes.

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).

SgClassDefinition* Rose::Frontend::Java::javaLangPackageDefinition
SgClassType* Rose::Frontend::Java::ObjectClassType
SgClassType* Rose::Frontend::Java::StringClassType
SgClassType* Rose::Frontend::Java::ClassClassType
SgVariableSymbol* Rose::Frontend::Java::lengthSymbol