Skip to content

IncludingPreprocessingInfosCollector

Synopsis

Declared in <SageIII/includeDirectivesProcessing/IncludingPreprocessingInfosCollector.h>

class IncludingPreprocessingInfosCollector
    : public AstSimpleProcessing

Base Classes

Name Description
AstSimpleProcessing Class for traversing the AST.

Member Functions

Name Description
IncludingPreprocessingInfosCollector
explicit IncludingPreprocessingInfosCollector(SgProject* projectNode); [constructor]
Construct from SgProject
~IncludingPreprocessingInfosCollector
virtual ~IncludingPreprocessingInfosCollector(); [destructor] [virtual]
Destructor
collect
std::map<std::string, std::set<PreprocessingInfo*>> collect();
getIncludedFilesMap
std::map<std::string, std::set<std::string>> const& getIncludedFilesMap() const;

Protected Member Functions

Name
visit
virtual void visit(SgNode* astNode); [virtual]

Private Member Functions

Name
collectFromSourceFile
void collectFromSourceFile(SgSourceFile* sourceFile);
observeIncludePreprocessingInfo
void observeIncludePreprocessingInfo(PreprocessingInfo* preprocessingInfo);

Private Data Members

Name
includingPreprocessingInfosMap
normalizedIncludedFilesMap
observedIncludePreprocessingInfos
processedSourceFiles
projectNode

Created with MrDocs