class AmebaLS::DiagnosticsFormatter

Defined in:

ameba-ls/ameba/diagnostics_formatter.cr

Instance Method Summary

Instance Method Detail

def cancellation_token : CancellationToken | Nil #

def cancellation_token=(cancellation_token : CancellationToken | Nil) #

def diagnostics : Array(AmebaLS::IssueDiagnostic) #

def source_finished(source : Ameba::Source) : Nil #
Description copied from class Ameba::Formatter::BaseFormatter

Callback that indicates when source inspection is finished. A corresponding source is passed as an argument.

WARNING This method needs to be MT safe