Class DetectMacroOrIncludeFileExpansions#
Defined in File detectMacroOrIncludeFileExpansions.h
Inheritance Relationships#
Base Type#
public SgTopDownBottomUpProcessing< DetectMacroOrIncludeFileExpansionsInheritedAttribute, DetectMacroOrIncludeFileExpansionsSynthesizedAttribute >(Template Class SgTopDownBottomUpProcessing)
Class Documentation#
-
class DetectMacroOrIncludeFileExpansions : public SgTopDownBottomUpProcessing<DetectMacroOrIncludeFileExpansionsInheritedAttribute, DetectMacroOrIncludeFileExpansionsSynthesizedAttribute>#
Public Functions
-
DetectMacroOrIncludeFileExpansions(SgSourceFile *input_sourceFile, std::map<SgNode*, TokenStreamSequenceToNodeMapping*> &input_tokenStreamSequenceMap)#
-
DetectMacroOrIncludeFileExpansionsInheritedAttribute evaluateInheritedAttribute(SgNode *n, DetectMacroOrIncludeFileExpansionsInheritedAttribute inheritedAttribute)#
-
DetectMacroOrIncludeFileExpansionsSynthesizedAttribute evaluateSynthesizedAttribute(SgNode *n, DetectMacroOrIncludeFileExpansionsInheritedAttribute inheritedAttribute, SubTreeSynthesizedAttributes synthesizedAttributeList)#
-
MacroExpansion *isPartOfMacroExpansion(SgStatement *statement, std::string &name, int &startingToken, int &endingToken)#
-
MacroExpansion *isPartOfMacroExpansion(SgLocatedNode *locatedNode, std::string &name, int &startingToken, int &endingToken)#
Public Members
-
std::map<SgNode*, TokenStreamSequenceToNodeMapping*> &tokenStreamSequenceMap#
-
SgSourceFile *sourceFile#
-
std::vector<MacroExpansion*> macroExpansionStack#
-
DetectMacroOrIncludeFileExpansions(SgSourceFile *input_sourceFile, std::map<SgNode*, TokenStreamSequenceToNodeMapping*> &input_tokenStreamSequenceMap)#