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

Public Member Functions

Export::SourceFragmentprintAnnotationsAndModifiers (OOModel::Declaration *declaration)
 
Export::SourceFragmentvisit (OOModel::Class *classs)
 
Export::SourceFragmentvisit (OOModel::Declaration *declaration)
 
Export::SourceFragmentvisit (OOModel::ExplicitTemplateInstantiation *eti)
 
Export::SourceFragmentvisit (OOModel::Method *method)
 
Export::SourceFragmentvisit (OOModel::NameImport *nameImport)
 
Export::SourceFragmentvisit (OOModel::TypeAlias *ta)
 
Export::SourceFragmentvisit (OOModel::VariableDeclaration *vd)
 
Export::SourceDirvisitModule (OOModel::Module *module, Export::SourceDir *parent)
 
Export::SourceDirvisitProject (OOModel::Project *project, Export::SourceDir *parent=nullptr)
 
Export::SourceFilevisitTopLevelClass (OOModel::Class *classs, Export::SourceDir *parent)
 
- 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

QString packagesSoFar ()
 
QStringList & packageStack ()
 

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

◆ packagesSoFar()

QString JavaExport::DeclarationVisitor::packagesSoFar ( )
inlineprivate

◆ packageStack()

QStringList & JavaExport::DeclarationVisitor::packageStack ( )
inlineprivate

◆ printAnnotationsAndModifiers()

SourceFragment * JavaExport::DeclarationVisitor::printAnnotationsAndModifiers ( OOModel::Declaration declaration)

◆ visit() [1/7]

SourceFragment * JavaExport::DeclarationVisitor::visit ( OOModel::Class classs)

◆ visit() [2/7]

SourceFragment * JavaExport::DeclarationVisitor::visit ( OOModel::Declaration declaration)

◆ visit() [3/7]

SourceFragment * JavaExport::DeclarationVisitor::visit ( OOModel::ExplicitTemplateInstantiation eti)

◆ visit() [4/7]

SourceFragment * JavaExport::DeclarationVisitor::visit ( OOModel::Method method)

◆ visit() [5/7]

SourceFragment * JavaExport::DeclarationVisitor::visit ( OOModel::NameImport nameImport)

◆ visit() [6/7]

SourceFragment * JavaExport::DeclarationVisitor::visit ( OOModel::TypeAlias ta)

◆ visit() [7/7]

SourceFragment * JavaExport::DeclarationVisitor::visit ( OOModel::VariableDeclaration vd)

◆ visitModule()

SourceDir * JavaExport::DeclarationVisitor::visitModule ( OOModel::Module module,
Export::SourceDir parent 
)

◆ visitProject()

SourceDir * JavaExport::DeclarationVisitor::visitProject ( OOModel::Project project,
Export::SourceDir parent = nullptr 
)

◆ visitTopLevelClass()

SourceFile * JavaExport::DeclarationVisitor::visitTopLevelClass ( OOModel::Class classs,
Export::SourceDir parent 
)