struct

LSP::SignatureInformation

Inherits JSON::Serializable < LSP::Initializer < Struct < Value < Object

Represents the signature of something callable. A signature can have a label, like a function-name, a doc-comment, and a set of parameters.

Constructors

new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

documentation

The human-readable doc-comment of this signature. Will be shown in the UI but can be omitted.

Source
documentation=(documentation : String | MarkupContent | Nil)

The human-readable doc-comment of this signature. Will be shown in the UI but can be omitted.

Source
label

The label of this signature. Will be shown in the UI.

Source
label=(label : String)

The label of this signature. Will be shown in the UI.

Source
parameters

The parameters of this signature.

Source
parameters=(parameters : Array(ParameterInformation) | Nil)

The parameters of this signature.

Source