(name: string, value: Value)
| 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 { |