declaration

langoustine.lsp.requests.textDocument.declaration
object declaration extends LSPRequest

A request to resolve the type definition locations of a symbol at a given text document position. The request's parameter is of type [[TextDocumentPositionParams]] the response is of type [[Declaration]] or a typed array of [[DeclarationLink]] or a Thenable that resolves to such.

Attributes

Source
requests.scala
Graph
Supertypes
class LSPRequest
class Object
trait Matchable
class Any
Self type

Members list

Type members

Types

Attributes

Source
requests.scala
type Out = Opt[Declaration | Vector[DeclarationLink]]

Attributes

Source
requests.scala

Value members

Concrete methods

override def apply(in: DeclarationParams): PreparedRequest[this.type]

Attributes

Definition Classes
Source
requests.scala

Inherited fields

val requestMethod: String

Attributes

Inherited from:
LSPRequest
Source
requests.scala

Givens

Inherited givens

given inputReader: Reader[In]

Attributes

Inherited from:
requests_textDocument_declaration (hidden)
Source
codecs.scala
given inputWriter: Writer[In]

Attributes

Inherited from:
requests_textDocument_declaration (hidden)
Source
codecs.scala
given outputReader: Reader[Out]

Attributes

Inherited from:
requests_textDocument_declaration (hidden)
Source
codecs.scala
given outputWriter: Writer[Out]

Attributes

Inherited from:
requests_textDocument_declaration (hidden)
Source
codecs.scala