Class DetectMacroOrIncludeFileExpansions#

Inheritance Relationships#

Base Type#

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#