Skip to content

Scope

[<Interface>]
type Scope =
    abstract member endLocation: Location option with get, set
    abstract member name: string option with get, set
    abstract member object: RemoteObject with get, set
    abstract member startLocation: Location option with get, set
    abstract member type: string with get, set
    static member Create (type: string, object: RemoteObject, ?name: string, ?startLocation: Location, ?endLocation: Location) : Scope
AssemblyXantham.Fable.Node
Attributes[<Interface>]

Scope description.

Properties

abstract member endLocation: Location option with get, set

Location in the source code where scope ends

abstract member name: string option with get, set
abstract member object: RemoteObject with get, set

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.

abstract member startLocation: Location option with get, set

Location in the source code where scope starts

abstract member type: string with get, set

Scope type.

Methods

static member Create (type: string, object: RemoteObject, ?name: string, ?startLocation: Location, ?endLocation: Location) : Scope