Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AbstractRecordStreamlet<I, O>

Type parameters

Hierarchy

Implements

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

Properties

Readonly fieldCount

fieldCount: number

Readonly streamletContext

streamletContext: null | StreamletContext

Readonly streamletScope

streamletScope: null | StreamletScope<O>

Readonly version

version: number

Static Readonly AliasedFlag

AliasedFlag: number

Static Readonly ImmutableFlag

ImmutableFlag: number

Accessors

key

  • Returns Value

length

  • get length(): number
  • Returns number

precedence

  • get precedence(): number
  • Returns number

tag

  • get tag(): undefined | string
  • Returns undefined | string

target

  • Returns Value

typeOrder

  • get typeOrder(): number
  • Returns number

valueCount

  • get valueCount(): number
  • Returns number

Methods

alias

  • alias(): void
  • Returns void

and

  • Parameters

    Returns Value

  • Parameters

    Returns Item

appended

attr

bind

  • Returns Record

bindInput

  • bindInput(key: string, input: Outlet<I>): void

bitwiseAnd

bitwiseNot

bitwiseOr

bitwiseXor

body

  • Returns Value

booleanValue

  • booleanValue(): undefined | boolean
  • booleanValue<T>(orElse: T): boolean | T
  • Returns undefined | boolean

  • Type parameters

    • T

    Parameters

    • orElse: T

    Returns boolean | T

branch

cast

  • cast<T>(form: Form<T, unknown>): undefined | T
  • cast<T, E>(form: Form<T, unknown>, orElse: E): T | E
  • Type parameters

    • T

    Parameters

    • form: Form<T, unknown>

    Returns undefined | T

  • Type parameters

    • T

    • E = T

    Parameters

    • form: Form<T, unknown>
    • orElse: E

    Returns T | E

castInput

  • castInput<T>(inlet: string | Inlet<I>, form: Form<T, unknown>): undefined | T
  • castInput<T, E>(inlet: string | Inlet<I>, form: Form<T, unknown>, orElse: E): T | E
  • Type parameters

    • T

    Parameters

    • inlet: string | Inlet<I>
    • form: Form<T, unknown>

    Returns undefined | T

  • Type parameters

    • T

    • E = T

    Parameters

    • inlet: string | Inlet<I>
    • form: Form<T, unknown>
    • orElse: E

    Returns T | E

clear

  • clear(): void
  • Returns void

clone

  • Returns Record

coerce

  • coerce<T>(form: Form<T, unknown>): T
  • coerce<T, E>(form: Form<T, unknown>, orElse: E): T | E
  • Type parameters

    • T

    Parameters

    • form: Form<T, unknown>

    Returns T

  • Type parameters

    • T

    • E = T

    Parameters

    • form: Form<T, unknown>
    • orElse: E

    Returns T | E

coerceInput

  • coerceInput<T>(inlet: string | Inlet<I>, form: Form<T, unknown>): T
  • coerceInput<T, E>(inlet: string | Inlet<I>, form: Form<T, unknown>, orElse: E): T | E
  • Type parameters

    • T

    Parameters

    • inlet: string | Inlet<I>
    • form: Form<T, unknown>

    Returns T

  • Type parameters

    • T

    • E = T

    Parameters

    • inlet: string | Inlet<I>
    • form: Form<T, unknown>
    • orElse: E

    Returns T | E

commit

compareTo

  • compareTo(that: unknown): number
  • Parameters

    • that: unknown

    Returns number

compile

  • compile(): void
  • Returns void

compileInlet

  • compileInlet(inlet: Inlet<I>, name: string): void
  • Parameters

    • inlet: Inlet<I>
    • name: string

    Returns void

concat

conditional

debug

  • debug(output: Output<unknown>): void
  • Parameters

    Returns void

decohere

  • decohere(): void

delete

  • Parameters

    Returns Item

deleted

Protected didDecohere

  • didDecohere(): void
  • Returns void

didDecohereInlet

  • didDecohereInlet(inlet: Inlet<I>): void
  • Parameters

    Returns void

didDecohereOutlet

  • didDecohereOutlet(outlet: Outlet<O>): void

Protected didRecohere

  • didRecohere(version: number): void
  • Parameters

    • version: number

    Returns void

