Envision
A visual programming IDE for object-oriented languages
List of all members | Public Types | Public Member Functions | Private Attributes
Interaction::ExpressionContext Class Reference

Public Types

enum  TokenType { InValue , InOpDelim , Value , OpDelim , OpBoundary , Expr , None , Empty }
 

Public Member Functions

 ExpressionContext ()
 
bool isLeftDelimInfix ()
 
bool isLeftDelimPostfix ()
 
bool isLeftDelimPrefix ()
 
bool isRightDelimInfix ()
 
bool isRightDelimPostfix ()
 
bool isRightDelimPrefix ()
 
int leftDelim ()
 
ExpressionleftExp ()
 
OperatorleftOp ()
 
QString leftText ()
 
TokenType leftType ()
 
Interaction::ValueleftValue ()
 
int rightDelim ()
 
ExpressionrightExp ()
 
OperatorrightOp ()
 
QString rightText ()
 
TokenType rightType ()
 
Interaction::ValuerightValue ()
 
ExpressionContextsetLeft (Expression *expr)
 
ExpressionContextsetLeftDelim (int delim)
 
ExpressionContextsetLeftText (QString text)
 
ExpressionContextsetLeftType (TokenType type)
 
ExpressionContextsetRight (Expression *expr)
 
ExpressionContextsetRightDelim (int delim)
 
ExpressionContextsetRightText (QString text)
 
ExpressionContextsetRightType (TokenType type)
 

Private Attributes

Expressionleft_
 
int left_delim_
 
QString left_text_
 
TokenType left_type_
 
Expressionright_
 
int right_delim_
 
QString right_text_
 
TokenType right_type_
 

Member Enumeration Documentation

◆ TokenType

Enumerator
InValue 
InOpDelim 
Value 
OpDelim 
OpBoundary 
Expr 
None 
Empty 

Constructor & Destructor Documentation

◆ ExpressionContext()

Interaction::ExpressionContext::ExpressionContext ( )

Member Function Documentation

◆ isLeftDelimInfix()

bool Interaction::ExpressionContext::isLeftDelimInfix ( )
inline

◆ isLeftDelimPostfix()

bool Interaction::ExpressionContext::isLeftDelimPostfix ( )

◆ isLeftDelimPrefix()

bool Interaction::ExpressionContext::isLeftDelimPrefix ( )
inline

◆ isRightDelimInfix()

bool Interaction::ExpressionContext::isRightDelimInfix ( )
inline

◆ isRightDelimPostfix()

bool Interaction::ExpressionContext::isRightDelimPostfix ( )

◆ isRightDelimPrefix()

bool Interaction::ExpressionContext::isRightDelimPrefix ( )
inline

◆ leftDelim()

int Interaction::ExpressionContext::leftDelim ( )
inline

◆ leftExp()

Expression * Interaction::ExpressionContext::leftExp ( )

◆ leftOp()

Operator * Interaction::ExpressionContext::leftOp ( )

◆ leftText()

QString Interaction::ExpressionContext::leftText ( )
inline

◆ leftType()

ExpressionContext::TokenType Interaction::ExpressionContext::leftType ( )
inline

◆ leftValue()

Value * Interaction::ExpressionContext::leftValue ( )

◆ rightDelim()

int Interaction::ExpressionContext::rightDelim ( )
inline

◆ rightExp()

Expression * Interaction::ExpressionContext::rightExp ( )

◆ rightOp()

Operator * Interaction::ExpressionContext::rightOp ( )

◆ rightText()

QString Interaction::ExpressionContext::rightText ( )
inline

◆ rightType()

ExpressionContext::TokenType Interaction::ExpressionContext::rightType ( )
inline

◆ rightValue()

Value * Interaction::ExpressionContext::rightValue ( )

◆ setLeft()

ExpressionContext & Interaction::ExpressionContext::setLeft ( Expression expr)
inline

◆ setLeftDelim()

ExpressionContext & Interaction::ExpressionContext::setLeftDelim ( int  delim)
inline

◆ setLeftText()

ExpressionContext & Interaction::ExpressionContext::setLeftText ( QString  text)
inline

◆ setLeftType()

ExpressionContext & Interaction::ExpressionContext::setLeftType ( TokenType  type)
inline

◆ setRight()

ExpressionContext & Interaction::ExpressionContext::setRight ( Expression expr)
inline

◆ setRightDelim()

ExpressionContext & Interaction::ExpressionContext::setRightDelim ( int  delim)
inline

◆ setRightText()

ExpressionContext & Interaction::ExpressionContext::setRightText ( QString  text)
inline

◆ setRightType()

ExpressionContext & Interaction::ExpressionContext::setRightType ( TokenType  type)
inline

Member Data Documentation

◆ left_

Expression* Interaction::ExpressionContext::left_
private

◆ left_delim_

int Interaction::ExpressionContext::left_delim_
private

◆ left_text_

QString Interaction::ExpressionContext::left_text_
private

◆ left_type_

TokenType Interaction::ExpressionContext::left_type_
private

◆ right_

Expression* Interaction::ExpressionContext::right_
private

◆ right_delim_

int Interaction::ExpressionContext::right_delim_
private

◆ right_text_

QString Interaction::ExpressionContext::right_text_
private

◆ right_type_

TokenType Interaction::ExpressionContext::right_type_
private