Envision
A visual programming IDE for object-oriented languages
List of all members | Public Member Functions
OOModel::MemberInitializer Class Reference

This class represent various forms of member initializers. More...

Inheritance diagram for OOModel::MemberInitializer:
Core::Reflect< Base >

Public Member Functions

 MemberInitializer (Expression *memberRef, QList< Expression * > arguments)
 

Additional Inherited Members

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

Detailed Description

This class represent various forms of member initializers.

It may be a call to a super constructor then memberReference will denote the callee of the super constructor with arguemnts. In case of delegating constructors the memberRef shuold be a reference to owner class, as the arguments will contain the arguments. For simple member field initializers the memberReference will contain a reference to the field and arguments are the constructor arguments

Constructor & Destructor Documentation

◆ MemberInitializer()

OOModel::MemberInitializer::MemberInitializer ( Expression memberRef,
QList< Expression * >  arguments 
)