Envision
A visual programming IDE for object-oriented languages
List of all members | Public Member Functions | Private Attributes
CppImport::PPCallback Class Reference

used to get all necessary information for macro import from the preprocessor. More...

Inheritance diagram for CppImport::PPCallback:

Public Member Functions

 PPCallback (MacroDefinitions &macroDefinitions, MacroExpansions &macroExpansions)
 
virtual void MacroExpands (const clang::Token &MacroNameTok, const clang::MacroDefinition &md, clang::SourceRange range, const clang::MacroArgs *args) override
 

Private Attributes

MacroDefinitionsmacroDefinitions_
 
MacroExpansionsmacroExpansions_
 

Detailed Description

used to get all necessary information for macro import from the preprocessor.

Constructor & Destructor Documentation

◆ PPCallback()

CppImport::PPCallback::PPCallback ( MacroDefinitions macroDefinitions,
MacroExpansions macroExpansions 
)
inline

Member Function Documentation

◆ MacroExpands()

void CppImport::PPCallback::MacroExpands ( const clang::Token &  MacroNameTok,
const clang::MacroDefinition &  md,
clang::SourceRange  range,
const clang::MacroArgs *  args 
)
overridevirtual

Member Data Documentation

◆ macroDefinitions_

MacroDefinitions& CppImport::PPCallback::macroDefinitions_
private

◆ macroExpansions_

MacroExpansions& CppImport::PPCallback::macroExpansions_
private