HTNamedStruct class

Unlike class and function, the declaration of a struct is a value and struct object does not extends from this.

Inheritance
Mixed-in types

Constructors

HTNamedStruct({required String id, required HTInterpreter interpreter, required String fileName, required String moduleName, HTDeclarationNamespace? closure, String? prototypeId, List<String> mixinIds = const [], HTSource? source, bool isTopLevel = false, int? staticDefinitionIp, int? definitionIp})

Properties

classId String?
finalinherited
closure HTDeclarationNamespace?
finalinherited
definitionColumn int?
latefinalinherited
definitionIp int?
latefinalinherited
definitionLine int?
latefinalinherited
displayName String
no setterinherited
fileName String
latefinalinherited
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
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
mixinIds List<String>
final
moduleName String
latefinalinherited
prototypeId String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
source HTSource?
finalinherited
sourceRange SourceRange
finalinherited
staticDefinitionIp int?
final
value HTStruct
getter/setter pairinherited-setteroverride-getter

Methods

clone() HTNamedStruct
Create a copy of this declaration, mainly used on class member inheritance and function arguments passing.
override
createObject({List positionalArgs = const [], Map<String, dynamic> namedArgs = const {}, List<HTType> typeArgs = const []}) HTStruct
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolve() → void
override
toString() String
A string representation of this object.
inherited

Operators

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