Class: BuiltInFunctionArgument
compiler.BuiltInFunctionArgument
Interface representation of an argument of a BuiltInFunction.
Since
0.1.0
Since
0.11.0 Became a class instead of an interface.
Table of contents
Constructors
Properties
Constructors
constructor
• new BuiltInFunctionArgument(identifier
, valueType
)
Parameters
Name | Type |
---|---|
identifier |
string |
valueType |
ProcessedType |
Defined in
kipper/core/src/compiler/semantics/runtime-built-ins/built-in-function-argument.ts:29
Properties
identifier
• Readonly
identifier: string
The identifier of the argument inside the function
This value does not affect the behaviour of the language, as named-arguments are not implemented in Kipper. This only serves the purpose of readability and allowing easier differentiation.
Since
0.6.0
Defined in
kipper/core/src/compiler/semantics/runtime-built-ins/built-in-function-argument.ts:16
valueType
• Readonly
valueType: ProcessedType
The type of the argument inside the function
Example
Defined in
kipper/core/src/compiler/semantics/runtime-built-ins/built-in-function-argument.ts:27