HTTypeVoid class
A empty
type. A function whose return type is empty.
It may contain return statement, but cannot return any value.
And you cannot use the function call result in any operation.
- Inheritance
-
- Object
- HTType
- HTIntrinsicType
- HTTypeVoid
Constructors
- HTTypeVoid(String? id)
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
finalinherited
- isBottom → bool
-
finalinherited
- isResolved → bool
-
no setterinherited
- isTop → bool
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- 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 ofinherited -
memberSet(
String varName, dynamic varValue, {String? from}) → void -
Assign a value to a member by the
varName
, in the form ofinherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resolve(
HTDeclarationNamespace namespace) → HTType -
inherited
-
subGet(
dynamic varName, {String? from}) → dynamic -
Fetch a member by the
varName
, in the form ofinherited -
subSet(
dynamic varName, dynamic varValue, {String? from}) → void -
Assign a value to a member by the
varName
, in the form ofinherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited