struct LSP::PublishDiagnosticsParams

Included Modules

Defined in:

notifications/diagnostics/publish_diagnostics.cr

Constructors

Instance Method Summary

Constructor Detail

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

def self.new(**args) #

Instance Method Detail

def diagnostics : Array(Diagnostic) #

An array of diagnostic information items.


def diagnostics=(diagnostics : Array(Diagnostic)) #

An array of diagnostic information items.


def uri : String #

The URI for which diagnostic information is reported.


def uri=(uri : String) #

The URI for which diagnostic information is reported.


def version : Int32? #

Optional: the version number of the document the diagnostics are published for.


def version=(version : Int32?) #

Optional: the version number of the document the diagnostics are published for.