Envision
A visual programming IDE for object-oriented languages
|
Public Member Functions | |
Visitor () | |
Visitor (PrintContext printContext) | |
Visitor (PrintContext printContext, std::shared_ptr< VisitorData< PrintContext >> data) | |
Visitor (std::shared_ptr< VisitorData< PrintContext >> data) | |
~Visitor () | |
QList< ExportError > | errors () const |
PrintContext & | printContext () |
Protected Member Functions | |
std::shared_ptr< VisitorData< PrintContext > > | data () |
template<typename NodeType > | |
SourceFragment * | declaration (NodeType *node) |
template<typename NodeType > | |
SourceFragment * | element (NodeType *node) |
void | error (const QString &errorMessage) |
void | error (Model::Node *node, const QString &errorMessage) |
template<typename NodeType > | |
SourceFragment * | expression (NodeType *node) |
template<typename ListElement , typename VisitorClass , typename Predicate = bool (*)(ListElement*)> | |
CompositeFragment * | list (Model::TypedList< ListElement > *list, VisitorClass &&v, const QString &fragmentType={}, Predicate filter=nullptr) |
template<typename ListElement , typename VisitorClass , typename Predicate = bool (*)(ListElement*)> | |
CompositeFragment * | list (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) |
template<typename NodeType > | |
SourceFragment * | statement (NodeType *node) |
Private Attributes | |
std::shared_ptr< VisitorData< PrintContext > > | data_ |
Export::Visitor< DeclarationVisitor, ExpressionVisitor, StatementVisitor, ElementVisitor, PrintContext >::Visitor |
Export::Visitor< DeclarationVisitor, ExpressionVisitor, StatementVisitor, ElementVisitor, PrintContext >::Visitor | ( | std::shared_ptr< VisitorData< PrintContext >> | data | ) |
Export::Visitor< DeclarationVisitor, ExpressionVisitor, StatementVisitor, ElementVisitor, PrintContext >::Visitor | ( | PrintContext | printContext | ) |
Export::Visitor< DeclarationVisitor, ExpressionVisitor, StatementVisitor, ElementVisitor, PrintContext >::Visitor | ( | PrintContext | printContext, |
std::shared_ptr< VisitorData< PrintContext >> | data | ||
) |
Export::Visitor< DeclarationVisitor, ExpressionVisitor, StatementVisitor, ElementVisitor, PrintContext >::~Visitor |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inline |
|
inlineprotected |
|
inlineprotected |
|
protected |
|
protected |
|
protected |
|
inline |
|
protected |
|
inlineprotected |
|
private |