HTExternalEnum class
- Inheritance
-
- Object
- HTDeclaration
- HTExternalEnum
- Mixed-in types
Constructors
- HTExternalEnum(HTInterpreter interpreter, {required String id, String? classId, HTDeclarationNamespace? closure, HTSource? source})
Properties
- classId → String?
-
finalinherited
- closure → HTDeclarationNamespace?
-
finalinherited
- displayName → String
-
no setterinherited
- externalClass ↔ HTExternalClass?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
finalinherited
- idRange → SourceRange
-
finalinherited
- interpreter ↔ HTInterpreter
-
latefinalinherited
- isConst → bool
-
Wether this declaration is a const value.
finalinherited
- isExternal → bool
-
Wether this declaration is from outside of the script.
finalinherited
- isMember → bool
-
Wether this declaration is a member of a class or struct.
no setterinherited
- isMutable → bool
-
Wether this declaration's value can be assigned to another value.
finalinherited
- isNested → bool
-
no setter
- isPrivate → bool
-
Wether this declaration is only accessible from the same namespace.
no setterinherited
- isResolved → bool
-
no setteroverride
- isStatic → bool
-
Wether this declaration is static in a class.
finalinherited
- isTopLevel → bool
-
Wether this declaration is defined on top level of a source.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- source → HTSource?
-
finalinherited
- sourceRange → SourceRange
-
finalinherited
- value ↔ dynamic
-
getter/setter pairinherited
- valueType → HTType?
-
no setterinherited
Methods
-
clone(
) → HTExternalEnum -
Create a copy of this declaration,
mainly used on class member inheritance and function arguments passing.
override
-
contains(
String varName) → bool -
inherited
-
memberGet(
String varName, {String? from}) → dynamic -
Fetch a member by the
varName
, in the form ofoverride -
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(
) → void -
override
-
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