Entity / foldkit-entity/lowering

EnvSource

interface · packages/entity/src/environment.ts:73

interface EnvSource {
  readonly row: HeldRow
  readonly owner?: EntityIdentity<string> | undefined
  readonly next?: HeldRow | undefined
  readonly input?: Readonly<Record<string, unknown>> | undefined
  readonly context?: ExprContext | undefined
  readonly rows?: HeldRows | undefined
  readonly unheld?:
    ((segments: ReadonlyArray<string>, reason: string) => void) | undefined
}

What the judged row is, and what else the nodes may read.

Members

EnvSource.row

property · packages/entity/src/environment.ts:74

readonly row: HeldRow

EnvSource.owner

property · packages/entity/src/environment.ts:79

readonly owner?: EntityIdentity<string> | undefined

The Entity row (and next) is a row of; without it no relation of theirs is followed, and what one reaches is not known.

EnvSource.next

property · packages/entity/src/environment.ts:80

readonly next?: HeldRow | undefined

EnvSource.input

property · packages/entity/src/environment.ts:81

readonly input?: Readonly<Record<string, unknown>> | undefined

EnvSource.context

property · packages/entity/src/environment.ts:83

readonly context?: ExprContext | undefined

Who asks and when; without it viewer and now are not known.

EnvSource.rows

property · packages/entity/src/environment.ts:85

readonly rows?: HeldRows | undefined

Where the viewer's row is found; without them its fields are not known.

EnvSource.unheld

property · packages/entity/src/environment.ts:87

readonly unheld?:
  ((segments: ReadonlyArray<string>, reason: string) => void) | undefined

Told each segment list left out of the environment, with the holder's reason.