Envision
A visual programming IDE for object-oriented languages
|
Public Member Functions | |
Optional< TupleSet > | executeLinear (TupleSet input) override |
Optional< int > | visualize (const TupleSet &ts) |
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 | cleanScene () |
static void | registerDefaultQueries () |
Private Types | |
using | TaggedValue = std::pair< QString, QString > |
Private Member Functions | |
QueryResultVisualizer (Model::Node *target, QStringList args, QueryExecutor *executor=nullptr) | |
Optional< QHash< Model::Node *, QString > > | convertTuplesToString (const QHash< Model::Node *, QList< Tuple >> &infos) |
Optional< QHash< Model::Node *, QString > > | extractInfo (const TupleSet &ts) |
Optional< std::vector< TaggedValue > > | infoArgumentValues () |
void | visualizeMessages (const TupleSet &ts) |
Static Private Member Functions | |
static QHash< Model::Node *, QStringList > | extractColors (const TupleSet &ts) |
static void | setColor (Visualization::HighlightOverlay *overlay, QColor color) |
static void | showASTRelation (const TupleSet &ts, const QString &relationName) |
Private Attributes | |
ArgumentParser | arguments_ |
QueryExecutor * | executor_ |
Static Private Attributes | |
static const QString | ARROW_OVERLAY_GROUP = {"default arrow"} |
static constexpr int | DEFAULT_ALPHA_ {60} |
static const QString | HIGHLIGHT_OVERLAY_GROUP = {"default graph highlight"} |
static const QStringList | INFO_ARGUMENT_NAMES {"i", "info"} |
static const QString | MESSAGE_OVERLAY_GROUP = {"default message overlay"} |
static const QStringList | SORT_ARGUMENT_NAMES {"s", "sort"} |
Friends | |
class | QueryRegistry |
|
private |
|
private |
|
static |
|
private |
|
overridevirtual |
Implements InformationScripting::LinearQuery.
|
staticprivate |
|
private |
|
private |
|
static |
|
staticprivate |
|
staticprivate |
|
private |
Ignore this tuple
|
friend |
|
private |
|
staticprivate |
|
staticconstexprprivate |
|
private |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |