|
Envision
A visual programming IDE for object-oriented languages
|
The AlloyVisitor class transforms a class into Alloy compatible code. More...
Static Public Member Functions | |
| static void | init () |
Static Public Member Functions inherited from Model::Visitor< AlloyVisitor, Export::SourceFragment * > | |
| static void | addType (std::function< Export::SourceFragment *(AlloyVisitor *, NodeType *)> f) |
Static Private Member Functions | |
| template<typename ListElement > | |
| static Export::SourceFragment * | list (Model::TypedList< ListElement > *aList, AlloyVisitor *v, const QString &fragmentType={}) |
Static Private Attributes | |
| static QString | currentClass_ = "" |
| static bool | inContract_ = false |
| static bool | inFact_ = false |
Additional Inherited Members | |
Public Types inherited from Model::Visitor< AlloyVisitor, Export::SourceFragment * > | |
| using | BaseVisitorType = AlloyVisitor |
| using | VisitFunctionInstance = std::function< Export::SourceFragment *(AlloyVisitor *, Node *)> |
| using | VisitorResultType = Export::SourceFragment * |
Public Member Functions inherited from Model::Visitor< AlloyVisitor, Export::SourceFragment * > | |
| virtual | ~Visitor () |
| Export::SourceFragment * | visit (Node *n) |
| virtual Export::SourceFragment * | visitChildren (Node *n) |
Protected Member Functions inherited from Model::Visitor< AlloyVisitor, Export::SourceFragment * > | |
| virtual VisitFunctionInstance | findFunctionForId (int id) |
The AlloyVisitor class transforms a class into Alloy compatible code.
It uses the code contracts specified in a class to generate spefifications of the Alloy models.
|
static |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |