Envision
A visual programming IDE for object-oriented languages
|
Public Types | |
enum class | QualificationType { ParentClass , Using } |
Static Public Member Functions | |
static CodeComposite * | apiInclude (Model::Node *node) |
static QString | exportFlag (Model::Node *node) |
static OOModel::Declaration * | firstValidAncestorPrintContext (Model::Node *node) |
static bool | isInHeader (OOModel::Method *method, CppPrintContext &printContext) |
static bool | isSignalingDeclaration (OOModel::Declaration *declaration) |
static bool | methodSignaturesMatch (OOModel::Method *method, OOModel::Method *other) |
static OOModel::Module * | parentNamespaceModule (Model::Node *node) |
static QString | pluginName (Model::Node *node) |
static bool | printDeclarationQualifier (QualificationType qualification, Export::CompositeFragment *fragment, OOModel::Declaration *from, OOModel::Class *parentClass, Model::Node *to, bool printTypename=false) |
Adds additional qualifications for references, if needed. More... | |
static bool | shouldExportMethod (OOModel::Method *method, bool isHeaderVisitor, bool isSourceVisitor) |
used to prevent exporting of declarations already provided in a meta call of the parent. More... | |
static QString | strip_CPPFromName (Model::Node *node) |
template<typename T > | |
static QList< T * > | topologicalSort (QHash< T *, QSet< T * >> dependsOn, std::function< T *(QList< T * > &, T *)> selector=nullptr) |
|
strong |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Adds additional qualifications for references, if needed.
Returns true if any qualifications were added.
There are two cases where references need additional qualifications:
Note that the type is exclusive, either one or the other qualification is applied.
parentClass is the parent class that should be considered for parentClass qualifications. This is needed in order to also consider all classes from which parentClass inherits, as their scopes also provide accessible symbols.
|
static |
used to prevent exporting of declarations already provided in a meta call of the parent.
|
static |
|
static |