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

Public Member Functions

Export::SourceFragmentvisit (OOModel::Expression *expression)
 
- Public Member Functions inherited from Export::Visitor< DeclarationVisitor, ExpressionVisitor, StatementVisitor, ElementVisitor, Export::PrintContext >
 Visitor ()
 
 Visitor (Export::PrintContext printContext)
 
 Visitor (Export::PrintContext printContext, std::shared_ptr< VisitorData< Export::PrintContext >> data)
 
 Visitor (std::shared_ptr< VisitorData< Export::PrintContext >> data)
 
 ~Visitor ()
 
QList< ExportErrorerrors () const
 
Export::PrintContextprintContext ()
 

Private Member Functions

template<typename T >
Export::SourceFragmentoptional (T *node)
 

Additional Inherited Members

- Protected Member Functions inherited from Export::Visitor< DeclarationVisitor, ExpressionVisitor, StatementVisitor, ElementVisitor, Export::PrintContext >
std::shared_ptr< VisitorData< Export::PrintContext > > 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

◆ optional()

template<typename T >
Export::SourceFragment * JavaExport::ExpressionVisitor::optional ( T *  node)
private

◆ visit()

SourceFragment * JavaExport::ExpressionVisitor::visit ( OOModel::Expression expression)