struct LSP::Data::SignatureInformation

Included Modules

Defined in:

lsp/data/signature_information.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(label : String = "", documentation : LSP::Data::MarkupContent | String | Nil = nil, parameters : Array(LSP::Data::ParameterInformation) = [] of ParameterInformation) #

[View source]

Instance Method Detail

def documentation : String | MarkupContent | Nil #

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


[View source]
def documentation=(documentation : String | MarkupContent | Nil) #

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


[View source]
def label : String #

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


[View source]
def label=(label : String) #

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


[View source]
def parameters : Array(ParameterInformation) #

The parameters of this signature.


[View source]
def parameters=(parameters : Array(ParameterInformation)) #

The parameters of this signature.


[View source]