struct LSP::SignatureInformation

Overview

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

Included Modules

Defined in:

requests/language_features/signature_help.cr

Constructors

Instance Method Summary

Constructor Detail

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

def self.new(**args) #

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.


def label : String #

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


def label=(label : String) #

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


def parameters : Array(ParameterInformation)? #

The parameters of this signature.


def parameters=(parameters : Array(ParameterInformation)?) #

The parameters of this signature.