Envision
A visual programming IDE for object-oriented languages
|
Implements a visitor to find a Java main-method. More...
Public Member Functions | |
virtual OOModel::Method * | visitChildren (Model::Node *n) override |
Public Member Functions inherited from Model::Visitor< MainMethodFinder, OOModel::Method * > | |
virtual | ~Visitor () |
OOModel::Method * | visit (Node *n) |
Static Public Member Functions | |
static void | init () |
Static Public Member Functions inherited from Model::Visitor< MainMethodFinder, OOModel::Method * > | |
static void | addType (std::function< OOModel::Method *(MainMethodFinder *, NodeType *)> f) |
Static Private Member Functions | |
static OOModel::Method * | visitMethod (MainMethodFinder *, OOModel::Method *m) |
Additional Inherited Members | |
Public Types inherited from Model::Visitor< MainMethodFinder, OOModel::Method * > | |
using | BaseVisitorType = MainMethodFinder |
using | VisitFunctionInstance = std::function< OOModel::Method *(MainMethodFinder *, Node *)> |
using | VisitorResultType = OOModel::Method * |
Protected Member Functions inherited from Model::Visitor< MainMethodFinder, OOModel::Method * > | |
virtual VisitFunctionInstance | findFunctionForId (int id) |
Implements a visitor to find a Java main-method.
This is helpful e.g. when trying to run the program.
|
static |
|
overridevirtual |
Reimplemented from Model::Visitor< MainMethodFinder, OOModel::Method * >.
|
staticprivate |