HTParameter class
An implementation of HTVariable for function parameter declaration.
- Inheritance
-
- Object
- HTDeclaration
- HTVariableDeclaration
- HTVariable
- HTParameter
- Implemented types
Constructors
- HTParameter({required String id, HTInterpreter? interpreter, String? fileName, String? moduleName, HTNamespace? closure, HTType? declType, int? definitionIp, int? definitionLine, int? definitionColumn, bool isVariadic = false, bool isOptional = false, bool isNamed = false, bool isInitialization = false})
- Create a standard HTParameter.
Properties
- classId → String?
-
finalinherited
- closure → HTNamespace?
-
no setteroverride
- declType → HTType?
-
The declared HTType of this symbol, will be used to
compare with the value type before compile to
determine wether an value binding (assignment) is legal.
no setterinherited
- definitionColumn ↔ int?
-
latefinalinherited
- definitionIp ↔ int?
-
latefinalinherited
- definitionLine ↔ int?
-
latefinalinherited
- displayName → String
-
no setterinherited
- documentation → String?
-
finalinherited
- externalClass ↔ HTExternalClass?
-
getter/setter pairinherited
- 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
- isInitialization → bool
-
final
- 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
- isNamed → bool
-
final
- isOptional → bool
-
final
- isPrivate → bool
-
Wether this declaration is only accessible from the same namespace.
no setterinherited
- isResolved → bool
-
no setterinherited
- 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
- isVariadic → bool
-
final
- lateFinalize → bool
-
finalinherited
- moduleName ↔ String
-
latefinalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- source → HTSource?
-
finalinherited
- sourceRange → SourceRange
-
finalinherited
- value ↔ dynamic
-
Assign a new value to this variable.
getter/setter pairinherited
Methods
-
clone(
) → HTParameter -
Create a copy of this declaration,
mainly used on class member inheritance and function arguments passing.
override
-
initialize(
) → void -
Initialize this variable with its declared initializer bytecode
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resolve(
{bool resolveType = false}) → void -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited