Envision
A visual programming IDE for object-oriented languages
|
Public Member Functions | |
ErrorType (const QString &message, const ReferenceExpression *unresolvedReference=nullptr) | |
virtual ErrorType * | clone () const override |
virtual bool | equals (const Type *other) const override |
virtual bool | isError () const override |
Returns true if this is an error type. More... | |
const QString & | message () const |
const ReferenceExpression * | unresolvedReference () const |
Public Member Functions inherited from OOModel::Type | |
Type (bool isValueType) | |
Type (const Type &other) | |
virtual | ~Type () |
bool | isValueType () const |
Returns true if the this type belongs to an expression representing a value. More... | |
Qualifiers | qualifiers () const |
TypeSystem::TypeRelations | relationTo (const Type *other) const |
void | setQualifiers (Qualifiers q, bool enable=true) |
void | setValueType (bool isValueType) |
Private Attributes | |
QString | message_ |
const ReferenceExpression * | unresolvedReference_ {} |
Additional Inherited Members | |
Public Types inherited from OOModel::Type | |
enum | Qualifier { CONST = 0x1 , VOLATILE = 0x2 } |
using | Qualifiers = QFlags< Qualifier > |
OOModel::ErrorType::ErrorType | ( | const QString & | message, |
const ReferenceExpression * | unresolvedReference = nullptr |
||
) |
|
overridevirtual |
Implements OOModel::Type.
|
overridevirtual |
Implements OOModel::Type.
|
overridevirtual |
Returns true if this is an error type.
The default implementation returns false.
Reimplemented from OOModel::Type.
|
inline |
|
inline |
|
private |
|
private |