Sha256: 2e4c0f6808a4decfdd1511a35398418bd786c88d863392bf868ef3adc5152edd
Contents?: true
Size: 792 Bytes
Versions: 16
Compression:
Stored size: 792 Bytes
Contents
# typed: strict # frozen_string_literal: true module RubyLsp module Requests module Support module Formatter extend T::Sig extend T::Helpers interface! sig { abstract.params(uri: URI::Generic, document: RubyDocument).returns(T.nilable(String)) } def run_formatting(uri, document); end sig { abstract.params(uri: URI::Generic, source: String, base_indentation: Integer).returns(T.nilable(String)) } def run_range_formatting(uri, source, base_indentation); end sig do abstract.params( uri: URI::Generic, document: RubyDocument, ).returns(T.nilable(T::Array[Interface::Diagnostic])) end def run_diagnostic(uri, document); end end end end end
Version data entries
16 entries across 16 versions & 1 rubygems