struct LSP::Data::SignatureInformation
- LSP::Data::SignatureInformation
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
lsp/data/signature_information.crConstructors
- .new(pull : JSON::PullParser)
- .new(label : String = "", documentation : LSP::Data::MarkupContent | String | Nil = nil, parameters : Array(LSP::Data::ParameterInformation) = [] of ParameterInformation)
Instance Method Summary
-
#documentation : String | MarkupContent | Nil
The human-readable doc-comment of this signature.
-
#documentation=(documentation : String | MarkupContent | Nil)
The human-readable doc-comment of this signature.
-
#label : String
The label of this signature.
-
#label=(label : String)
The label of this signature.
-
#parameters : Array(ParameterInformation)
The parameters of this signature.
-
#parameters=(parameters : Array(ParameterInformation))
The parameters of this signature.
Constructor Detail
def self.new(label : String = "", documentation : LSP::Data::MarkupContent | String | Nil = nil, parameters : Array(LSP::Data::ParameterInformation) = [] of ParameterInformation)
#
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.
def documentation=(documentation : String | MarkupContent | Nil)
#
The human-readable doc-comment of this signature. Will be shown in the UI but can be omitted.