Envision
A visual programming IDE for object-oriented languages
|
Implements a visitor to find all references to some node. More...
Public Member Functions | |
void | clearReferences () |
QList< OOModel::ReferenceExpression * > | references () const |
void | setSearchNode (Model::Node *searchNode) |
Public Member Functions inherited from Model::Visitor< ReferenceFinder, OOModel::ReferenceExpression * > | |
virtual | ~Visitor () |
OOModel::ReferenceExpression * | visit (Node *n) |
virtual OOModel::ReferenceExpression * | visitChildren (Node *n) |
Static Public Member Functions | |
static void | init () |
Static Public Member Functions inherited from Model::Visitor< ReferenceFinder, OOModel::ReferenceExpression * > | |
static void | addType (std::function< OOModel::ReferenceExpression *(ReferenceFinder *, NodeType *)> f) |
Static Private Member Functions | |
static OOModel::ReferenceExpression * | visitReferenceExpression (ReferenceFinder *self, OOModel::ReferenceExpression *m) |
Private Attributes | |
QList< OOModel::ReferenceExpression * > | references_ |
Model::Node * | searchNode_ |
Additional Inherited Members | |
Public Types inherited from Model::Visitor< ReferenceFinder, OOModel::ReferenceExpression * > | |
using | BaseVisitorType = ReferenceFinder |
using | VisitFunctionInstance = std::function< OOModel::ReferenceExpression *(ReferenceFinder *, Node *)> |
using | VisitorResultType = OOModel::ReferenceExpression * |
Protected Member Functions inherited from Model::Visitor< ReferenceFinder, OOModel::ReferenceExpression * > | |
virtual VisitFunctionInstance | findFunctionForId (int id) |
Implements a visitor to find all references to some node.
|
inline |
|
static |
|
inline |
|
inline |
|
staticprivate |
|
private |
|
private |