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

Public Member Functions

 CommaExpression (Expression *left, Expression *right)
 
QList< Expression * > allSubOperands (bool detachOperands)
 Returns in a single list all expressions of this and nested CommaExpression operators. More...
 
virtual bool findSymbols (std::unique_ptr< Model::ResolutionRequest > request) const override
 
virtual std::unique_ptr< Typetype () override
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ CommaExpression()

OOModel::CommaExpression::CommaExpression ( Expression left,
Expression right 
)

Member Function Documentation

◆ allSubOperands()

QList< Expression * > OOModel::CommaExpression::allSubOperands ( bool  detachOperands)

Returns in a single list all expressions of this and nested CommaExpression operators.

If detachOperands is set all returned expressions will have no parents and the CommaExpression can be deleted.

◆ findSymbols()

bool OOModel::CommaExpression::findSymbols ( std::unique_ptr< Model::ResolutionRequest request) const
overridevirtual

◆ type()

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