Envision
A visual programming IDE for object-oriented languages
List of all members | Public Member Functions | Static Public Member Functions | Private Attributes
Interaction::Value Class Reference
Inheritance diagram for Interaction::Value:
Interaction::Expression

Public Member Functions

 Value (const QString &text, Operator *parent=nullptr)
 
virtual void accept (ExpressionVisitor *visitor)
 
virtual ExpressionContext findContext (int cursor_pos)
 
virtual QString renderText ()
 
void setText (const QString &new_text)
 
QString text ()
 
- Public Member Functions inherited from Interaction::Expression
 Expression (const int type, Operator *parent=nullptr)
 
virtual ~Expression ()
 
virtual ExpressionfindCutExpression (bool leftside, QString cut_string)
 
int length ()
 
Operatorparent ()
 
void removeFromParent ()
 
void setParent (Operator *new_parent)
 
virtual ExpressionsmallestLeftmostSubExpr ()
 
virtual ExpressionsmallestRightmostSubExpr ()
 
int type ()
 

Static Public Member Functions

static int type ()
 

Private Attributes

QString text_
 

Constructor & Destructor Documentation

◆ Value()

Interaction::Value::Value ( const QString &  text,
Operator parent = nullptr 
)

Member Function Documentation

◆ accept()

void Interaction::Value::accept ( ExpressionVisitor visitor)
virtual

◆ findContext()

ExpressionContext Interaction::Value::findContext ( int  cursor_pos)
virtual

◆ renderText()

QString Interaction::Value::renderText ( )
virtual

◆ setText()

void Interaction::Value::setText ( const QString &  new_text)
inline

◆ text()

QString Interaction::Value::text ( )
inline

◆ type()

int Interaction::Value::type ( )
inlinestatic

Member Data Documentation

◆ text_

QString Interaction::Value::text_
private