struct

LSP::Data::SignatureInformation

Inherits JSON::Serializable < Struct < Value < Object

Constructors

new(pull : JSON::PullParser)
Source
new(label : String = "", documentation : LSP::Data::MarkupContent | String | Nil = nil, parameters : Array(LSP::Data::ParameterInformation) = [] of ParameterInformation)
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))

The parameters of this signature.

Source