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

    Given a JSObject, this call is used to define methods of different kinds on it.

    Given an targetObj, key and value, it adds the value to the specified field.

    [updatedObject = 1] JSDefineObjMethod (targetObj, key, value)
    
    let a = {
    m() {},
    set f(val) {},
    get f() {}
    };
    • ARG(targetObj): The source object.

    • ARG(key): The field where the value must be stored.

    • ARG(value): The value, in this case a lambda.

    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

    • 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.

    • Returns void

    • Parameters

      Returns void

    • Returns void

    • Returns void

    • Parameters

      Returns void

    • Parameters

      Returns void

    • Parameters

      • Optionalspace: number

      Returns string