Creates a container for a CDP Scope
(
value: Cdp.Runtime.RemoteObject,
scopeRef: IScopeRef,
extraProperties: IExtraProperty[],
)
| 1614 | |
| 1615 | /** Creates a container for a CDP Scope */ |
| 1616 | public createScope( |
| 1617 | value: Cdp.Runtime.RemoteObject, |
| 1618 | scopeRef: IScopeRef, |
| 1619 | extraProperties: IExtraProperty[], |
| 1620 | ): IVariableContainer { |
| 1621 | const scope: Scope = new Scope( |
| 1622 | value, |
| 1623 | new VariableContext( |
| 1624 | this.cdp, |
| 1625 | undefined, |
| 1626 | { name: '' }, |
| 1627 | this.vars, |
| 1628 | this.locationProvider, |
| 1629 | () => scope, |
| 1630 | this.contextSettings, |
| 1631 | this.clientCapabilities, |
| 1632 | ), |
| 1633 | scopeRef, |
| 1634 | extraProperties, |
| 1635 | this.renameProvider, |
| 1636 | ); |
| 1637 | |
| 1638 | this.vars.add(scope); |
| 1639 | |
| 1640 | return scope; |
| 1641 | } |
| 1642 | |
| 1643 | /** Creates a container for a CDP Scope */ |
| 1644 | public createWasmScope( |