didRecohereInlet

  • didRecohereInlet(inlet: Inlet<I>, version: number): void
  • Parameters

    • inlet: Inlet<I>
    • version: number

    Returns void

didRecohereOutlet

  • didRecohereOutlet(outlet: Outlet<O>, version: number): void
  • Parameters

    • outlet: Outlet<O>
    • version: number

    Returns void

disconnectInputs

  • disconnectInputs(): void

disconnectOutputs

  • disconnectOutputs(): void

display

  • display(output: Output<unknown>): void
  • Parameters

    Returns void

divide

eq

  • Parameters

    Returns Value

  • Parameters

    Returns Item

equals

  • equals(that: unknown): boolean
  • Parameters

    • that: unknown

    Returns boolean

equivalentTo

  • equivalentTo(that: unknown, epsilon?: number): boolean
  • Parameters

    • that: unknown
    • Optional epsilon: number

    Returns boolean

evaluate

filter

flattened

forEach

  • forEach<T>(callback: (item: Item, index: number) => void | T): undefined | T
  • forEach<T, S>(callback: (item: Item, index: number) => void | T, thisArg: S): undefined | T
  • Type parameters

    • T

    Parameters

    • callback: (item: Item, index: number) => void | T
        • (item: Item, index: number): void | T
        • Parameters

          • item: Item
          • index: number

          Returns void | T

    Returns undefined | T

  • Type parameters

    • T

    • S

    Parameters

    • callback: (item: Item, index: number) => void | T
        • (item: Item, index: number): void | T
        • Parameters

          • item: Item
          • index: number

          Returns void | T

    • thisArg: S

    Returns undefined | T

ge

  • Parameters

    Returns Value

  • Parameters

    Returns Item

get

  • Parameters

    Returns Value

getAttr

getField

  • Parameters

    Returns undefined | Field

getInput

  • getInput<I2>(inlet: string | Inlet<I2>): undefined | I2
  • getInput<I2, E>(inlet: string | Inlet<I2>, orElse: E): I2 | E
  • Type parameters

    Parameters

    • inlet: string | Inlet<I2>

    Returns undefined | I2

  • Type parameters

    Parameters

    • inlet: string | Inlet<I2>
    • orElse: E

    Returns I2 | E

getItem

  • Parameters

    Returns Item

getOutput

  • getOutput(outlet: string | Outlet<O>): undefined | O
  • Parameters

    Returns undefined | O

getSlot

gt

  • Parameters

    Returns Value

  • Parameters

    Returns Item

has

  • Parameters

    Returns boolean

hashCode

  • hashCode(): number
  • Returns number

head

  • Returns Item

header

  • header(tag: string): Value
  • Parameters

    • tag: string

    Returns Value

headers

  • headers(tag: string): undefined | Record
  • Parameters

    • tag: string

    Returns undefined | Record

indexOf

  • indexOf(item: AnyItem, index?: number): number
  • Parameters

    • item: AnyItem
    • Optional index: number

    Returns number

inlet

  • inlet(key: string): null | Inlet<I>
  • inlet<I2>(): Inlet<I2>
  • Parameters

    • key: string

    Returns null | Inlet<I>

  • Type parameters

    Returns Inlet<I2>

inoutlet

  • Type parameters

    Returns Inoutlet<I2, O2>

interpolateTo

inverse

invoke

  • Parameters

    Returns Item

isAliased

  • isAliased(): boolean
  • Returns boolean

isArray

  • isArray(): boolean
  • Returns boolean

isConstant

  • isConstant(): boolean
  • Returns boolean

isDefined

  • isDefined(): boolean
  • Returns boolean

isDefinite

  • isDefinite(): boolean
  • Returns boolean

isDistinct

  • isDistinct(): boolean
  • Returns boolean

isEmpty

  • isEmpty(): boolean
  • Returns boolean

isMutable

  • isMutable(): boolean
  • Returns boolean

isObject

  • isObject(): boolean
  • Returns boolean

item

items

iterator

keyEquals

  • keyEquals(key: unknown): boolean
  • Parameters

    • key: unknown

    Returns boolean

lambda

  • Parameters

    Returns Value

