MCPcopy Create free account
hub / github.com/aiscript-dev/aiscript / onUpdated

Method onUpdated

src/interpreter/scope.ts:34–40  ·  view source on GitHub ↗
(name: string, value: Value)

Source from the content-addressed store, hash-verified

32
33 @autobind
34 private onUpdated(name: string, value: Value): void {
35 if (this.parent) {
36 this.parent.onUpdated(name, value);
37 } else {
38 if (this.opts.onUpdated) this.opts.onUpdated(name, value);
39 }
40 }
41
42 @autobind
43 public createChildScope(states: Map<string, Variable> = new Map(), name?: Scope['name']): Scope {

Callers 2

addMethod · 0.95
assignMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected