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

    BBContainer represents a logical piece of compilable code, it consists of two parts. The first arg contains a BindingsSEXP which is used to create and populate a stack frame. The second arg contains a ListSEXP of type BBSEXP which contains the instructions to execute.

    • ARG(bindings): Stores a BindingsSEXP.

    • ARG(BB): Stores a ListSEXP of type BBSEXP.

    • FLAG(ECMAArgs): Used to set the length property for functions, which indicates the number of expected arguments as per the ECMAScript spec.

    • FLAG(StartBBIDX): IDX of the entry BB.

    • FLAG(ScopeIDX): Scope/environment IDX of top level scope for this container.

    • FLAG(ARGUMENTS): Is the arguments object allowed in this scope?

    • FLAG(ASYNC): Is this an asynchronous function/module?

    • FLAG(STRICT): Is the code in strict mode?

    • FLAG(GENERATOR): Is this a generator function?

    • FLAG(PROTO): Does the function have a prototype?

    • FLAG(NEW): Is new.target lookup allowed in this function?

    • FLAG(SCALL): Is super call allowed in this function?

    • FLAG(SOBJ): Is super object allowed in this function?

    • FLAG(HOME): Does this function need the home object?

    • FLAG(DERIVED): Is this a derived constructor function?

    • FLAG(TopLevel): Is top Level?

    • FLAG(ContainerFlagID): A number.

    1. Regular Closure = { }

    2. Constructor = { PROTO, NEW }

    3. Derived Constructor = { PROTO, NEW, SCALL, SOBJ, HOME, DERIVED }

    4. Derived Method = { SOBJ, HOME }

    5. Private Method = { HOME }

    6. Prop Init + no_private = { }

    7. Prop Init Derived + no_private = { SOBJ, HOME }

    8. Prop Init + private = { HOME }

    9. Prop Init Derived + private = { SOBJ, HOME }

    10. Private Derived Method = { SOBJ, HOME }

    11. Static Prop Init = { }

    12. Static Prop Init Derived = { SOBJ, HOME }

    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

      Returns void

    • Returns number

    • Parameters

      • flag: string

      Returns boolean

    • Parameters

      • flag: string

      Returns number

    • Parameters

      • flag: string

      Returns string

    • Returns number

    • Returns number

    • Parameters

      • flag: string

      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

    • Returns void

    • Parameters

      Returns void

    • Parameters

      Returns void

    • Parameters

      • flag: number

      Returns void

    • Parameters

      • len: number

      Returns void

    • Returns void

    • Parameters

      • startBBIDX: number

      Returns void

    • Parameters

      • startBBIDX: number

      Returns void

    • Returns void

    • Returns void

    • Parameters

      • Optionalspace: number

      Returns string

    • Returns void

    • Returns void

    • Returns void

    • Returns void

    • Returns void