• Kipper

    v0.12.1
  • Downloads

  • Docs

  • Playground

  • Changelog

  • Kipper

    v0.12.1
    • Downloads

    • Docs

    • Playground

    • Changelog

      • latest /
      • Kipper API /
      • Module /
      • @kipper/core /
      • compiler
    Kipper Docs
    • next
    • latest
    • 0.11.0
    • 0.10.4
    • 0.9.2
    • Overview

    • Quickstart

    • Goals for Kipper

    • Supported platforms

    • Usage Examples

      • Overview

      • Type Consistency

      • Runtime Type Casting

      • Strict Compiler Inspection

      • Integrated Runtime Library

    • Variables

      • Overview

      • String Type

      • Number Type

      • Boolean Type

      • Void Type

      • Null Type

      • Undefined Type

      • Array Type

      • Overview

      • Tangled Expression

      • Arithmetic Expression

      • Assignment Expression

      • Conditional Expressions

      • Logical Expressions

      • Bitwise Expression

      • Relational Expressions

      • Convert Or Cast Expression

      • F-String Expression

      • Member Access Expression

      • Function Call Expression

      • Lambda Expression

      • Matches Expression

      • Overview

      • Expression Statement

      • If Statement

      • While Loop

      • Do-While Loop

      • For Loop

      • Compound Statement

      • Jump Statement

    • Functions

    • Interfaces

    • Classes

    • Comments

    • Built-in Functions

      • Overview

      • Compiler Setup

        • Overview

          • index

          • compiler

          • errors

          • logger

          • utils

          • config

          • index

          • index

        • Overview

        • new

        • run

        • compile

        • help

        • version

      • latest /
      • Kipper API /
      • Module /
      • @kipper/core /
      • compiler
    • latest /
    • Kipper API /
    • Module /
    • @kipper/core /
    • compiler

    Edit page

    Class: 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

    Constructors

    • constructor

    Properties

    • identifier
    • local
    • valueType

    Constructors

    constructor

    • new BuiltInVariable(identifier, valueType, local)

    Parameters

    Name Type
    identifier string
    valueType ProcessedType
    local boolean

    Defined in

    kipper/core/src/compiler/semantics/runtime-built-ins/built-in-variable.ts:32

    Properties

    identifier

    • Readonly 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/semantics/runtime-built-ins/built-in-variable.ts:13


    local

    • Readonly 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/semantics/runtime-built-ins/built-in-variable.ts:30


    valueType

    • Readonly valueType: ProcessedType

    The type of the variable.

    Since

    0.10.0

    Defined in

    kipper/core/src/compiler/semantics/runtime-built-ins/built-in-variable.ts:19

  • Developed at:

    • Releases
    • GitHub
    • Security
    • Issue Tracker
    • License
  • Copyright © 2021-2026 Luna Klatzer, 2024-2025 Lorenz Holzbauer & Fabian Baitura.
    Kipper is licensed under the GPL-3.0-or-later license.