iridium - v0.9a
    Preparing search index...

    Declares a function available in the entire scope, there are no temporal dead zones for functions declared in this fashion. The hoisting pass moves this declaration to the top of the scope to achieve this. In most cases this will be reduced down to an EnvWrite. A special node is only needed in case of top level sloppy declarations.

    • EnvWriteSEXP: A binding found in the immediate enclosing closure scope.

    • JSFuncDeclSEXP: It is possible that node does not change its form; this happens for top-level declarations in sloppy mode code.

    • ARG(lValTarget): The storage target location

    • ARG(rVal): The value to store (possible nothing, in case of just a declaration).

    • FLAG(JSLET | JSCONST | JSVAR): This is always gonna be JSVAR, just leaving it the same because of consistency sake.

    • FLAG(SAFE): Indicates whether the writes being performed are safe.

    • FLAG(THISINIT): Indicates whether the write is being performed to this, in this case it will never be true but is kept around for implementation consistency during lowering.

    • FLAG(SLOPPY): Indicates whether the writes to target locations is sloppy.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    args: IridiumSEXP[] = []

    Args are the children nodes to the current node.

    flags: [string, IridiumPrimitives][] = []

    Flags store metadata/primitive data in an Iridium node. These nodes cannot store other Iridium S-Expressions.

    tag: string = "IridiumSEXP"

    Tag specifics the S-Expression Type.

    Methods

    • Parameters

      • flag: string

      Returns boolean

    • Parameters

      • flag: string

      Returns number

    • Parameters

      • flag: string

      Returns string

    • Parameters

      • flag: string

      Returns boolean

    • Returns boolean

    • Returns boolean

    • Returns boolean

    • Returns boolean

    • Returns boolean

    • Returns void

    • Returns void

    • Parameters

      • flag: string

      Returns void

    • This method is used to squish the Iridium Code into an array which can be easily stored on disk.

      Returns any[]

      Nested Array of Iridium S-Expressions.

    • Parameters

      Returns void

    • Parameters

      Returns void

    • Parameters

      • val: boolean

      Returns void

    • Returns void

    • Parameters

      • val: boolean

      Returns void

    • Parameters

      • Optionalspace: number

      Returns string

    • Returns void