Skip to content

AttachPreprocessingInfoTreeTrav

Synopsis

Declared in <SageIII/attachPreprocessingInfoTraversal.h>

class AttachPreprocessingInfoTreeTrav
    : public SgTopDownBottomUpProcessing<AttachPreprocessingInfoTreeTraversalInheritedAttrribute, AttachPreprocessingInfoTreeTraversalSynthesizedAttribute>

Base Classes

Name Description
SgTopDownBottomUpProcessing<AttachPreprocessingInfoTreeTraversalInheritedAttrribute, AttachPreprocessingInfoTreeTraversalSynthesizedAttribute>

Member Functions

Name Description
AttachPreprocessingInfoTreeTrav
AttachPreprocessingInfoTreeTrav( SgSourceFile* file, ROSEAttributesList* listOfAttributes); [constructor]
~AttachPreprocessingInfoTreeTrav
virtual ~AttachPreprocessingInfoTreeTrav(); [destructor] [virtual]
Destructor
evaluateInheritedAttribute
virtual AttachPreprocessingInfoTreeTraversalInheritedAttrribute evaluateInheritedAttribute( SgNode* n, AttachPreprocessingInfoTreeTraversalInheritedAttrribute inh); [virtual]
evaluateSynthesizedAttribute
virtual AttachPreprocessingInfoTreeTraversalSynthesizedAttribute evaluateSynthesizedAttribute( SgNode* n, AttachPreprocessingInfoTreeTraversalInheritedAttrribute inh, SubTreeSynthesizedAttributes st); [virtual]
handleBracedScopes
void handleBracedScopes( SgLocatedNode* previousLocatedNode, SgStatement* bracedScope, int lineOfClosingBrace, ROSEAttributesList* currentListOfAttributes);
iterateOverListAndInsertPreviouslyUninsertedElementsAppearingBeforeLineNumber
void iterateOverListAndInsertPreviouslyUninsertedElementsAppearingBeforeLineNumber( SgLocatedNode* locatedNode, int lineNumber, PreprocessingInfo::RelativePositionType location, bool reset_start_index, ROSEAttributesList* currentListOfAttributes);

Static Member Functions

Name
buildCommentAndCppDirectiveList
static ROSEAttributesList* buildCommentAndCppDirectiveList( SgSourceFile* sourceFile, std::string currentFilename, std::string new_filename);

Protected Data Members

Name
currentListOfAttributes
previousLocatedNode
sourceFile
source_file_id
start_index
target_source_file_id

Created with MrDocs