Envision
A visual programming IDE for object-oriented languages
|
Public Types | |
using | BaseVisitorType = ConcreteVisitor |
using | VisitFunctionInstance = std::function< Result(ConcreteVisitor *, Node *)> |
using | VisitorResultType = Result |
Public Member Functions | |
virtual | ~Visitor () |
Result | visit (Node *n) |
virtual Result | visitChildren (Node *n) |
Static Public Member Functions | |
template<typename NodeType > | |
static void | addType (std::function< Result(ConcreteVisitor *, NodeType *)> f) |
Protected Member Functions | |
virtual VisitFunctionInstance | findFunctionForId (int id) |
Static Private Member Functions | |
static QVector< VisitFunctionInstance > & | types () |
using Model::Visitor< ConcreteVisitor, Result >::BaseVisitorType = ConcreteVisitor |
using Model::Visitor< ConcreteVisitor, Result >::VisitFunctionInstance = std::function<Result(ConcreteVisitor*, Node*)> |
using Model::Visitor< ConcreteVisitor, Result >::VisitorResultType = Result |
|
virtual |
|
inlinestatic |
|
protectedvirtual |
Reimplemented in Model::ExtendedVisitor< VisitorB, VisitorA >.
|
staticprivate |
Result Model::Visitor< ConcreteVisitor, Result >::visit | ( | Node * | n | ) |
|
virtual |
Reimplemented in OODebug::MainMethodFinder, and ContractsLibrary::ValueAtReturnVisitor.