|
Envision
A visual programming IDE for object-oriented languages
|
Public Member Functions | |
| Expression (const int type, Operator *parent=nullptr) | |
| virtual | ~Expression () |
| virtual void | accept (ExpressionVisitor *visitor)=0 |
| virtual ExpressionContext | findContext (int cursor_pos)=0 |
| virtual Expression * | findCutExpression (bool leftside, QString cut_string) |
| int | length () |
| Operator * | parent () |
| void | removeFromParent () |
| virtual QString | renderText ()=0 |
| void | setParent (Operator *new_parent) |
| virtual Expression * | smallestLeftmostSubExpr () |
| virtual Expression * | smallestRightmostSubExpr () |
| int | type () |
Private Attributes | |
| Operator * | parent_ |
| const int | type_ |
| Interaction::Expression::Expression | ( | const int | type, |
| Operator * | parent = nullptr |
||
| ) |
|
virtual |
|
pure virtual |
Implemented in Interaction::Value, Interaction::UnfinishedOperator, Interaction::Operator, and Interaction::Empty.
|
pure virtual |
Implemented in Interaction::Value, Interaction::Operator, and Interaction::Empty.
|
virtual |
Reimplemented in Interaction::Operator.
|
inline |
|
inline |
| void Interaction::Expression::removeFromParent | ( | ) |
|
pure virtual |
Implemented in Interaction::Value, Interaction::UnfinishedOperator, Interaction::Operator, and Interaction::Empty.
| void Interaction::Expression::setParent | ( | Operator * | new_parent | ) |
|
virtual |
Reimplemented in Interaction::Operator.
|
virtual |
Reimplemented in Interaction::Operator.
|
inline |
|
private |
|
private |