Envision
A visual programming IDE for object-oriented languages
List of all members | Public Member Functions
CppExport::ElementVisitor Class Reference
Inheritance diagram for CppExport::ElementVisitor:
Export::Visitor< DeclarationVisitor, ExpressionVisitor, StatementVisitor, ElementVisitor, CppPrintContext >

Public Member Functions

Export::SourceFragmentvisit (OOModel::CatchClause *catchClause)
 
Export::SourceFragmentvisit (OOModel::Enumerator *enumerator)
 
Export::SourceFragmentvisit (OOModel::FormalArgument *argument)
 
Export::SourceFragmentvisit (OOModel::FormalMetaArgument *argument)
 
Export::SourceFragmentvisit (OOModel::FormalResult *result)
 
Export::SourceFragmentvisit (OOModel::FormalTypeArgument *typeArgument)
 
Export::SourceFragmentvisit (OOModel::MemberInitializer *memberInitializer)
 
Export::SourceFragmentvisitTemplateArguments (Model::TypedList< OOModel::FormalTypeArgument > *typeArguments)
 
- Public Member Functions inherited from Export::Visitor< DeclarationVisitor, ExpressionVisitor, StatementVisitor, ElementVisitor, CppPrintContext >
 Visitor ()
 
 Visitor (CppPrintContext printContext)
 
 Visitor (CppPrintContext printContext, std::shared_ptr< VisitorData< CppPrintContext >> data)
 
 Visitor (std::shared_ptr< VisitorData< CppPrintContext >> data)
 
 ~Visitor ()
 
QList< ExportErrorerrors () const
 
CppPrintContext & printContext ()
 

Additional Inherited Members

- Protected Member Functions inherited from Export::Visitor< DeclarationVisitor, ExpressionVisitor, StatementVisitor, ElementVisitor, CppPrintContext >
std::shared_ptr< VisitorData< CppPrintContext > > data ()
 
SourceFragmentdeclaration (NodeType *node)
 
SourceFragmentelement (NodeType *node)
 
void error (const QString &errorMessage)
 
void error (Model::Node *node, const QString &errorMessage)
 
SourceFragmentexpression (NodeType *node)
 
CompositeFragmentlist (Model::TypedList< ListElement > *list, VisitorClass &&v, const QString &fragmentType={}, Predicate filter=nullptr)
 
CompositeFragmentlist (Model::TypedList< ListElement > *list, VisitorClass *v, const QString &fragmentType={}, Predicate filter=nullptr)
 
void notAllowed (Model::List *list)
 
void notAllowed (Model::Node *node)
 
void required (Model::Node *parent, Model::Node *node, const QString &childName)
 
SourceFragmentstatement (NodeType *node)
 

Member Function Documentation

◆ visit() [1/7]

SourceFragment * CppExport::ElementVisitor::visit ( OOModel::CatchClause catchClause)

◆ visit() [2/7]

SourceFragment * CppExport::ElementVisitor::visit ( OOModel::Enumerator enumerator)

◆ visit() [3/7]

SourceFragment * CppExport::ElementVisitor::visit ( OOModel::FormalArgument argument)

◆ visit() [4/7]

SourceFragment * CppExport::ElementVisitor::visit ( OOModel::FormalMetaArgument argument)

◆ visit() [5/7]

SourceFragment * CppExport::ElementVisitor::visit ( OOModel::FormalResult result)

◆ visit() [6/7]

SourceFragment * CppExport::ElementVisitor::visit ( OOModel::FormalTypeArgument typeArgument)

◆ visit() [7/7]

SourceFragment * CppExport::ElementVisitor::visit ( OOModel::MemberInitializer memberInitializer)

◆ visitTemplateArguments()

SourceFragment * CppExport::ElementVisitor::visitTemplateArguments ( Model::TypedList< OOModel::FormalTypeArgument > *  typeArguments)