Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface LocationLink

Information about where a symbol is defined.

Provides additional metadata over normal location definitions, including the range of the defining symbol

Hierarchy

  • LocationLink

Index

Properties

originSelectionRange?: Range

Span of the symbol being defined in the source file.

Used as the underlined span for mouse definition hover. Defaults to the word range at the definition position.

targetRange: Range

The full range of the definition.

For a class definition for example, this would be the entire body of the class definition.

targetSelectionRange?: Range

The span of the symbol definition.

For a class definition, this would be the class name itself in the class definition.

targetUri: Uri

The resource identifier of the definition.