HTUnresolvedType class

A supposed type, could be a type alias or a nominal type.

The interpreter will later trying to resolved it to a concrete type.

For types other than nominal type, it will resolve to itself.

Inheritance

Constructors

HTUnresolvedType(String? id, {List<HTType> typeArgs = const [], bool isNullable = false})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
id String
no setteroverride
isBottom bool
no setterinherited
isNullable bool
final
isResolved bool
no setteroverride
isTop bool
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
typeArgs List<HTType>
final
valueType HTType?
no setterinherited

Methods

contains(String varName) bool
inherited
isA(HTType? other) bool
Check wether value of this HTType can be assigned to other HTType.
inherited
isNotA(HTType? other) bool
Wether object of this HTType cannot be assigned to other HTType
inherited
memberGet(String varName, {String? from}) → dynamic
Fetch a member by the varName, in the form of
inherited
memberSet(String varName, dynamic varValue, {String? from}) → void
Assign a value to a member by the varName, in the form of
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolve(HTDeclarationNamespace namespace) HTType
override
subGet(dynamic varName, {String? from}) → dynamic
Fetch a member by the varName, in the form of
inherited
subSet(dynamic varName, dynamic varValue, {String? from}) → void
Assign a value to a member by the varName, in the form of
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited