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

    Represents a static import expression (StaticImportSEXP) in Iridium IR.

    This is used when a file imports bindings from another file.

    import a from "SOURCE";
    
    • ARG(storageLocation): Location where the import will be stored, initially a stub ResolveEnvBindingSEXP.

    • FLAG(FIELD): Field to import from the remote module.

    • FLAG(MODULEREQIDX): The index (REQIDX) of the corresponding ModuleRequestSEXP.

    Hierarchy (View Summary)

    Index

    Constructors

    • Parameters

      • storageLocation: string
      • fieldToImport: string
      • reqIdx: number

      Returns StaticImportSEXP

    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

    • Returns string

    • Parameters

      • flag: string

      Returns boolean

    • Parameters

      • flag: string

      Returns number

    • Parameters

      • flag: string

      Returns string

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

    • Parameters

      • field: string

      Returns void

    • Parameters

      • reqIDX: number

      Returns void

    • Parameters

      Returns void

    • Parameters

      • space: number = 0

      Returns string