Class: Pikuri::Lsp::Anchor::Resolution

Inherits:
Data
  • Object
show all
Defined in:
lib/pikuri/lsp/anchor.rb

Overview

What resolve produces: the anchors, plus what happened to the candidates that did not become one.

Instance Attribute Summary collapse

Instance Attribute Details

#anchorsArray<Anchor> (readonly)

Returns at least one — Pikuri::Lsp::Anchor.resolve raises rather than answering none.

Returns:



62
# File 'lib/pikuri/lsp/anchor.rb', line 62

Resolution = Data.define(:anchors, :notes)

#notesArray<String> (readonly)

Returns lines the tool appends under Notes:, e.g. a match that resolved outside the workspace, or a symbol found by scanning the file because the index had no entry for it.

Returns:

  • (Array<String>)

    lines the tool appends under Notes:, e.g. a match that resolved outside the workspace, or a symbol found by scanning the file because the index had no entry for it.



62
# File 'lib/pikuri/lsp/anchor.rb', line 62

Resolution = Data.define(:anchors, :notes)