Scope
Defined in: core/executer/scope.ts:14
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new Scope(
config):Scope
Defined in: core/executer/scope.ts:26
Parameters
Section titled “Parameters”config
Section titled “config”{ codeFile?: CodeFile; session: YaksokSession; } | { parent: Scope; }
Returns
Section titled “Returns”Scope
Properties
Section titled “Properties”codeFile?
Section titled “codeFile?”
readonlyoptionalcodeFile?:CodeFile
Defined in: core/executer/scope.ts:22
readonlyid:string
Defined in: core/executer/scope.ts:19
parent
Section titled “parent”parent:
Scope|null
Defined in: core/executer/scope.ts:15
ruleList
Section titled “ruleList”ruleList:
RuleList
Defined in: core/executer/scope.ts:24
session
Section titled “session”
readonlysession:YaksokSession
Defined in: core/executer/scope.ts:21
Defined in: core/executer/scope.ts:17
Methods
Section titled “Methods”addRuleList()
Section titled “addRuleList()”addRuleList(
ruleList):void
Defined in: core/executer/scope.ts:104
Parameters
Section titled “Parameters”ruleList
Section titled “ruleList”Returns
Section titled “Returns”void
addSlot()
Section titled “addSlot()”addSlot(
slot):SlotKey
Defined in: core/executer/scope.ts:61
Parameters
Section titled “Parameters”Returns
Section titled “Returns”findSlot()
Section titled “findSlot()”findSlot(
name): [SlotKey|null,Scope]
Defined in: core/executer/scope.ts:76
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”[SlotKey | null, Scope]
getRuleListStack()
Section titled “getRuleListStack()”getRuleListStack():
Generator<RuleList>
Defined in: core/executer/scope.ts:92
Returns
Section titled “Returns”Generator<RuleList>
getSlotNames()
Section titled “getSlotNames()”getSlotNames():
Generator<string|symbol>
Defined in: core/executer/scope.ts:68
Returns
Section titled “Returns”Generator<string | symbol>