Class: Pikuri::Lsp::Anchor::Resolution
- Inherits:
-
Data
- Object
- Data
- Pikuri::Lsp::Anchor::Resolution
- 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
-
#anchors ⇒ Array<Anchor>
readonly
At least one — resolve raises rather than answering none.
-
#notes ⇒ Array<String>
readonly
Lines the tool appends under
Notes:, e.g.
Instance Attribute Details
#anchors ⇒ Array<Anchor> (readonly)
Returns at least one — Pikuri::Lsp::Anchor.resolve raises rather than answering none.
62 |
# File 'lib/pikuri/lsp/anchor.rb', line 62 Resolution = Data.define(:anchors, :notes) |
#notes ⇒ Array<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.
62 |
# File 'lib/pikuri/lsp/anchor.rb', line 62 Resolution = Data.define(:anchors, :notes) |