Interface: BuiltInFunction
compiler.BuiltInFunction
Interface representation of a BuiltInFunction, which is available inside a Kipper program using the specified metadata.
Since
0.1.0
Table of contents
Properties
Properties
identifier
• identifier: string
The identifier of the global function that should be available inside the program.
The identifier may only contain default numbers and alphabet characters!
Example
call print(); // 'print' is the global function identifier
Defined in
kipper/core/src/compiler/runtime-built-ins.ts:45
params
• params: BuiltInFunctionArgument
[]
The args that are accepted inside this function. These are represented using BuiltInFunctionArgument.
The index in the array also represents the argument position inside the function. Meaning the first item in the array maps to the first argument inside the function.
Defined in
kipper/core/src/compiler/runtime-built-ins.ts:52
returnType
• returnType: KipperCompilableType
The expected return of the function. If the return type is void, then the function will not return anything.
Defined in
kipper/core/src/compiler/runtime-built-ins.ts:57