Envision
A visual programming IDE for object-oriented languages
|
Public Member Functions | |
ValueAtReturnVisitor () | |
int | numUnwrapped () |
int | numWrapped () |
virtual Model::Node * | visitChildren (Model::Node *n) |
Public Member Functions inherited from Model::Visitor< ValueAtReturnVisitor, Model::Node * > | |
virtual | ~Visitor () |
Model::Node * | visit (Node *n) |
Static Public Member Functions | |
static void | init () |
static void | setMethods (OOModel::Method *ensuresMethod, OOModel::Method *valueAtReturnMethod) |
static Model::Node * | visitMethodCall (ValueAtReturnVisitor *v, OOModel::MethodCallExpression *call) |
static Model::Node * | visitReference (ValueAtReturnVisitor *v, OOModel::ReferenceExpression *ref) |
Static Public Member Functions inherited from Model::Visitor< ValueAtReturnVisitor, Model::Node * > | |
static void | addType (std::function< Model::Node *(ValueAtReturnVisitor *, NodeType *)> f) |
Private Attributes | |
bool | inEnsuresCall_ |
bool | inValueAtReturnCall_ |
int | numUnwrapped_ |
int | numWrapped_ |
bool | outReference_ |
Static Private Attributes | |
static OOModel::Method * | ensuresMethod_ = nullptr |
static OOModel::Method * | valueAtReturnMethod_ = nullptr |
Additional Inherited Members | |
Public Types inherited from Model::Visitor< ValueAtReturnVisitor, Model::Node * > | |
using | BaseVisitorType = ValueAtReturnVisitor |
using | VisitFunctionInstance = std::function< Model::Node *(ValueAtReturnVisitor *, Node *)> |
using | VisitorResultType = Model::Node * |
Protected Member Functions inherited from Model::Visitor< ValueAtReturnVisitor, Model::Node * > | |
virtual VisitFunctionInstance | findFunctionForId (int id) |
ContractsLibrary::ValueAtReturnVisitor::ValueAtReturnVisitor | ( | ) |
|
static |
|
inline |
|
inline |
|
static |
|
virtual |
Reimplemented from Model::Visitor< ValueAtReturnVisitor, Model::Node * >.
|
static |
|
static |
|
staticprivate |
|
private |
|
private |
|
private |
|
private |
|
private |
|
staticprivate |