Namespace SageInterface#
Functions that are useful when operating on the AST.
Detailed Description#
The Sage III IR design attempts to be minimalist. Thus additional functionality is intended to be presented using separate higher level interfaces which work with the IR. This namespace collects functions that operate on the IR and support numerous types of operations that are common to general analysis and transformation of the AST.
Classes#
Functions#
Function SageInterface::appendStatementWithDependentDeclaration
Function SageInterface::collectVariableReferencesInArrayTypes
Function SageInterface::convertFunctionDefinitionsToFunctionPrototypes
Function SageInterface::createTempVariableAndReferenceForExpression
Function SageInterface::deleteExpressionTreeWithOriginalExpressionSubtrees
Function SageInterface::ensureBasicBlockAsBodyOfDefaultOption
Function SageInterface::findSurroundingStatementFromSameFile
Function SageInterface::functionCallExpressionPreceedsDeclarationWhichAssociatesScope
Function SageInterface::generateUniqueNameForUseAsIdentifier
Function SageInterface::generateUniqueNameForUseAsIdentifier_support
Function SageInterface::getAssociatedTypeFromFunctionTypeList
Function SageInterface::getNonInstantiatonDeclarationForClass
Function SageInterface::hasMultipleInitStatmentsOrExpressions
Function SageInterface::insertStatementAfterLastDeclaration()
Function SageInterface::insertStatementAfterLastDeclaration()
Function SageInterface::insertStatementBeforeFirstNonDeclaration
Function SageInterface::insertStatementListBeforeFirstNonDeclaration
Function SageInterface::is_mixed_Fortran_and_C_and_Cxx_language
Function SageInterface::isTemplateInstantiationFromTemplateDeclarationSatisfyingFilter
Function SageInterface::language_may_contain_nondeclarations_in_scope
Function SageInterface::lookupFunctionSymbolInParentScopes()
Function SageInterface::lookupFunctionSymbolInParentScopes()
Function SageInterface::lookupSymbolInParentScopesIgnoringAliasSymbols
Function SageInterface::lookupTemplateClassSymbolInParentScopes
Function SageInterface::lookupTemplateFunctionSymbolInParentScopes
Function SageInterface::lookupTemplateMemberFunctionSymbolInParentScopes
Function SageInterface::lookupTemplateVariableSymbolInParentScopes
Function SageInterface::moveDeclarationToAssociatedNamespace
Function SageInterface::replaceDefiningFunctionDeclarationWithFunctionPrototype
Function SageInterface::replaceMacroCallsWithExpandedStrings
Function SageInterface::setOneSourcePositionForTransformation
Function SageInterface::setSourcePositionAtRootAndAllChildren
Function SageInterface::sortSgNodeListBasedOnAppearanceOrderInSource
Function SageInterface::translateStatementToUseCppDeclarations
Function SageInterface::wrapAllTemplateInstantiationsInAssociatedNamespaces