c0data
    Preparing search index...

    Class Builder

    Index
    • DLE: open a nested level. Inside, the builder is at the top of a fresh body.

      Returns this

    • EM and the raw tail. Nothing may follow.

      Parameters

      • tail: Uint8Array

      Returns this

    • ENQ and a reference: a group name (a plain reference), or a pattern built in the function, the target with its values left out (enq(() => b.gs('tags').rs('001').us('label'))).

      Parameters

      • nameOrPattern: string | (() => void)

      Returns this

    • Parameters

      • name: string
      • Optionalfn: () => void

      Returns this

    • FS and a file name.

      Parameters

      • name: string

      Returns this

    • Parameters

      • name: string
      • Optionalheaders: string[] | null
      • Optionalfn: () => void
      • depth: number = 1

      Returns this

    • GS and, when given, a group name; depth SUB prefix it less one: gs('s', 2) is ␚␝s, a subsection.

      Parameters

      • Optionalname: string
      • depth: number = 1

      Returns this

    • A header row: SOH RS names.

      Parameters

      • names: string[]

      Returns this

    • A header row: SOH RS names.

      Parameters

      • ...names: string[]

      Returns this

    • A heading key whose value is a nested level (e.g. the blob table).

      Parameters

      • key: string
      • fn: () => void

      Returns this

    • One keyed unit on the open record (order is the caller's); a function value writes a nested level.

      Parameters

      Returns this

    • A nested level as the next unit. Inside the function the builder is at the top of a fresh body.

      Parameters

      • fn: () => void

      Returns this

    • A keyed record: a map, entries in the order given.

      Parameters

      Returns this

    • A note at the current position. Content is required: a bare BEL is a dead marker, written with bel().

      Parameters

      Returns this

    • A positional record; with no fields, begins a record left open for field / level / list / key.

      Parameters

      Returns this

    • A reference as the next unit: a group name (ref('tags')); a record, or a field of it, as the pattern ␅␐␝group␞record␟field␘ (ref('tags', '001', 'label')); or a pattern built in a function.

      Parameters

      • group: string
      • Optionalrecord: string
      • Optionalfield: string

      Returns this

    • A reference as the next unit: a group name (ref('tags')); a record, or a field of it, as the pattern ␅␐␝group␞record␟field␘ (ref('tags', '001', 'label')); or a pattern built in a function.

      Parameters

      • pattern: () => void

      Returns this

    • Document mode: a section at depth.

      Parameters

      • name: string
      • depth: number = 1
      • Optionalfn: () => void

      Returns this

    • SOH and, when given, a key. Bare before rs it opens a header row.

      Parameters

      • Optionalname: string

      Returns this

    • SUB: the element after the next separator is subordinate to the one before it: before GS a subsection (␚␝s), before US a sub-unit (old␚␟new).

      Returns this

    • A sub-unit of the unit just written: depth SUB, US and the value (␞a␚␟b; depth 2 is a sub-unit of the sub-unit before). Not a unit of the record; on a record with no unit yet, it hangs off the first unit, which exists even when empty (␞␚␟new).

      Parameters

      Returns this

    • SYN: start a document. Bare, heading pairs follow as soh(key).us(value); given pairs, they are written in the order given.

      Parameters

      Returns this