From a169eb1a77b35080bb7216c9f2e1645e91c1bae1 Mon Sep 17 00:00:00 2001 From: Andy Waite <13400+andyw8@users.noreply.github.com> Date: Tue, 17 Dec 2024 14:51:22 -0500 Subject: [PATCH] Bump ruby-lsp dependency to v0.22.1 --- Gemfile.lock | 8 +- ruby-lsp-rails.gemspec | 2 +- ...uby-lsp@0.22.0.rbi => ruby-lsp@0.22.1.rbi} | 148 ++++++++++-------- 3 files changed, 88 insertions(+), 70 deletions(-) rename sorbet/rbi/gems/{ruby-lsp@0.22.0.rbi => ruby-lsp@0.22.1.rbi} (99%) diff --git a/Gemfile.lock b/Gemfile.lock index 8574b806..35039e7c 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -2,7 +2,7 @@ PATH remote: . specs: ruby-lsp-rails (0.3.27) - ruby-lsp (>= 0.22.0, < 0.23.0) + ruby-lsp (>= 0.22.1, < 0.23.0) GEM remote: https://rubygems.org/ @@ -102,7 +102,7 @@ GEM reline (>= 0.4.2) json (2.7.6) language_server-protocol (3.17.0.3) - logger (1.6.1) + logger (1.6.3) loofah (2.23.1) crass (~> 1.0.2) nokogiri (>= 1.12.0) @@ -186,7 +186,7 @@ GEM rbi (0.2.1) prism (~> 1.0) sorbet-runtime (>= 0.5.9204) - rbs (3.6.1) + rbs (3.7.0) logger rdoc (6.7.0) psych (>= 4.0.0) @@ -214,7 +214,7 @@ GEM rubocop (~> 1.51) rubocop-sorbet (0.8.7) rubocop (>= 1) - ruby-lsp (0.22.0) + ruby-lsp (0.22.1) language_server-protocol (~> 3.17.0) prism (>= 1.2, < 2.0) rbs (>= 3, < 4) diff --git a/ruby-lsp-rails.gemspec b/ruby-lsp-rails.gemspec index 98bcc8ae..2df9be36 100644 --- a/ruby-lsp-rails.gemspec +++ b/ruby-lsp-rails.gemspec @@ -24,5 +24,5 @@ Gem::Specification.new do |spec| Dir["lib/**/*", "LICENSE.txt", "Rakefile", "README.md"] end - spec.add_dependency("ruby-lsp", ">= 0.22.0", "< 0.23.0") + spec.add_dependency("ruby-lsp", ">= 0.22.1", "< 0.23.0") end diff --git a/sorbet/rbi/gems/ruby-lsp@0.22.0.rbi b/sorbet/rbi/gems/ruby-lsp@0.22.1.rbi similarity index 99% rename from sorbet/rbi/gems/ruby-lsp@0.22.0.rbi rename to sorbet/rbi/gems/ruby-lsp@0.22.1.rbi index b6ab9075..de11ebc7 100644 --- a/sorbet/rbi/gems/ruby-lsp@0.22.0.rbi +++ b/sorbet/rbi/gems/ruby-lsp@0.22.1.rbi @@ -73,7 +73,7 @@ class RubyIndexer::DeclarationListener end def initialize(index, dispatcher, parse_result, file_path, collect_comments: T.unsafe(nil)); end - # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#490 + # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#493 sig do params( name_or_nesting: T.any(::String, T::Array[::String]), @@ -85,7 +85,7 @@ class RubyIndexer::DeclarationListener end def add_class(name_or_nesting, full_location, name_location, parent_class_name: T.unsafe(nil), comments: T.unsafe(nil)); end - # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#443 + # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#446 sig do params( name: ::String, @@ -97,7 +97,7 @@ class RubyIndexer::DeclarationListener end def add_method(name, node_location, signatures, visibility: T.unsafe(nil), comments: T.unsafe(nil)); end - # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#466 + # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#469 sig do params( name: ::String, @@ -108,7 +108,7 @@ class RubyIndexer::DeclarationListener end def add_module(name, full_location, name_location, comments: T.unsafe(nil)); end - # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#522 + # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#525 sig { returns(T.nilable(::RubyIndexer::Entry::Namespace)) } def current_owner; end @@ -116,7 +116,7 @@ class RubyIndexer::DeclarationListener sig { returns(T::Array[::String]) } def indexing_errors; end - # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#419 + # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#422 sig { params(node: ::Prism::AliasMethodNode).void } def on_alias_method_node_enter(node); end @@ -124,7 +124,7 @@ class RubyIndexer::DeclarationListener sig { params(node: ::Prism::CallNode).void } def on_call_node_enter(node); end - # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#297 + # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#300 sig { params(node: ::Prism::CallNode).void } def on_call_node_leave(node); end @@ -168,51 +168,51 @@ class RubyIndexer::DeclarationListener sig { params(node: ::Prism::ConstantWriteNode).void } def on_constant_write_node_enter(node); end - # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#318 + # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#321 sig { params(node: ::Prism::DefNode).void } def on_def_node_enter(node); end - # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#359 + # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#362 sig { params(node: ::Prism::DefNode).void } def on_def_node_leave(node); end - # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#369 + # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#372 sig { params(node: ::Prism::GlobalVariableAndWriteNode).void } def on_global_variable_and_write_node_enter(node); end - # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#374 + # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#377 sig { params(node: ::Prism::GlobalVariableOperatorWriteNode).void } def on_global_variable_operator_write_node_enter(node); end - # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#379 + # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#382 sig { params(node: ::Prism::GlobalVariableOrWriteNode).void } def on_global_variable_or_write_node_enter(node); end - # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#384 + # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#387 sig { params(node: ::Prism::GlobalVariableTargetNode).void } def on_global_variable_target_node_enter(node); end - # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#389 + # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#392 sig { params(node: ::Prism::GlobalVariableWriteNode).void } def on_global_variable_write_node_enter(node); end - # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#399 + # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#402 sig { params(node: ::Prism::InstanceVariableAndWriteNode).void } def on_instance_variable_and_write_node_enter(node); end - # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#404 + # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#407 sig { params(node: ::Prism::InstanceVariableOperatorWriteNode).void } def on_instance_variable_operator_write_node_enter(node); end - # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#409 + # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#412 sig { params(node: ::Prism::InstanceVariableOrWriteNode).void } def on_instance_variable_or_write_node_enter(node); end - # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#414 + # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#417 sig { params(node: ::Prism::InstanceVariableTargetNode).void } def on_instance_variable_target_node_enter(node); end - # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#394 + # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#397 sig { params(node: ::Prism::InstanceVariableWriteNode).void } def on_instance_variable_write_node_enter(node); end @@ -236,21 +236,21 @@ class RubyIndexer::DeclarationListener sig { params(node: ::Prism::SingletonClassNode).void } def on_singleton_class_node_leave(node); end - # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#515 + # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#518 sig { void } def pop_namespace_stack; end - # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#505 + # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#508 sig { params(block: T.proc.params(index: ::RubyIndexer::Index, base: ::RubyIndexer::Entry::Namespace).void).void } def register_included_hook(&block); end private - # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#971 + # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#1013 sig { params(name: ::String).returns(T::Array[::String]) } def actual_nesting(name); end - # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#667 + # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#670 sig do params( node: T.any(::Prism::ConstantAndWriteNode, ::Prism::ConstantOperatorWriteNode, ::Prism::ConstantOrWriteNode, ::Prism::ConstantPathAndWriteNode, ::Prism::ConstantPathOperatorWriteNode, ::Prism::ConstantPathOrWriteNode, ::Prism::ConstantPathTargetNode, ::Prism::ConstantPathWriteNode, ::Prism::ConstantTargetNode, ::Prism::ConstantWriteNode), @@ -260,35 +260,35 @@ class RubyIndexer::DeclarationListener end def add_constant(node, name, value = T.unsafe(nil)); end - # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#985 + # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#1027 sig { params(short_name: ::String, entry: ::RubyIndexer::Entry::Namespace).void } def advance_namespace_stack(short_name, entry); end - # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#718 + # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#721 sig { params(node: ::Prism::Node).returns(T.nilable(::String)) } def collect_comments(node); end - # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#746 + # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#749 sig { params(line: ::Integer).returns(T::Boolean) } def comment_exists_at?(line); end - # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#879 + # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#921 sig { returns(::RubyIndexer::Entry::Visibility) } def current_visibility; end - # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#751 + # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#754 sig { params(name: ::String).returns(::String) } def fully_qualify_name(name); end - # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#611 + # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#614 sig { params(node: ::Prism::CallNode).void } def handle_alias_method(node); end - # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#760 + # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#763 sig { params(node: ::Prism::CallNode, reader: T::Boolean, writer: T::Boolean).void } def handle_attribute(node, reader:, writer:); end - # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#540 + # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#543 sig do params( node: T.any(::Prism::GlobalVariableAndWriteNode, ::Prism::GlobalVariableOperatorWriteNode, ::Prism::GlobalVariableOrWriteNode, ::Prism::GlobalVariableTargetNode, ::Prism::GlobalVariableWriteNode), @@ -297,7 +297,7 @@ class RubyIndexer::DeclarationListener end def handle_global_variable(node, loc); end - # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#564 + # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#567 sig do params( node: T.any(::Prism::InstanceVariableAndWriteNode, ::Prism::InstanceVariableOperatorWriteNode, ::Prism::InstanceVariableOrWriteNode, ::Prism::InstanceVariableTargetNode, ::Prism::InstanceVariableWriteNode), @@ -306,19 +306,23 @@ class RubyIndexer::DeclarationListener end def handle_instance_variable(node, loc); end - # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#837 + # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#840 sig { params(node: ::Prism::CallNode).void } def handle_module_function(node); end - # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#803 + # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#806 sig { params(node: ::Prism::CallNode, operation: ::Symbol).void } def handle_module_operation(node, operation); end - # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#586 + # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#882 + sig { params(node: ::Prism::CallNode).void } + def handle_private_class_method(node); end + + # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#589 sig { params(node: ::Prism::CallNode).void } def handle_private_constant(node); end - # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#884 + # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#926 sig do params( parameters_node: T.nilable(::Prism::ParametersNode) @@ -326,7 +330,7 @@ class RubyIndexer::DeclarationListener end def list_params(parameters_node); end - # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#946 + # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb#988 sig { params(node: T.nilable(::Prism::Node)).returns(T.nilable(::Symbol)) } def parameter_name(node); end end @@ -3245,101 +3249,113 @@ class RubyLsp::Listeners::DocumentSymbol end def initialize(response_builder, uri, dispatcher); end - # source://ruby-lsp/lib/ruby_lsp/listeners/document_symbol.rb#273 + # source://ruby-lsp/lib/ruby_lsp/listeners/document_symbol.rb#306 sig { params(node: ::Prism::AliasMethodNode).void } def on_alias_method_node_enter(node); end - # source://ruby-lsp/lib/ruby_lsp/listeners/document_symbol.rb#84 + # source://ruby-lsp/lib/ruby_lsp/listeners/document_symbol.rb#87 sig { params(node: ::Prism::CallNode).void } def on_call_node_enter(node); end - # source://ruby-lsp/lib/ruby_lsp/listeners/document_symbol.rb#98 + # source://ruby-lsp/lib/ruby_lsp/listeners/document_symbol.rb#101 sig { params(node: ::Prism::CallNode).void } def on_call_node_leave(node); end - # source://ruby-lsp/lib/ruby_lsp/listeners/document_symbol.rb#52 + # source://ruby-lsp/lib/ruby_lsp/listeners/document_symbol.rb#55 sig { params(node: ::Prism::ClassNode).void } def on_class_node_enter(node); end - # source://ruby-lsp/lib/ruby_lsp/listeners/document_symbol.rb#62 + # source://ruby-lsp/lib/ruby_lsp/listeners/document_symbol.rb#65 sig { params(node: ::Prism::ClassNode).void } def on_class_node_leave(node); end - # source://ruby-lsp/lib/ruby_lsp/listeners/document_symbol.rb#263 + # source://ruby-lsp/lib/ruby_lsp/listeners/document_symbol.rb#256 sig { params(node: ::Prism::ClassVariableWriteNode).void } def on_class_variable_write_node_enter(node); end - # source://ruby-lsp/lib/ruby_lsp/listeners/document_symbol.rb#167 + # source://ruby-lsp/lib/ruby_lsp/listeners/document_symbol.rb#170 sig { params(node: ::Prism::ConstantAndWriteNode).void } def on_constant_and_write_node_enter(node); end - # source://ruby-lsp/lib/ruby_lsp/listeners/document_symbol.rb#177 + # source://ruby-lsp/lib/ruby_lsp/listeners/document_symbol.rb#180 sig { params(node: ::Prism::ConstantOperatorWriteNode).void } def on_constant_operator_write_node_enter(node); end - # source://ruby-lsp/lib/ruby_lsp/listeners/document_symbol.rb#157 + # source://ruby-lsp/lib/ruby_lsp/listeners/document_symbol.rb#160 sig { params(node: ::Prism::ConstantOrWriteNode).void } def on_constant_or_write_node_enter(node); end - # source://ruby-lsp/lib/ruby_lsp/listeners/document_symbol.rb#127 + # source://ruby-lsp/lib/ruby_lsp/listeners/document_symbol.rb#130 sig { params(node: ::Prism::ConstantPathAndWriteNode).void } def on_constant_path_and_write_node_enter(node); end - # source://ruby-lsp/lib/ruby_lsp/listeners/document_symbol.rb#147 + # source://ruby-lsp/lib/ruby_lsp/listeners/document_symbol.rb#150 sig { params(node: ::Prism::ConstantPathOperatorWriteNode).void } def on_constant_path_operator_write_node_enter(node); end - # source://ruby-lsp/lib/ruby_lsp/listeners/document_symbol.rb#137 + # source://ruby-lsp/lib/ruby_lsp/listeners/document_symbol.rb#140 sig { params(node: ::Prism::ConstantPathOrWriteNode).void } def on_constant_path_or_write_node_enter(node); end - # source://ruby-lsp/lib/ruby_lsp/listeners/document_symbol.rb#197 + # source://ruby-lsp/lib/ruby_lsp/listeners/document_symbol.rb#200 sig { params(node: ::Prism::ConstantPathTargetNode).void } def on_constant_path_target_node_enter(node); end - # source://ruby-lsp/lib/ruby_lsp/listeners/document_symbol.rb#107 + # source://ruby-lsp/lib/ruby_lsp/listeners/document_symbol.rb#110 sig { params(node: ::Prism::ConstantPathWriteNode).void } def on_constant_path_write_node_enter(node); end - # source://ruby-lsp/lib/ruby_lsp/listeners/document_symbol.rb#187 + # source://ruby-lsp/lib/ruby_lsp/listeners/document_symbol.rb#190 sig { params(node: ::Prism::ConstantTargetNode).void } def on_constant_target_node_enter(node); end - # source://ruby-lsp/lib/ruby_lsp/listeners/document_symbol.rb#117 + # source://ruby-lsp/lib/ruby_lsp/listeners/document_symbol.rb#120 sig { params(node: ::Prism::ConstantWriteNode).void } def on_constant_write_node_enter(node); end - # source://ruby-lsp/lib/ruby_lsp/listeners/document_symbol.rb#222 + # source://ruby-lsp/lib/ruby_lsp/listeners/document_symbol.rb#225 sig { params(node: ::Prism::DefNode).void } def on_def_node_enter(node); end - # source://ruby-lsp/lib/ruby_lsp/listeners/document_symbol.rb#207 + # source://ruby-lsp/lib/ruby_lsp/listeners/document_symbol.rb#210 sig { params(node: ::Prism::DefNode).void } def on_def_node_leave(node); end - # source://ruby-lsp/lib/ruby_lsp/listeners/document_symbol.rb#253 + # source://ruby-lsp/lib/ruby_lsp/listeners/document_symbol.rb#296 + sig { params(node: ::Prism::InstanceVariableAndWriteNode).void } + def on_instance_variable_and_write_node_enter(node); end + + # source://ruby-lsp/lib/ruby_lsp/listeners/document_symbol.rb#276 + sig { params(node: ::Prism::InstanceVariableOperatorWriteNode).void } + def on_instance_variable_operator_write_node_enter(node); end + + # source://ruby-lsp/lib/ruby_lsp/listeners/document_symbol.rb#286 + sig { params(node: ::Prism::InstanceVariableOrWriteNode).void } + def on_instance_variable_or_write_node_enter(node); end + + # source://ruby-lsp/lib/ruby_lsp/listeners/document_symbol.rb#266 sig { params(node: ::Prism::InstanceVariableWriteNode).void } def on_instance_variable_write_node_enter(node); end - # source://ruby-lsp/lib/ruby_lsp/listeners/document_symbol.rb#212 + # source://ruby-lsp/lib/ruby_lsp/listeners/document_symbol.rb#215 sig { params(node: ::Prism::ModuleNode).void } def on_module_node_enter(node); end - # source://ruby-lsp/lib/ruby_lsp/listeners/document_symbol.rb#248 + # source://ruby-lsp/lib/ruby_lsp/listeners/document_symbol.rb#251 sig { params(node: ::Prism::ModuleNode).void } def on_module_node_leave(node); end - # source://ruby-lsp/lib/ruby_lsp/listeners/document_symbol.rb#67 + # source://ruby-lsp/lib/ruby_lsp/listeners/document_symbol.rb#70 sig { params(node: ::Prism::SingletonClassNode).void } def on_singleton_class_node_enter(node); end - # source://ruby-lsp/lib/ruby_lsp/listeners/document_symbol.rb#79 + # source://ruby-lsp/lib/ruby_lsp/listeners/document_symbol.rb#82 sig { params(node: ::Prism::SingletonClassNode).void } def on_singleton_class_node_leave(node); end private - # source://ruby-lsp/lib/ruby_lsp/listeners/document_symbol.rb#298 + # source://ruby-lsp/lib/ruby_lsp/listeners/document_symbol.rb#331 sig do params( name: ::String, @@ -3350,23 +3366,23 @@ class RubyLsp::Listeners::DocumentSymbol end def create_document_symbol(name:, kind:, range_location:, selection_range_location:); end - # source://ruby-lsp/lib/ruby_lsp/listeners/document_symbol.rb#347 + # source://ruby-lsp/lib/ruby_lsp/listeners/document_symbol.rb#380 sig { params(node: ::Prism::CallNode).void } def handle_alias_method(node); end - # source://ruby-lsp/lib/ruby_lsp/listeners/document_symbol.rb#314 + # source://ruby-lsp/lib/ruby_lsp/listeners/document_symbol.rb#347 sig { params(node: ::Prism::CallNode).void } def handle_attr_accessor(node); end - # source://ruby-lsp/lib/ruby_lsp/listeners/document_symbol.rb#380 + # source://ruby-lsp/lib/ruby_lsp/listeners/document_symbol.rb#413 sig { params(node: ::Prism::CallNode).void } def handle_rake_namespace(node); end - # source://ruby-lsp/lib/ruby_lsp/listeners/document_symbol.rb#406 + # source://ruby-lsp/lib/ruby_lsp/listeners/document_symbol.rb#439 sig { params(node: ::Prism::CallNode).void } def handle_rake_task(node); end - # source://ruby-lsp/lib/ruby_lsp/listeners/document_symbol.rb#441 + # source://ruby-lsp/lib/ruby_lsp/listeners/document_symbol.rb#474 sig { returns(T::Boolean) } def rake?; end end @@ -4009,6 +4025,8 @@ class RubyLsp::RBSDocument < ::RubyLsp::Document def syntax_error?; end end +module RubyLsp::Rails; end + # source://ruby-lsp/lib/ruby_lsp/utils.rb#155 class RubyLsp::Request < ::RubyLsp::Message # source://ruby-lsp/lib/ruby_lsp/utils.rb#159