Header menu logo F# Compiler Guide

FSharpOpenDeclaration Type

Represents open declaration in F# code.

Instance members

Instance member Description

this.AppliedScope

Full Usage: this.AppliedScope

Returns: range

Scope in which open declaration is visible.

Returns: range

this.IsOwnNamespace

Full Usage: this.IsOwnNamespace

Returns: bool

If it's `namespace Xxx.Yyy` declaration.

Returns: bool

this.LongId

Full Usage: this.LongId

Returns: Ident list

The syntactic target of the declaration

Returns: Ident list

this.Modules

Full Usage: this.Modules

Returns: FSharpEntity list

Modules or namespaces which is opened with this declaration.

Returns: FSharpEntity list

this.Range

Full Usage: this.Range

Returns: range option

Range of the open declaration.

Returns: range option

this.Target

Full Usage: this.Target

Returns: SynOpenDeclTarget

The syntactic target of the declaration

Returns: SynOpenDeclTarget

this.Types

Full Usage: this.Types

Returns: FSharpType list

Types whose static members and nested types is opened with this declaration.

Returns: FSharpType list

Type something to start searching.