Envision
A visual programming IDE for object-oriented languages
|
A visitor for template arguments. More...
Public Member Functions | |
TemplateArgumentVisitor (ClangHelpers &clang, ExpressionVisitor *vis, CppImportUtilities *util, CppImportLogger *log) | |
OOModel::FormalTypeArgument * | translateTemplateArg (clang::Decl *d) |
Translates the template argument declaration d. More... | |
bool | TraverseNonTypeTemplateParmDecl (clang::NonTypeTemplateParmDecl *nonTypeTemplateParm) |
bool | TraverseTemplateTypeParmDecl (clang::TemplateTypeParmDecl *templateParm) |
bool | VisitDecl (clang::Decl *decl) |
Private Attributes | |
ClangHelpers & | clang_ |
const QString | className_ {"TemplateArgumentVisitor"} |
ExpressionVisitor * | exprVisitor_ {} |
OOModel::FormalTypeArgument * | lastTranslatedTypeArg_ {} |
CppImportLogger * | log_ {} |
CppImportUtilities * | utils_ {} |
A visitor for template arguments.
CppImport::TemplateArgumentVisitor::TemplateArgumentVisitor | ( | ClangHelpers & | clang, |
ExpressionVisitor * | vis, | ||
CppImportUtilities * | util, | ||
CppImportLogger * | log | ||
) |
OOModel::FormalTypeArgument * CppImport::TemplateArgumentVisitor::translateTemplateArg | ( | clang::Decl * | d | ) |
Translates the template argument declaration d.
Returns the translated node.
bool CppImport::TemplateArgumentVisitor::TraverseNonTypeTemplateParmDecl | ( | clang::NonTypeTemplateParmDecl * | nonTypeTemplateParm | ) |
bool CppImport::TemplateArgumentVisitor::TraverseTemplateTypeParmDecl | ( | clang::TemplateTypeParmDecl * | templateParm | ) |
bool CppImport::TemplateArgumentVisitor::VisitDecl | ( | clang::Decl * | decl | ) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |