Envision
A visual programming IDE for object-oriented languages
|
Public Member Functions | |
virtual Optional< TupleSet > | executeLinear (TupleSet input) override |
Public Member Functions inherited from InformationScripting::LinearQuery | |
LinearQuery (Model::Node *target=nullptr) | |
virtual QList< Optional< TupleSet > > | execute (QList< TupleSet > input) override |
Public Member Functions inherited from InformationScripting::Query | |
Query (Model::Node *target=nullptr) | |
virtual | ~Query ()=default |
bool | hasInput () const |
virtual void | setHasInput () |
Model::Node * | target () const |
Static Public Member Functions | |
static void | registerDefaultQueries () |
Private Types | |
using | ExecuteFunction = std::function< Optional< TupleSet >(TagQuery *, TupleSet)> |
Private Member Functions | |
TagQuery (Model::Node *target, QStringList args, ExecuteFunction exec, std::vector< ArgumentRule > argumentRules={}) | |
Optional< TupleSet > | addTags (TupleSet input) |
void | insertFoundTags (TupleSet &tuples, const Model::SymbolMatcher &matcher, Model::Node *from=nullptr) |
Optional< TupleSet > | queryTags (TupleSet input) |
Optional< TupleSet > | removeTags (TupleSet input) |
Optional< TupleSet > | tags (TupleSet input) |
Private Attributes | |
ArgumentParser | arguments_ |
ExecuteFunction | exec_ {} |
bool | persistent_ {true} |
Static Private Attributes | |
static const QStringList | ADD_ARGUMENT_NAMES {"a", "add"} |
static const QStringList | NAME_ARGUMENT_NAMES {"n", "name"} |
static const QStringList | PERSISTENT_ARGUMENT_NAMES {"p", "persistent"} |
static const QStringList | REMOVE_ARGUMENT_NAMES {"r", "remove"} |
Friends | |
class | QueryRegistry |
|
private |
|
private |
|
overridevirtual |
Implements InformationScripting::LinearQuery.
|
private |
|
static |
|
friend |
|
staticprivate |
|
private |
|
private |
|
staticprivate |
|
private |
|
staticprivate |
|
staticprivate |