lastIndexOf

  • lastIndexOf(item: AnyItem, index?: number): number
  • Parameters

    • item: AnyItem
    • Optional index: number

    Returns number

le

  • Parameters

    Returns Value

  • Parameters

    Returns Item

lt

  • Parameters

    Returns Value

  • Parameters

    Returns Item

max

  • Parameters

    Returns Item

min

  • Parameters

    Returns Item

minus

modulo

ne

  • Parameters

    Returns Value

  • Parameters

    Returns Item

negative

not

  • Returns Value

numberValue

  • numberValue(): undefined | number
  • numberValue<T>(orElse: T): number | T
  • Returns undefined | number

  • Type parameters

    • T

    Parameters

    • orElse: T

    Returns number | T

Protected onDecohere

  • onDecohere(): void
  • Returns void

Protected onDecohereOutlets

  • onDecohereOutlets(): void
  • Returns void

Protected onRecohere

  • onRecohere(version: number): void
  • Parameters

    • version: number

    Returns void

Protected onRecohereInlets

  • onRecohereInlets(version: number): void
  • Parameters

    • version: number

    Returns void

Protected onRecohereOutlets

  • onRecohereOutlets(version: number): void
  • Parameters

    • version: number

    Returns void

or

  • Parameters

    Returns Value

  • Parameters

    Returns Item

outlet

  • Parameters

    Returns null | Outlet<O>

  • Type parameters

    Returns Outlet<O2>

plus

positive

prepended

push

  • push(...items: AnyItem[]): number
  • Parameters

    Returns number

recohere

  • recohere(version: number): void

set

setAttr

setItem

setSlot

setStreamletContext

setStreamletScope

slice

  • slice(lower?: number, upper?: number): Record
  • Parameters

    • Optional lower: number
    • Optional upper: number

    Returns Record

slot

splice

  • splice(start: number, deleteCount?: number, ...newItems: AnyItem[]): Item[]
  • Parameters

    • start: number
    • Optional deleteCount: number
    • Rest ...newItems: AnyItem[]

    Returns Item[]

stringValue

  • stringValue(): undefined | string
  • stringValue<T>(orElse: T): string | T
  • Returns undefined | string

  • Type parameters

    • T

    Parameters

    • orElse: T

    Returns string | T

subRecord

  • subRecord(lower?: number, upper?: number): Record
  • Parameters

    • Optional lower: number
    • Optional upper: number

    Returns Record

substitute

tail

  • Returns Record

times

toAny

toArray

toObject

  • toObject(): {}
  • Returns {}

toRecon

  • toRecon(): string
  • Returns string

toReconBlock

  • toReconBlock(): string

toString

  • toString(): string
  • Returns string

toValue

unbindInput

  • unbindInput(key: string): void

unflattened

updated

updatedAttr

updatedSlot

Protected willDecohere

  • willDecohere(): void
  • Returns void

willDecohereInlet

  • willDecohereInlet(inlet: Inlet<I>): void

willDecohereOutlet

  • willDecohereOutlet(outlet: Outlet<O>): void

Protected willRecohere

  • willRecohere(version: number): void
  • Parameters

    • version: number

    Returns void

willRecohereInlet

  • willRecohereInlet(inlet: Inlet<I>, version: number): void
  • Parameters

    • inlet: Inlet<I>
    • version: number

    Returns void

willRecohereOutlet

  • willRecohereOutlet(outlet: Outlet<O>, version: number): void
  • Parameters

    • outlet: Outlet<O>
    • version: number

    Returns void

Static absent

  • Returns Value

Static builder

Static create

  • create(initialCapacity?: number): Record
  • Parameters

    • Optional initialCapacity: number

    Returns Record

Static empty

  • Returns Record

Static expand

  • expand(n: number): number
  • Parameters

    • n: number

    Returns number

Static extant

  • Returns Value

Static fromAny

Static fromArray

  • fromArray(array: { length?: number }): Record
  • Parameters

    • array: { length?: number }
      • [index: number]: AnyItem
      • Optional length?: number

    Returns Record

Static fromObject

  • fromObject(object: {}): Record

Static globalScope

  • globalScope(): Item

Static of

  • Parameters

    Returns Record

Generated using TypeDoc