Envision
A visual programming IDE for object-oriented languages
List of all members | Public Types | Public Member Functions
OOModel::AssignmentExpression Class Reference
Inheritance diagram for OOModel::AssignmentExpression:
Core::Reflect< Base >

Public Types

enum  AssignmentTypes { ASSIGN , PLUS_ASSIGN , MINUS_ASSIGN , TIMES_ASSIGN , DIVIDE_ASSIGN , BIT_AND_ASSIGN , BIT_OR_ASSIGN , BIT_XOR_ASSIGN , REMAINDER_ASSIGN , LEFT_SHIFT_ASSIGN , RIGHT_SHIFT_SIGNED_ASSIGN , RIGHT_SHIFT_UNSIGNED_ASSIGN }
 

Public Member Functions

 AssignmentExpression (const AssignmentTypes &op, Expression *left=nullptr, Expression *right=nullptr)
 
AssignmentTypes op () const
 
void setOp (const AssignmentTypes &oper)
 
virtual std::unique_ptr< Typetype () override
 

Additional Inherited Members

- Protected Types inherited from Core::Reflect< Base >
using Super = Reflect< Base >
 

Member Enumeration Documentation

◆ AssignmentTypes

Enumerator
ASSIGN 
PLUS_ASSIGN 
MINUS_ASSIGN 
TIMES_ASSIGN 
DIVIDE_ASSIGN 
BIT_AND_ASSIGN 
BIT_OR_ASSIGN 
BIT_XOR_ASSIGN 
REMAINDER_ASSIGN 
LEFT_SHIFT_ASSIGN 
RIGHT_SHIFT_SIGNED_ASSIGN 
RIGHT_SHIFT_UNSIGNED_ASSIGN 

Constructor & Destructor Documentation

◆ AssignmentExpression()

OOModel::AssignmentExpression::AssignmentExpression ( const AssignmentTypes op,
Expression left = nullptr,
Expression right = nullptr 
)

Member Function Documentation

◆ op()

AssignmentExpression::AssignmentTypes OOModel::AssignmentExpression::op ( ) const
inline

◆ setOp()

void OOModel::AssignmentExpression::setOp ( const AssignmentTypes oper)
inline

◆ type()

std::unique_ptr< Type > OOModel::AssignmentExpression::type ( )
overridevirtual