Module

x/fresh/tests/deps.ts>puppeteer.Debugger.Scope

The next-gen web framework.
Extremely Popular
Go to Latest
interface puppeteer.Debugger.Scope
import { type puppeteer } from "https://dotland.deno.dev/x/fresh@1.0.2/tests/deps.ts";
const { Scope } = puppeteer.Debugger;

Scope description.

Properties

type: (
| "global"
| "local"
| "with"
| "closure"
| "catch"
| "block"
| "script"
| "eval"
| "module"
| "wasm-expression-stack"
)

Scope type. (ScopeType enum)

Object representing the scope. For global and with scopes it represents the actual object; for the rest of the scopes, it is artificial transient object enumerating scope variables as its properties.

optional
name: string
optional
startLocation: Location

Location in the source code where scope starts

optional
endLocation: Location

Location in the source code where scope ends