ROSE
0.9.6a
|
Functions | |
SourcePositionClassification | getSourcePositionClassificationMode () |
Get the current source position classification (defines how IR nodes built by the SageBuilder interface will be classified). More... | |
std::string | display (SourcePositionClassification &scp) |
display function for debugging More... | |
void | setSourcePositionClassificationMode (SourcePositionClassification X) |
Set the current source position classification (defines how IR nodes built by the SageBuilder interface will be classified). More... | |
SgName | appendTemplateArgumentsToName (const SgName &name, const SgTemplateArgumentPtrList &templateArgumentsList) |
Builders for SgType | |
Builders for simple and complex SgType nodes, such as integer type, function type, array type, struct type, etc.
| |
ROSE_DLL_API SgTypeBool * | buildBoolType () |
Built in simple types. More... | |
ROSE_DLL_API SgTypeChar * | buildCharType () |
Built in simple types. More... | |
ROSE_DLL_API SgTypeDouble * | buildDoubleType () |
Built in simple types. More... | |
ROSE_DLL_API SgTypeFloat * | buildFloatType () |
Built in simple types. More... | |
ROSE_DLL_API SgTypeInt * | buildIntType () |
Built in simple types. More... | |
ROSE_DLL_API SgTypeLong * | buildLongType () |
Built in simple types. More... | |
ROSE_DLL_API SgTypeLongDouble * | buildLongDoubleType () |
Built in simple types. More... | |
ROSE_DLL_API SgTypeLongLong * | buildLongLongType () |
Built in simple types. More... | |
ROSE_DLL_API SgTypeShort * | buildShortType () |
Built in simple types. More... | |
ROSE_DLL_API SgTypeString * | buildStringType () |
Built in simple types. More... | |
ROSE_DLL_API SgTypeString * | buildStringType (SgExpression *stringLengthExpression) |
Built in simple types. More... | |
ROSE_DLL_API SgTypeVoid * | buildVoidType () |
Built in simple types. More... | |
ROSE_DLL_API SgTypeWchar * | buildWcharType () |
Built in simple types. More... | |
ROSE_DLL_API SgTypeSignedChar * | buildSignedCharType () |
Built in simple types. More... | |
ROSE_DLL_API SgTypeSignedInt * | buildSignedIntType () |
Built in simple types. More... | |
ROSE_DLL_API SgTypeSignedLong * | buildSignedLongType () |
Built in simple types. More... | |
ROSE_DLL_API SgTypeSignedLongLong * | buildSignedLongLongType () |
Built in simple types. More... | |
ROSE_DLL_API SgTypeSignedShort * | buildSignedShortType () |
Built in simple types. More... | |
ROSE_DLL_API SgTypeSigned128bitInteger * | buildSigned128bitIntegerType () |
Built in simple types. More... | |
ROSE_DLL_API SgTypeUnsigned128bitInteger * | buildUnsigned128bitIntegerType () |
Built in simple types. More... | |
ROSE_DLL_API SgTypeUnsignedChar * | buildUnsignedCharType () |
Built in simple types. More... | |
ROSE_DLL_API SgTypeUnsignedInt * | buildUnsignedIntType () |
Built in simple types. More... | |
ROSE_DLL_API SgTypeUnsignedLong * | buildUnsignedLongType () |
Built in simple types. More... | |
ROSE_DLL_API SgTypeUnsignedLongLong * | buildUnsignedLongLongType () |
Built in simple types. More... | |
ROSE_DLL_API SgTypeUnsignedShort * | buildUnsignedShortType () |
Built in simple types. More... | |
ROSE_DLL_API SgTypeUnknown * | buildUnknownType () |
Built in simple types. More... | |
ROSE_DLL_API SgPointerType * | buildPointerType (SgType *base_type=NULL) |
Build a pointer type. More... | |
ROSE_DLL_API SgReferenceType * | buildReferenceType (SgType *base_type=NULL) |
Build a reference type. More... | |
ROSE_DLL_API SgModifierType * | buildModifierType (SgType *base_type=NULL) |
Build a modifier type. More... | |
ROSE_DLL_API SgModifierType * | buildConstType (SgType *base_type=NULL) |
Build a const type. More... | |
ROSE_DLL_API SgModifierType * | buildVolatileType (SgType *base_type=NULL) |
Build a volatile type. More... | |
ROSE_DLL_API SgModifierType * | buildRestrictType (SgType *base_type) |
Build a restrict type. More... | |
ROSE_DLL_API SgArrayType * | buildArrayType (SgType *base_type=NULL, SgExpression *index=NULL) |
Build ArrayType. More... | |
ROSE_DLL_API SgModifierType * | buildFortranKindType (SgType *base_type, SgExpression *kindExpression) |
Build a type based on the Fortran kind mechanism. More... | |
ROSE_DLL_API SgFunctionType * | buildFunctionType (SgType *return_type, SgFunctionParameterTypeList *typeList=NULL) |
Build function type from return type and parameter type list. More... | |
ROSE_DLL_API SgFunctionType * | buildFunctionType (SgType *return_type, SgFunctionParameterList *argList=NULL) |
Build function type from return type and parameter list. More... | |
ROSE_DLL_API SgMemberFunctionType * | buildMemberFunctionType (SgType *return_type, SgFunctionParameterTypeList *typeList, SgClassDefinition *struct_name, unsigned int mfunc_specifier) |
Built in simple types. More... | |
ROSE_DLL_API SgMemberFunctionType * | buildMemberFunctionType (SgType *return_type, SgFunctionParameterList *argList=NULL, SgClassDefinition *struct_name=NULL, unsigned int mfunc_specifier=0) |
Built in simple types. More... | |
ROSE_DLL_API SgMemberFunctionType * | buildMemberFunctionType (SgType *return_type, SgFunctionParameterTypeList *typeList, SgClassType *classType, unsigned int mfunc_specifier) |
Built in simple types. More... | |
ROSE_DLL_API SgType * | 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 SgModifierType * | buildUpcStrictType (SgType *base_type=NULL) |
Build a UPC strict type. More... | |
ROSE_DLL_API SgModifierType * | buildUpcRelaxedType (SgType *base_type=NULL) |
Build a UPC relaxed type. More... | |
ROSE_DLL_API SgModifierType * | buildUpcSharedType (SgType *base_type=NULL, long layout=-1) |
Build a UPC shared type. More... | |
ROSE_DLL_API SgModifierType * | buildUpcBlockIndefiniteType (SgType *base_type=NULL) |
Build a UPC shared[] type. More... | |
ROSE_DLL_API SgModifierType * | buildUpcBlockStarType (SgType *base_type=NULL) |
Build a UPC shared[*] type. More... | |
ROSE_DLL_API SgModifierType * | buildUpcBlockNumberType (SgType *base_type, long block_factor) |
Build a UPC shared[n] type. More... | |
ROSE_DLL_API SgTypeComplex * | buildComplexType (SgType *base_type=NULL) |
Build a complex type. More... | |
ROSE_DLL_API SgTypeImaginary * | buildImaginaryType (SgType *base_type=NULL) |
Build an imaginary type. More... | |
ROSE_DLL_API SgConstVolatileModifier * | 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.
| |
SgVariantExpression * | 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... | |
SgNullExpression * | buildNullExpression () |
Build a null expression, set file info as the default one. More... | |
SgNullExpression * | buildNullExpression_nfi () |
No file info version of buildNullExpression(). File info is to be set later on. More... | |
SgBoolValExp * | buildBoolValExp (int value=0) |
Build a bool value expression, the name convention of SgBoolValExp is little different from others for some unknown reason. More... | |
SgBoolValExp * | 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... | |
SgBoolValExp * | 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... | |
SgCharVal * | 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... | |
SgCharVal * | 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... | |
SgWcharVal * | 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... | |
SgWcharVal * | 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... | |
SgComplexVal * | 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... | |
SgComplexVal * | 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... | |
SgComplexVal * | 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... | |
SgComplexVal * | 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... | |
SgComplexVal * | 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... | |
SgComplexVal * | 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 SgDoubleVal * | buildDoubleVal (double value=0.0) |
Build a double value expression. More... | |
SgDoubleVal * | 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 SgFloatVal * | 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... | |
SgFloatVal * | 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 SgIntVal * | buildIntVal (int value=0) |
Build an integer value expression. More... | |
SgIntVal * | 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... | |
SgIntVal * | 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 SgLongIntVal * | buildLongIntVal (long value=0) |
Build a long integer value expression. More... | |
SgLongIntVal * | 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... | |
SgLongIntVal * | 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 SgLongLongIntVal * | buildLongLongIntVal (long long value=0) |
Build a long long integer value expression. More... | |
SgLongLongIntVal * | 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... | |
SgLongLongIntVal * | 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... | |
SgEnumVal * | 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 SgLongDoubleVal * | 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... | |
SgLongDoubleVal * | 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 SgShortVal * | 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... | |
SgShortVal * | 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... | |
SgShortVal * | 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 SgStringVal * | 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... | |
SgStringVal * | 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 SgUnsignedCharVal * | buildUnsignedCharVal (unsigned char v=0) |
Build an unsigned char. More... | |
SgUnsignedCharVal * | 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... | |
SgUnsignedCharVal * | 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 SgUnsignedShortVal * | buildUnsignedShortVal (unsigned short v=0) |
Build an unsigned short integer. More... | |
SgUnsignedShortVal * | 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... | |
SgUnsignedShortVal * | 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 SgUnsignedIntVal * | buildUnsignedIntVal (unsigned int v=0) |
Build an unsigned integer. More... | |
SgUnsignedIntVal * | 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... | |
SgUnsignedIntVal * | 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 SgUnsignedLongVal * | buildUnsignedLongVal (unsigned long v=0) |
Build a unsigned long integer. More... | |
SgUnsignedLongVal * | 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... | |
SgUnsignedLongVal * | 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 * | buildUnsignedLongLongIntVal (unsigned long long v=0) |
Build an unsigned long long integer. More... | |
SgUnsignedLongLongIntVal * | 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... | |
SgUnsignedLongLongIntVal * | 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... | |
SgTemplateParameterVal * | buildTemplateParameterVal (int template_parameter_position=-1) |
Build an template parameter value expression. More... | |
SgTemplateParameterVal * | 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... | |
SgUpcThreads * | buildUpcThreads () |
Build UPC THREADS (integer expression) More... | |
SgUpcThreads * | 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... | |
SgUpcMythread * | buildUpcMythread () |
Build UPC MYTHREAD (integer expression) More... | |
SgUpcMythread * | 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... | |
SgThisExp * | buildThisExp (SgClassSymbol *sym) |
Build this pointer. More... | |
SgThisExp * | 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... | |
SgSuperExp * | buildSuperExp (SgClassSymbol *sym) |
Build super pointer. More... | |
SgSuperExp * | 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... | |
SgClassExp * | buildClassExp (SgClassSymbol *sym) |
Build class pointer. More... | |
SgClassExp * | 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... | |
SgLambdaRefExp * | buildLambdaRefExp (SgType *return_type, SgFunctionParameterList *params, SgScopeStatement *scope) |
Build lambda expression. More... | |
template<class T > | |
T * | 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 * | 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 SgCastExp * | 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... | |
SgCastExp * | 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... | |
SgVarArgOp * | buildVarArgOp_nfi (SgExpression *operand_i, SgType *expression_type) |
Build vararg op expression. More... | |
ROSE_DLL_API SgMinusOp * | buildMinusOp (SgExpression *operand_i, SgUnaryOp::Sgop_mode a_mode) |
Build – expression, Sgop_mode is a value of either SgUnaryOp::prefix or SgUnaryOp::postfix. More... | |
SgMinusOp * | 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 SgMinusMinusOp * | 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... | |
SgMinusMinusOp * | 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 SgPlusPlusOp * | 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... | |
SgPlusPlusOp * | 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 SgThrowOp * | buildThrowOp (SgExpression *, SgThrowOp::e_throw_kind) |
Build a ThrowOp expression. More... | |
ROSE_DLL_API SgNewExp * | 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 SgDeleteExp * | 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... | |
SgTypeIdOp * | 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 * | 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 * | 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 SgConditionalExp * | buildConditionalExp (SgExpression *test=NULL, SgExpression *a=NULL, SgExpression *b=NULL) |
Build a conditional expression ?: More... | |
SgConditionalExp * | 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 SgExprListExp * | 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 SgExprListExp * | 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... | |
SgExprListExp * | 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... | |
SgExprListExp * | 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 SgTupleExp * | 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 SgTupleExp * | 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... | |
SgTupleExp * | 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... | |
SgTupleExp * | 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 SgListExp * | 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 SgListExp * | 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... | |
SgListExp * | 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... | |
SgListExp * | 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 SgComprehension * | 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... | |
SgComprehension * | 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 SgListComprehension * | 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... | |
SgListComprehension * | 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 SgSetComprehension * | 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... | |
SgSetComprehension * | 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 * | 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... | |
SgDictionaryComprehension * | 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 SgVarRefExp * | 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 SgVarRefExp * | 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 SgVarRefExp * | buildVarRefExp (const char *varName, SgScopeStatement *scope=NULL) |
Build a variable reference using a C style char array. More... | |
ROSE_DLL_API SgVarRefExp * | buildVarRefExp (SgVariableSymbol *varSymbol) |
Build a variable reference from an existing symbol. More... | |
ROSE_DLL_API SgVarRefExp * | 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 SgVarRefExp * | 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 SgVarRefExp * | 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 SgVarRefExp * | 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... | |
SgCompoundLiteralExp * | buildCompoundLiteralExp_nfi (SgVariableSymbol *varSymbol) |
Build function for compound literals (uses a SgVariableSymbol and is similar to buildVarRefExp_nfi()). More... | |
SgCompoundLiteralExp * | 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 SgLabelRefExp * | buildLabelRefExp (SgLabelSymbol *s) |
Build a Fortran numeric label ref exp. More... | |
ROSE_DLL_API SgFunctionRefExp * | 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 SgFunctionRefExp * | 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 SgFunctionRefExp * | 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 SgFunctionRefExp * | 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 SgFunctionRefExp * | buildFunctionRefExp (const SgFunctionDeclaration *func_decl) |
Build SgFunctionRefExp based on a function's declaration. More... | |
ROSE_DLL_API SgFunctionRefExp * | buildFunctionRefExp (SgFunctionSymbol *sym) |
Build SgFunctionRefExp based on a function's symbol. More... | |
SgFunctionRefExp * | 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... | |
SgTemplateFunctionRefExp * | 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... | |
SgTemplateMemberFunctionRefExp * | 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... | |
SgMemberFunctionRefExp * | 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 * | 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... | |
SgClassNameRefExp * | 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 SgClassNameRefExp * | 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 SgFunctionCallExp * | buildFunctionCallExp (SgFunctionSymbol *sym, SgExprListExp *parameters=NULL) |
Build a function call expression. More... | |
SgFunctionCallExp * | 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 SgFunctionCallExp * | 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 SgFunctionCallExp * | 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... | |
SgTypeTraitBuiltinOperator * | 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... | |
SgCudaKernelCallExp * | buildCudaKernelCallExp_nfi (SgExpression *kernel, SgExprListExp *parameters=NULL, SgCudaKernelExecConfig *config=NULL) |
Build a CUDA kernel call expression (kernel<<<config>>>(parameters)) More... | |
SgCudaKernelExecConfig * | 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 SgAssignInitializer * | buildAssignInitializer (SgExpression *operand_i=NULL, SgType *expression_type=NULL) |
Build the rhs of a variable declaration which includes an assignment. More... | |
SgAssignInitializer * | 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 * | buildAggregateInitializer (SgExprListExp *initializers=NULL, SgType *type=NULL) |
Build an aggregate initializer. More... | |
SgAggregateInitializer * | 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... | |
SgCompoundInitializer * | buildCompoundInitializer (SgExprListExp *initializers=NULL, SgType *type=NULL) |
Build a compound initializer, for vector type initialization. More... | |
SgCompoundInitializer * | 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... | |
SgConstructorInitializer * | 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... | |
SgConstructorInitializer * | 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 SgSizeOfOp * | buildSizeOfOp (SgExpression *exp=NULL) |
Build sizeof() expression with an expression parameter. More... | |
SgSizeOfOp * | 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 SgSizeOfOp * | buildSizeOfOp (SgType *type=NULL) |
Build sizeof() expression with a type parameter. More... | |
SgSizeOfOp * | 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... | |
SgAlignOfOp * | buildAlignOfOp (SgExpression *exp=NULL) |
Build alignof() expression with an expression parameter. More... | |
SgAlignOfOp * | 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... | |
SgAlignOfOp * | buildAlignOfOp (SgType *type=NULL) |
Build alignof() expression with a type parameter. More... | |
SgAlignOfOp * | 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... | |
SgJavaInstanceOfOp * | buildJavaInstanceOfOp (SgExpression *exp=NULL, SgType *type=NULL) |
This is part of Java specific operator support. More... | |
Builders for support nodes | |
AST high level builders for SgSupport nodes | |
ROSE_DLL_API SgInitializedName * | 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 SgInitializedName * | 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 SgInitializedName * | 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... | |
SgInitializedName * | 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 * | buildFunctionParameterTypeList (SgFunctionParameterList *paralist) |
Build SgFunctionParameterTypeList from SgFunctionParameterList. More... | |
ROSE_DLL_API SgFunctionParameterTypeList * | buildFunctionParameterTypeList (SgExprListExp *expList) |
Build SgFunctionParameterTypeList from an expression list, useful when building a function call. More... | |
ROSE_DLL_API SgFunctionParameterTypeList * | 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 * | 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 * | 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 * | buildVariableDeclaration (const char *name, SgType *type, SgInitializer *varInit=NULL, SgScopeStatement *scope=NULL) |
Build a variable declaration, handle symbol table transparently. More... | |
SgVariableDeclaration * | buildVariableDeclaration_nfi (const SgName &name, SgType *type, SgInitializer *varInit, SgScopeStatement *scope) |
Build a variable declaration, handle symbol table transparently. More... | |
SgTemplateVariableDeclaration * | buildTemplateVariableDeclaration_nfi (const SgName &name, SgType *type, SgInitializer *varInit, SgScopeStatement *scope) |
Build a variable declaration, handle symbol table transparently. More... | |
ROSE_DLL_API SgTypedefDeclaration * | 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... | |
SgTypedefDeclaration * | 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 * | 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... | |
SgFunctionParameterList * | buildFunctionParameterList_nfi () |
Build a variable declaration, handle symbol table transparently. More... | |
ROSE_DLL_API SgFunctionParameterList * | 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... | |
SgFunctionParameterList * | buildFunctionParameterList_nfi (SgFunctionParameterTypeList *paraTypeList) |
Build a variable declaration, handle symbol table transparently. More... | |
void | setTemplateNameInTemplateInstantiations (SgFunctionDeclaration *func, const SgName &name) |
Build a variable declaration, handle symbol table transparently. More... | |
void | setTemplateArgumentParents (SgDeclarationStatement *decl) |
Build a variable declaration, handle symbol table transparently. More... | |
void | testTemplateArgumentParents (SgDeclarationStatement *decl) |
Build a variable declaration, handle symbol table transparently. More... | |
SgTemplateArgumentPtrList * | getTemplateArgumentList (SgDeclarationStatement *decl) |
Build a variable declaration, handle symbol table transparently. More... | |
void | testTemplateParameterParents (SgDeclarationStatement *decl) |
Build a variable declaration, handle symbol table transparently. More... | |
void | setTemplateParameterParents (SgDeclarationStatement *decl) |
Build a variable declaration, handle symbol table transparently. More... | |
SgTemplateParameterPtrList * | getTemplateParameterList (SgDeclarationStatement *decl) |
Build a variable declaration, handle symbol table transparently. More... | |
void | setTemplateArgumentsInDeclaration (SgDeclarationStatement *decl, SgTemplateArgumentPtrList *templateArgumentsList_input) |
Build a variable declaration, handle symbol table transparently. More... | |
void | setTemplateSpecializationArgumentsInDeclaration (SgDeclarationStatement *decl, SgTemplateArgumentPtrList *templateSpecializationArgumentsList_input) |
Build a variable declaration, handle symbol table transparently. More... | |
void | setTemplateParametersInDeclaration (SgDeclarationStatement *decl, SgTemplateParameterPtrList *templateParametersList_input) |
Build a variable declaration, handle symbol table transparently. More... | |
template<class actualFunction > | |
actualFunction * | 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 * | 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 * | 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... | |
SgTemplateFunctionDeclaration * | 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 * | 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 * | 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 * | 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 * | 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 * | 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 * | 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 * | 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 * | 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 * | 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 * | 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 * | 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 * | 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 * | 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 * | 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 * | 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 SgExprStatement * | buildFunctionCallStmt (const SgName &name, SgType *return_type, SgExprListExp *parameters=NULL, SgScopeStatement *scope=NULL) |
Build a regular function call statement. More... | |
ROSE_DLL_API SgExprStatement * | 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 SgLabelStatement * | 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... | |
SgLabelStatement * | buildLabelStatement_nfi (const SgName &name, SgStatement *stmt, SgScopeStatement *scope) |
Build a variable declaration, handle symbol table transparently. More... | |
ROSE_DLL_API SgGotoStatement * | buildGotoStatement (SgLabelStatement *label=NULL) |
Build a goto statement. More... | |
SgGotoStatement * | buildGotoStatement_nfi (SgLabelStatement *label) |
Build a variable declaration, handle symbol table transparently. More... | |
ROSE_DLL_API SgGotoStatement * | buildGotoStatement (SgLabelSymbol *symbol) |
Build a goto statement from a label symbol, supporting both C/C++ and Fortran cases. More... | |
ROSE_DLL_API SgCaseOptionStmt * | buildCaseOptionStmt (SgExpression *key=NULL, SgStatement *body=NULL) |
Build a case option statement. More... | |
SgCaseOptionStmt * | buildCaseOptionStmt_nfi (SgExpression *key, SgStatement *body) |
Build a variable declaration, handle symbol table transparently. More... | |
ROSE_DLL_API SgDefaultOptionStmt * | buildDefaultOptionStmt (SgStatement *body=NULL) |
Build a default option statement. More... | |
SgDefaultOptionStmt * | buildDefaultOptionStmt_nfi (SgStatement *body) |
Build a variable declaration, handle symbol table transparently. More... | |
ROSE_DLL_API SgExprStatement * | buildExprStatement (SgExpression *exp=NULL) |
Build a SgExprStatement, set File_Info automatically. More... | |
SgExprStatement * | buildExprStatement_nfi (SgExpression *exp) |
Build a variable declaration, handle symbol table transparently. More... | |
ROSE_DLL_API SgSwitchStatement * | buildSwitchStatement (SgStatement *item_selector=NULL, SgStatement *body=NULL) |
Build a switch statement. More... | |
SgSwitchStatement * | buildSwitchStatement (SgExpression *item_selector, SgStatement *body=NULL) |
Build a variable declaration, handle symbol table transparently. More... | |
SgSwitchStatement * | buildSwitchStatement_nfi (SgStatement *item_selector, SgStatement *body) |
Build a variable declaration, handle symbol table transparently. More... | |
ROSE_DLL_API SgIfStmt * | buildIfStmt (SgStatement *conditional, SgStatement *true_body, SgStatement *false_body) |
Build if statement. More... | |
SgIfStmt * | buildIfStmt (SgExpression *conditional, SgStatement *true_body, SgStatement *false_body) |
Build a variable declaration, handle symbol table transparently. More... | |
SgIfStmt * | buildIfStmt_nfi (SgStatement *conditional, SgStatement *true_body, SgStatement *false_body) |
Build a variable declaration, handle symbol table transparently. More... | |
ROSE_DLL_API SgForInitStatement * | buildForInitStatement () |
Build a for init statement. More... | |
ROSE_DLL_API SgForInitStatement * | buildForInitStatement (const SgStatementPtrList &statements) |
Build a variable declaration, handle symbol table transparently. More... | |
SgForInitStatement * | buildForInitStatement_nfi (SgStatementPtrList &statements) |
Build a variable declaration, handle symbol table transparently. More... | |
ROSE_DLL_API SgForInitStatement * | buildForInitStatement (SgStatement *statement) |
Build a variable declaration, handle symbol table transparently. More... | |
ROSE_DLL_API SgForStatement * | 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... | |
SgForStatement * | 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... | |
SgForStatement * | 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 | 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 | buildDoWhileStatement_nfi (SgDoWhileStmt *result, SgStatement *body, SgStatement *condition) |
Build a variable declaration, handle symbol table transparently. More... | |
SgUpcForAllStatement * | buildUpcForAllStatement_nfi (SgStatement *initialize_stmt, SgStatement *test, SgExpression *increment, SgExpression *affinity, SgStatement *loop_body) |
Build a UPC forall statement. More... | |
SgUpcForAllStatement * | buildUpcForAllStatement_nfi (SgForInitStatement *init_stmt, SgStatement *test, SgExpression *increment, SgExpression *affinity, SgStatement *loop_body) |
Build a variable declaration, handle symbol table transparently. More... | |
SgUpcNotifyStatement * | buildUpcNotifyStatement_nfi (SgExpression *exp) |
Build a UPC notify statement. More... | |
SgUpcWaitStatement * | buildUpcWaitStatement_nfi (SgExpression *exp) |
Build a UPC wait statement. More... | |
SgUpcBarrierStatement * | buildUpcBarrierStatement_nfi (SgExpression *exp) |
Build a UPC barrier statement. More... | |
SgUpcFenceStatement * | buildUpcFenceStatement_nfi () |
Build a UPC fence statement. More... | |
ROSE_DLL_API SgWhileStmt * | buildWhileStmt (SgStatement *condition, SgStatement *body, SgStatement *else_body=NULL) |
Build while statement. More... | |
SgWhileStmt * | buildWhileStmt (SgExpression *condition, SgStatement *body, SgStatement *else_body=NULL) |
Build a variable declaration, handle symbol table transparently. More... | |
SgWhileStmt * | buildWhileStmt_nfi (SgStatement *condition, SgStatement *body, SgStatement *else_body=NULL) |
Build a variable declaration, handle symbol table transparently. More... | |
ROSE_DLL_API SgWithStatement * | buildWithStatement (SgExpression *expr, SgStatement *body) |
Build a with statement. More... | |
SgWithStatement * | buildWithStatement_nfi (SgExpression *expr, SgStatement *body) |
Build a variable declaration, handle symbol table transparently. More... | |
ROSE_DLL_API SgDoWhileStmt * | buildDoWhileStmt (SgStatement *body, SgStatement *condition) |
Build do-while statement. More... | |
SgDoWhileStmt * | buildDoWhileStmt (SgStatement *body, SgExpression *condition) |
Build a variable declaration, handle symbol table transparently. More... | |
SgDoWhileStmt * | buildDoWhileStmt_nfi (SgStatement *body, SgStatement *condition) |
Build a variable declaration, handle symbol table transparently. More... | |
ROSE_DLL_API SgPragmaDeclaration * | buildPragmaDeclaration (const std::string &name, SgScopeStatement *scope=NULL) |
Build pragma declaration, handle SgPragma and defining/nondefining pointers internally. More... | |
SgPragmaDeclaration * | buildPragmaDeclaration_nfi (const std::string &name, SgScopeStatement *scope) |
Build a variable declaration, handle symbol table transparently. More... | |
ROSE_DLL_API SgPragma * | buildPragma (const std::string &name) |
Build SgPragma. More... | |
ROSE_DLL_API SgBasicBlock * | 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 SgBasicBlock * | buildBasicBlock_nfi () |
Build a variable declaration, handle symbol table transparently. More... | |
SgBasicBlock * | buildBasicBlock_nfi (const std::vector< SgStatement * > &) |
Build a variable declaration, handle symbol table transparently. More... | |
ROSE_DLL_API SgExprStatement * | buildAssignStatement (SgExpression *lhs, SgExpression *rhs) |
Build an assignment statement from lefthand operand and right hand operand. More... | |
ROSE_DLL_API SgExprStatement * | buildAssignStatement_ast_translate (SgExpression *lhs, SgExpression *rhs) |
This version does not recursively reset the file info as a transformation. More... | |
ROSE_DLL_API SgBreakStmt * | buildBreakStmt () |
Build a break statement. More... | |
SgBreakStmt * | buildBreakStmt_nfi () |
Build a variable declaration, handle symbol table transparently. More... | |
ROSE_DLL_API SgContinueStmt * | buildContinueStmt () |
Build a continue statement. More... | |
SgContinueStmt * | buildContinueStmt_nfi () |
Build a variable declaration, handle symbol table transparently. More... | |
ROSE_DLL_API SgPassStatement * | buildPassStatement () |
Build a pass statement. More... | |
SgPassStatement * | buildPassStatement_nfi () |
Build a variable declaration, handle symbol table transparently. More... | |
ROSE_DLL_API SgAssertStmt * | buildAssertStmt (SgExpression *test) |
Build a Assert statement. More... | |
ROSE_DLL_API SgAssertStmt * | buildAssertStmt (SgExpression *test, SgExpression *exceptionArgument) |
Build a variable declaration, handle symbol table transparently. More... | |
SgAssertStmt * | buildAssertStmt_nfi (SgExpression *test) |
Build a variable declaration, handle symbol table transparently. More... | |
ROSE_DLL_API SgYieldExpression * | buildYieldExpression (SgExpression *value) |
Build a yield statement. More... | |
SgYieldExpression * | buildYieldExpression_nfi (SgExpression *value) |
Build a variable declaration, handle symbol table transparently. More... | |
ROSE_DLL_API SgKeyDatumPair * | buildKeyDatumPair (SgExpression *key, SgExpression *datum) |
Build a key-datum pair. More... | |
SgKeyDatumPair * | buildKeyDatumPair_nfi (SgExpression *key, SgExpression *datum) |
Build a variable declaration, handle symbol table transparently. More... | |
ROSE_DLL_API SgDictionaryExp * | buildDictionaryExp (std::vector< SgKeyDatumPair * > pairs) |
Build a list of key-datum pairs. More... | |
SgDictionaryExp * | buildDictionaryExp_nfi (std::vector< SgKeyDatumPair * > pairs) |
Build a variable declaration, handle symbol table transparently. More... | |
ROSE_DLL_API SgActualArgumentExpression * | buildActualArgumentExpression (SgName arg_name, SgExpression *arg) |
Build an Actual Argument Expression. More... | |
SgActualArgumentExpression * | buildActualArgumentExpression_nfi (SgName arg_name, SgExpression *arg) |
Build a variable declaration, handle symbol table transparently. More... | |
ROSE_DLL_API SgDeleteExp * | buildDeleteExp (SgExpression *target, bool is_array=false, bool need_global_specifier=false, SgFunctionDeclaration *deleteOperatorDeclaration=NULL) |
Build a delete statement. More... | |
SgDeleteExp * | 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 SgClassDefinition * | buildClassDefinition (SgClassDeclaration *d=NULL, bool buildTemplateInstantiation=false) |
Build a class definition scope statement. More... | |
SgClassDefinition * | buildClassDefinition_nfi (SgClassDeclaration *d=NULL, bool buildTemplateInstantiation=false) |
Build a class definition scope statement. More... | |
SgTemplateClassDefinition * | buildTemplateClassDefinition (SgTemplateClassDeclaration *d=NULL) |
Build a template class definition statement. More... | |
ROSE_DLL_API SgClassDeclaration * | 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 * | 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 SgClassDeclaration * | buildNondefiningClassDeclaration (SgName name, SgScopeStatement *scope) |
Build a variable declaration, handle symbol table transparently. More... | |
ROSE_DLL_API SgClassDeclaration * | buildDefiningClassDeclaration (SgName name, SgScopeStatement *scope) |
Build a variable declaration, handle symbol table transparently. More... | |
ROSE_DLL_API SgClassDeclaration * | buildClassDeclaration (SgName name, SgScopeStatement *scope) |
Build a variable declaration, handle symbol table transparently. More... | |
SgEnumDeclaration * | buildNondefiningEnumDeclaration_nfi (const SgName &name, SgScopeStatement *scope) |
Build an enum first nondefining declaration, without file info. More... | |
ROSE_DLL_API SgClassDeclaration * | buildStructDeclaration (const SgName &name, SgScopeStatement *scope=NULL) |
Build a structure, It is also a declaration statement in SAGE III. More... | |
ROSE_DLL_API SgClassDeclaration * | buildStructDeclaration (const std::string &name, SgScopeStatement *scope=NULL) |
Build a variable declaration, handle symbol table transparently. More... | |
ROSE_DLL_API SgClassDeclaration * | buildStructDeclaration (const char *name, SgScopeStatement *scope=NULL) |
Build a variable declaration, handle symbol table transparently. More... | |
ROSE_DLL_API SgStmtDeclarationStatement * | buildStmtDeclarationStatement (SgStatement *stmt) |
Build a StmtDeclarationStmt. More... | |
SgStmtDeclarationStatement * | buildStmtDeclarationStatement_nfi (SgStatement *stmt) |
Build a variable declaration, handle symbol table transparently. More... | |
ROSE_DLL_API SgNamespaceDeclarationStatement * | buildNamespaceDeclaration (const SgName &name, SgScopeStatement *scope=NULL) |
Build a variable declaration, handle symbol table transparently. More... | |
SgNamespaceDeclarationStatement * | buildNamespaceDeclaration_nfi (const SgName &name, bool unnamednamespace, SgScopeStatement *scope) |
Build a variable declaration, handle symbol table transparently. More... | |
ROSE_DLL_API SgNamespaceDefinitionStatement * | buildNamespaceDefinition (SgNamespaceDeclarationStatement *d=NULL) |
Build a variable declaration, handle symbol table transparently. More... | |
ROSE_DLL_API SgNaryComparisonOp * | buildNaryComparisonOp (SgExpression *lhs) |
Build a variable declaration, handle symbol table transparently. More... | |
SgNaryComparisonOp * | buildNaryComparisonOp_nfi (SgExpression *lhs) |
Build a variable declaration, handle symbol table transparently. More... | |
ROSE_DLL_API SgNaryBooleanOp * | buildNaryBooleanOp (SgExpression *lhs) |
Build a variable declaration, handle symbol table transparently. More... | |
SgNaryBooleanOp * | buildNaryBooleanOp_nfi (SgExpression *lhs) |
Build a variable declaration, handle symbol table transparently. More... | |
ROSE_DLL_API SgStringConversion * | buildStringConversion (SgExpression *exp) |
Build a variable declaration, handle symbol table transparently. More... | |
SgStringConversion * | buildStringConversion_nfi (SgExpression *exp) |
Build a variable declaration, handle symbol table transparently. More... | |
SgClassDeclaration * | 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... | |
SgTemplateClassDeclaration * | 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 SgEnumDeclaration * | buildEnumDeclaration (const SgName &name, SgScopeStatement *scope=NULL) |
Build an enum, It is also a declaration statement in SAGE III. More... | |
SgEnumDeclaration * | buildEnumDeclaration_nfi (const SgName &name, SgScopeStatement *scope=NULL) |
Build an enum, It is also a declaration statement in SAGE III. More... | |
ROSE_DLL_API SgReturnStmt * | buildReturnStmt (SgExpression *expression=NULL) |
Build a return statement. More... | |
SgReturnStmt * | buildReturnStmt_nfi (SgExpression *expression) |
Build a variable declaration, handle symbol table transparently. More... | |
ROSE_DLL_API SgNullStatement * | buildNullStatement () |
Build a NULL statement. More... | |
SgNullStatement * | buildNullStatement_nfi () |
Build a variable declaration, handle symbol table transparently. More... | |
ROSE_DLL_API SgAttributeSpecificationStatement * | buildAttributeSpecificationStatement (SgAttributeSpecificationStatement::attribute_spec_enum kind) |
Build Fortran attribute specification statement. More... | |
ROSE_DLL_API SgFortranIncludeLine * | buildFortranIncludeLine (std::string filename) |
Build Fortran include line. More... | |
ROSE_DLL_API SgCommonBlockObject * | buildCommonBlockObject (std::string name="", SgExprListExp *exp_list=NULL) |
Build a Fortran common block, possibly with a name. More... | |
ROSE_DLL_API SgCommonBlock * | buildCommonBlock (SgCommonBlockObject *first_block=NULL) |
Build a Fortran Common statement. More... | |
ROSE_DLL_API SgCatchOptionStmt * | buildCatchOptionStmt (SgVariableDeclaration *condition=NULL, SgStatement *body=NULL) |
Build a variable declaration, handle symbol table transparently. More... | |
ROSE_DLL_API SgTryStmt * | 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 SgTryStmt * | buildTryStmt (SgBasicBlock *try_body, SgBasicBlock *finally_body=NULL) |
Build a variable declaration, handle symbol table transparently. More... | |
ROSE_DLL_API SgCatchStatementSeq * | buildCatchStatementSeq (SgCatchOptionStmt *=NULL) |
Build a variable declaration, handle symbol table transparently. More... | |
ROSE_DLL_API SgJavaSynchronizedStatement * | buildJavaSynchronizedStatement (SgExpression *, SgBasicBlock *) |
Build a variable declaration, handle symbol table transparently. More... | |
ROSE_DLL_API SgJavaThrowStatement * | buildJavaThrowStatement (SgThrowOp *) |
Build a variable declaration, handle symbol table transparently. More... | |
ROSE_DLL_API SgJavaForEachStatement * | buildJavaForEachStatement (SgVariableDeclaration *=NULL, SgExpression *=NULL, SgStatement *=NULL) |
Build a variable declaration, handle symbol table transparently. More... | |
ROSE_DLL_API SgJavaLabelStatement * | buildJavaLabelStatement (const SgName &, SgStatement *=NULL) |
Build a variable declaration, handle symbol table transparently. More... | |
ROSE_DLL_API SgExecStatement * | buildExecStatement (SgExpression *executable, SgExpression *globals=NULL, SgExpression *locals=NULL) |
Build a variable declaration, handle symbol table transparently. More... | |
SgExecStatement * | buildExecStatement_nfi (SgExpression *executable, SgExpression *globals=NULL, SgExpression *locals=NULL) |
Build a variable declaration, handle symbol table transparently. More... | |
ROSE_DLL_API SgPythonPrintStmt * | buildPythonPrintStmt (SgExpression *dest=NULL, SgExprListExp *values=NULL) |
Build a variable declaration, handle symbol table transparently. More... | |
SgPythonPrintStmt * | buildPythonPrintStmt_nfi (SgExpression *dest=NULL, SgExprListExp *values=NULL) |
Build a variable declaration, handle symbol table transparently. More... | |
ROSE_DLL_API SgPythonGlobalStmt * | buildPythonGlobalStmt (SgInitializedNamePtrList &names) |
Build a variable declaration, handle symbol table transparently. More... | |
SgPythonGlobalStmt * | buildPythonGlobalStmt_nfi (SgInitializedNamePtrList &names) |
Build a variable declaration, handle symbol table transparently. More... | |
ROSE_DLL_API SgAsmStmt * | buildAsmStatement (std::string s) |
Build a NULL statement. More... | |
SgAsmStmt * | buildAsmStatement_nfi (std::string s) |
Build a variable declaration, handle symbol table transparently. More... | |
ROSE_DLL_API SgAsmStmt * | buildMultibyteNopStatement (int n) |
Build a variable declaration, handle symbol table transparently. More... | |
SgBaseClass * | 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 SgFile * | buildFile (const std::string &inputFileName, const std::string &outputFileName, SgProject *project=NULL) |
Build a SgFile node and attach it to SgProject. More... | |
SgSourceFile * | buildSourceFile (const std::string &outputFileName, SgProject *project=NULL) |
Build a SgFile node and attach it to SgProject. More... | |
ROSE_DLL_API PreprocessingInfo * | 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 PreprocessingInfo * | 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 * | buildAbstractHandle (SgNode *n) |
Build an abstract handle from a SgNode. More... | |
ROSE_DLL_API void | 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 | fixupCopyOfNodeFromSeperateFileInNewTargetAst (SgStatement *insertionPoint, bool insertionPointIsScope, SgNode *node_copy, SgNode *node_original) |
Build a SgFile node and attach it to SgProject. More... | |
ROSE_DLL_API SgType * | getTargetFileTypeSupport (SgType *snippet_type, SgScopeStatement *targetScope) |
Build a SgFile node and attach it to SgProject. More... | |
ROSE_DLL_API SgType * | getTargetFileType (SgType *snippet_type, SgScopeStatement *targetScope) |
Build a SgFile node and attach it to SgProject. More... | |
ROSE_DLL_API SgSymbol * | findAssociatedSymbolInTargetAST (SgDeclarationStatement *snippet_declaration, SgScopeStatement *targetScope) |
Build a SgFile node and attach it to SgProject. More... | |
ROSE_DLL_API void | 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 | resetDeclaration (T *classDeclaration_copy, T *classDeclaration_original, SgScopeStatement *targetScope) |
Function to reset scopes in SgDeclarationStatement IR nodes. More... | |
ROSE_DLL_API SgVarRefExp * | buildJavaArrayLengthVarRefExp () |
Build a SgFile node and attach it to SgProject. More... | |
ROSE_DLL_API SgScopeStatement * | buildScopeStatement (SgClassDefinition *=NULL) |
Build a SgFile node and attach it to SgProject. More... | |
ROSE_DLL_API SgJavaTypeExpression * | buildJavaTypeExpression (SgType *) |
Build a SgFile node and attach it to SgProject. More... | |
ROSE_DLL_API SgJavaMarkerAnnotation * | buildJavaMarkerAnnotation (SgType *) |
Build a SgFile node and attach it to SgProject. More... | |
ROSE_DLL_API SgJavaMemberValuePair * | buildJavaMemberValuePair (const SgName &, SgExpression *) |
Build a SgFile node and attach it to SgProject. More... | |
ROSE_DLL_API SgJavaSingleMemberAnnotation * | buildJavaSingleMemberAnnotation (SgType *, SgExpression *) |
Build a SgFile node and attach it to SgProject. More... | |
ROSE_DLL_API SgJavaNormalAnnotation * | buildJavaNormalAnnotation (SgType *) |
Build a SgFile node and attach it to SgProject. More... | |
ROSE_DLL_API SgJavaNormalAnnotation * | buildJavaNormalAnnotation (SgType *, std::list< SgJavaMemberValuePair * > &) |
Build a SgFile node and attach it to SgProject. More... | |
ROSE_DLL_API SgInitializedName * | 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 * | buildJavaPackageStatement (std::string) |
Build a SgFile node and attach it to SgProject. More... | |
ROSE_DLL_API SgJavaImportStatement * | buildJavaImportStatement (std::string, bool) |
Build a SgFile node and attach it to SgProject. More... | |
ROSE_DLL_API SgClassDeclaration * | buildJavaDefiningClassDeclaration (SgScopeStatement *, std::string, SgClassDeclaration::class_types kind=SgClassDeclaration::e_class) |
Build a SgFile node and attach it to SgProject. More... | |
ROSE_DLL_API SgSourceFile * | buildJavaSourceFile (SgProject *, std::string, SgClassDefinition *, std::string) |
Build a SgFile node and attach it to SgProject. More... | |
ROSE_DLL_API SgArrayType * | getUniqueJavaArrayType (SgType *, int) |
Build a SgFile node and attach it to SgProject. More... | |
ROSE_DLL_API SgJavaParameterizedType * | getUniqueJavaParameterizedType (SgNamedType *, SgTemplateParameterPtrList *) |
Build a SgFile node and attach it to SgProject. More... | |
ROSE_DLL_API SgJavaQualifiedType * | getUniqueJavaQualifiedType (SgClassDeclaration *, SgNamedType *, SgNamedType *) |
Build a SgFile node and attach it to SgProject. More... | |
ROSE_DLL_API SgJavaWildcardType * | getUniqueJavaWildcardUnbound () |
Build a SgFile node and attach it to SgProject. More... | |
ROSE_DLL_API SgJavaWildcardType * | getUniqueJavaWildcardExtends (SgType *) |
Build a SgFile node and attach it to SgProject. More... | |
ROSE_DLL_API SgJavaWildcardType * | getUniqueJavaWildcardSuper (SgType *) |
Build a SgFile node and attach it to SgProject. More... | |
Variables | |
SourcePositionClassification | 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... | |
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.
| |
std::list< SgScopeStatement * > | ScopeStack |
intended to be a private member, don't access it directly. could be changed any time More... | |
bool | symbol_table_case_insensitive_semantics |
Support for construction of case sensitive/insensitive symbol table handling in scopes. More... | |
ROSE_DLL_API void | pushScopeStack (SgScopeStatement *stmt) |
Public interfaces of the scope stack, should be stable. More... | |
ROSE_DLL_API void | pushScopeStack (SgNode *node) |
intended to be a private member, don't access it directly. could be changed any time More... | |
ROSE_DLL_API void | popScopeStack () |
intended to be a private member, don't access it directly. could be changed any time More... | |
ROSE_DLL_API SgScopeStatement * | topScopeStack () |
intended to be a private member, don't access it directly. could be changed any time More... | |
ROSE_DLL_API bool | emptyScopeStack () |
intended to be a private member, don't access it directly. could be changed any time More... | |
ROSE_DLL_API void | clearScopeStack () |
intended to be a private member, don't access it directly. could be changed any time More... | |
SgScopeStatement * | 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 | inSwitchScope () |
intended to be a private member, don't access it directly. could be changed any time More... | |