|
Envision
A visual programming IDE for object-oriented languages
|
Public Types | |
| enum | PrimitiveTypes { INT , LONG , UNSIGNED_INT , UNSIGNED_LONG , FLOAT , DOUBLE , BOOLEAN , CHAR , VOID } |
Public Types inherited from OOModel::Type | |
| enum | Qualifier { CONST = 0x1 , VOLATILE = 0x2 } |
| using | Qualifiers = QFlags< Qualifier > |
Public Member Functions | |
| PrimitiveType (PrimitiveTypes type, bool isValueType) | |
| virtual PrimitiveType * | clone () const override |
| virtual bool | equals (const Type *other) const override |
| PrimitiveTypes | type () const |
Public Member Functions inherited from OOModel::Type | |
| Type (bool isValueType) | |
| Type (const Type &other) | |
| virtual | ~Type () |
| virtual bool | isError () const |
| Returns true if this is an error type. More... | |
| 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) |
Static Public Member Functions | |
| static PrimitiveTypes | resultFromBinaryOperation (PrimitiveTypes left, PrimitiveTypes right) |
Private Attributes | |
| PrimitiveTypes | type_ |
| OOModel::PrimitiveType::PrimitiveType | ( | PrimitiveTypes | type, |
| bool | isValueType | ||
| ) |
|
overridevirtual |
Implements OOModel::Type.
|
overridevirtual |
Implements OOModel::Type.
|
static |
|
inline |
|
private |