View Source GenLSP.Structures.CallHierarchyItem (gen_lsp v0.10.0)

Represents programming constructs like functions or constructors in the context of call hierarchy.

@since 3.16.0

Link to this section Summary

Functions

Fields

  • name: The name of this item.
  • kind: The kind of this item.
  • tags: Tags for this item.
  • detail: More detail for this item, e.g. the signature of a function.
  • uri: The resource identifier of this item.
  • range: The range enclosing this symbol not including leading/trailing whitespace but everything else, e.g. comments and code.
  • selection_range: The range that should be selected and revealed when this symbol is being picked, e.g. the name of a function. Must be contained by the {@link CallHierarchyItem.range range}.
  • data: A data entry field that is preserved between a call hierarchy prepare and incoming calls or outgoing calls requests.

Link to this section Types

@type t() :: %GenLSP.Structures.CallHierarchyItem{
  data: GenLSP.TypeAlias.LSPAny.t() | nil,
  detail: String.t() | nil,
  kind: GenLSP.Enumerations.SymbolKind.t(),
  name: String.t(),
  range: GenLSP.Structures.Range.t(),
  selection_range: GenLSP.Structures.Range.t(),
  tags: [GenLSP.Enumerations.SymbolTag.t()] | nil,
  uri: GenLSP.BaseTypes.document_uri()
}

Link to this section Functions

Link to this function

%GenLSP.Structures.CallHierarchyItem{}

View Source (struct)

fields

Fields

  • name: The name of this item.
  • kind: The kind of this item.
  • tags: Tags for this item.
  • detail: More detail for this item, e.g. the signature of a function.
  • uri: The resource identifier of this item.
  • range: The range enclosing this symbol not including leading/trailing whitespace but everything else, e.g. comments and code.
  • selection_range: The range that should be selected and revealed when this symbol is being picked, e.g. the name of a function. Must be contained by the {@link CallHierarchyItem.range range}.
  • data: A data entry field that is preserved between a call hierarchy prepare and incoming calls or outgoing calls requests.