Interface: BuiltInVariable
compiler.BuiltInVariable
Interface representation of a BuiltInVariable, which is available inside a Kipper program using the specified metadata.
Since
0.10.0
Table of contents
Properties
Properties
identifier
• identifier: string
The identifier of the global variable that should be available inside the program.
Since
0.10.0
Defined in
kipper/core/src/compiler/runtime-built-ins.ts:130
local
• local: boolean
If true then the variable is local to the current file. If false then the variable is global and can be accessed from any file.
This is primarily used to differentiate between local and global variables during the code generation process, since local ones will usually be initialised like any other variables, while globals will be registered on a global object.
Since
0.10.0
Defined in
kipper/core/src/compiler/runtime-built-ins.ts:145
valueType
• valueType: KipperCompilableType
The type of the variable.
Since
0.10.0
Defined in
kipper/core/src/compiler/runtime-built-ins.ts:135