Skip to content

Scope

Defined in: core/executer/scope.ts:14

new Scope(config): Scope

Defined in: core/executer/scope.ts:26

{ codeFile?: CodeFile; session: YaksokSession; } | { parent: Scope; }

Scope

readonly optional codeFile?: CodeFile

Defined in: core/executer/scope.ts:22


readonly id: string

Defined in: core/executer/scope.ts:19


parent: Scope | null

Defined in: core/executer/scope.ts:15


ruleList: RuleList

Defined in: core/executer/scope.ts:24


readonly session: YaksokSession

Defined in: core/executer/scope.ts:21


slots: Map<SlotKey, Slot>

Defined in: core/executer/scope.ts:17

addRuleList(ruleList): void

Defined in: core/executer/scope.ts:104

RuleList

void


addSlot(slot): SlotKey

Defined in: core/executer/scope.ts:61

Slot

SlotKey


findSlot(name): [SlotKey | null, Scope]

Defined in: core/executer/scope.ts:76

string

[SlotKey | null, Scope]


getRuleListStack(): Generator<RuleList>

Defined in: core/executer/scope.ts:92

Generator<RuleList>


getSlotNames(): Generator<string | symbol>

Defined in: core/executer/scope.ts:68

Generator<string | symbol>