From 8320daa93cf10cf408165e0be18577af12e16298 Mon Sep 17 00:00:00 2001 From: Stan Lo Date: Thu, 21 Sep 2023 17:33:50 +0100 Subject: [PATCH] Use YARP-based ruby-lsp and rename extension to addon --- Gemfile.lock | 13 +- README.md | 4 +- .../ruby_lsp_rails/{extension.rb => addon.rb} | 8 +- lib/ruby_lsp/ruby_lsp_rails/code_lens.rb | 52 +- lib/ruby_lsp/ruby_lsp_rails/hover.rb | 42 +- lib/ruby_lsp_rails/railtie.rb | 4 +- ruby-lsp-rails.gemspec | 6 +- ...e585eae081be5f7b4484459fe0a2b737a9babc.rbi | 15612 +--------------- ...uby-lsp@0.10.1.rbi => ruby-lsp@0.11.0.rbi} | 1838 +- ...x_tree@6.1.1.rbi => syntax_tree@6.2.0.rbi} | 4639 ++--- sorbet/rbi/gems/tapioca@0.11.9.rbi | 10 +- .../gems/{yarp@0.11.0.rbi => yarp@0.12.0.rbi} | 6939 ++++--- sorbet/rbi/shims/yarp.rbi | 7123 +++++++ test/ruby_lsp_rails/code_lens_test.rb | 70 +- test/ruby_lsp_rails/extension_test.rb | 12 +- test/ruby_lsp_rails/hover_test.rb | 89 +- test/test_helper.rb | 2 +- 17 files changed, 15461 insertions(+), 21002 deletions(-) rename lib/ruby_lsp/ruby_lsp_rails/{extension.rb => addon.rb} (85%) rename sorbet/rbi/gems/{ruby-lsp@0.10.1.rbi => ruby-lsp@0.11.0.rbi} (69%) rename sorbet/rbi/gems/{syntax_tree@6.1.1.rbi => syntax_tree@6.2.0.rbi} (86%) rename sorbet/rbi/gems/{yarp@0.11.0.rbi => yarp@0.12.0.rbi} (71%) create mode 100644 sorbet/rbi/shims/yarp.rbi diff --git a/Gemfile.lock b/Gemfile.lock index 5621a408..962bb3ec 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -104,7 +104,7 @@ PATH specs: ruby-lsp-rails (0.2.5) rails (>= 6.0) - ruby-lsp (>= 0.10.0, < 0.11.0) + ruby-lsp (>= 0.11.0, < 0.12.0) sorbet-runtime (>= 0.5.9897) GEM @@ -221,11 +221,10 @@ GEM rubocop (~> 1.51) rubocop-sorbet (0.7.4) rubocop (>= 0.90.0) - ruby-lsp (0.10.1) + ruby-lsp (0.11.0) language_server-protocol (~> 3.17.0) - sorbet-runtime - syntax_tree (>= 6.1.1, < 7) - yarp (>= 0.11, < 0.12) + sorbet-runtime (>= 0.5.5685) + yarp (>= 0.12, < 0.13) ruby-progressbar (1.13.0) ruby2_keywords (0.0.5) sorbet (0.5.11054) @@ -244,7 +243,7 @@ GEM sqlite3 (1.6.6) mini_portile2 (~> 2.8.0) stringio (3.0.8) - syntax_tree (6.1.1) + syntax_tree (6.2.0) prettier_print (>= 1.2.0) tapioca (0.11.9) bundler (>= 2.2.25) @@ -270,7 +269,7 @@ GEM yard-sorbet (0.8.1) sorbet-runtime (>= 0.5) yard (>= 0.9) - yarp (0.11.0) + yarp (0.12.0) zeitwerk (2.6.12) PLATFORMS diff --git a/README.md b/README.md index 587dd67a..4c6743af 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Ruby LSP Rails -Ruby LSP Rails is a [Ruby LSP](https://github.com/Shopify/ruby-lsp) extension for extra Rails editor features, such as: +Ruby LSP Rails is a [Ruby LSP](https://github.com/Shopify/ruby-lsp) addon for extra Rails editor features, such as: - Displaying an ActiveRecord model's database columns and types when hovering over it - Running tests and debugging tests through the terminal or the editor's UI @@ -56,7 +56,7 @@ cause the test runner to hang. This gem consists of two components that enable enhanced Rails functionality in the editor: 1. A Rack app that automatically exposes APIs when Rails server is running -1. A Ruby LSP extension that connects to the exposed APIs to fetch runtime information from the Rails server +1. A Ruby LSP addon that connects to the exposed APIs to fetch runtime information from the Rails server This is why the Rails server needs to be running for some features to work. diff --git a/lib/ruby_lsp/ruby_lsp_rails/extension.rb b/lib/ruby_lsp/ruby_lsp_rails/addon.rb similarity index 85% rename from lib/ruby_lsp/ruby_lsp_rails/extension.rb rename to lib/ruby_lsp/ruby_lsp_rails/addon.rb index 22b48017..c30c9406 100644 --- a/lib/ruby_lsp/ruby_lsp_rails/extension.rb +++ b/lib/ruby_lsp/ruby_lsp_rails/addon.rb @@ -1,7 +1,7 @@ # typed: strict # frozen_string_literal: true -require "ruby_lsp/extension" +require "ruby_lsp/addon" require_relative "rails_client" require_relative "hover" @@ -9,7 +9,7 @@ module RubyLsp module Rails - class Extension < ::RubyLsp::Extension + class Addon < ::RubyLsp::Addon extend T::Sig sig { returns(RailsClient) } @@ -39,11 +39,13 @@ def create_code_lens_listener(uri, emitter, message_queue) sig do override.params( + nesting: T::Array[String], + index: RubyIndexer::Index, emitter: EventEmitter, message_queue: Thread::Queue, ).returns(T.nilable(Listener[T.nilable(Interface::Hover)])) end - def create_hover_listener(emitter, message_queue) + def create_hover_listener(nesting, index, emitter, message_queue) Hover.new(client, emitter, message_queue) end diff --git a/lib/ruby_lsp/ruby_lsp_rails/code_lens.rb b/lib/ruby_lsp/ruby_lsp_rails/code_lens.rb index d71639d9..128b5d7a 100644 --- a/lib/ruby_lsp/ruby_lsp_rails/code_lens.rb +++ b/lib/ruby_lsp/ruby_lsp_rails/code_lens.rb @@ -46,47 +46,45 @@ class CodeLens < ::RubyLsp::Listener def initialize(uri, emitter, message_queue) @_response = T.let([], ResponseType) @path = T.let(uri.to_standardized_path, T.nilable(String)) - emitter.register(self, :on_command, :on_class, :on_def) + emitter.register(self, :on_call, :on_class, :on_def) super(emitter, message_queue) end - sig { params(node: SyntaxTree::Command).void } - def on_command(node) - message_value = node.message.value - return unless message_value == "test" && node.arguments.parts.any? + sig { params(node: YARP::CallNode).void } + def on_call(node) + message_value = node.message + return unless message_value == "test" - first_argument = node.arguments.parts.first + arguments = node.arguments&.arguments + return unless arguments&.any? - parts = case first_argument - when SyntaxTree::StringConcat + first_argument = arguments.first + + content = case first_argument + when YARP::StringConcatNode + left = first_argument.left + right = first_argument.right # We only support two lines of concatenation on test names - if first_argument.left.is_a?(SyntaxTree::StringLiteral) && - first_argument.right.is_a?(SyntaxTree::StringLiteral) - [*first_argument.left.parts, *first_argument.right.parts] + if left.is_a?(YARP::StringNode) && + right.is_a?(YARP::StringNode) + left.content + right.content end - when SyntaxTree::StringLiteral - first_argument.parts + when YARP::StringNode + first_argument.content end - # The test name may be a blank string while the code is being typed - return if parts.nil? || parts.empty? - - # We can't handle interpolation yet - return unless parts.all? { |part| part.is_a?(SyntaxTree::TStringContent) } - - test_name = parts.map(&:value).join - return if test_name.empty? + return unless content && !content.empty? line_number = node.location.start_line command = "#{BASE_COMMAND} #{@path}:#{line_number}" - add_test_code_lens(node, name: test_name, command: command, kind: :example) + add_test_code_lens(node, name: content, command: command, kind: :example) end # Although uncommon, Rails tests can be written with the classic "def test_name" syntax. - sig { params(node: SyntaxTree::DefNode).void } + sig { params(node: YARP::DefNode).void } def on_def(node) - method_name = node.name.value + method_name = node.name.to_s if method_name.start_with?("test_") line_number = node.location.start_line command = "#{BASE_COMMAND} #{@path}:#{line_number}" @@ -94,9 +92,9 @@ def on_def(node) end end - sig { params(node: SyntaxTree::ClassDeclaration).void } + sig { params(node: YARP::ClassNode).void } def on_class(node) - class_name = node.constant.constant.value + class_name = node.constant_path.slice if class_name.end_with?("Test") command = "#{BASE_COMMAND} #{@path}" add_test_code_lens(node, name: class_name, command: command, kind: :group) @@ -105,7 +103,7 @@ def on_class(node) private - sig { params(node: SyntaxTree::Node, name: String, command: String, kind: Symbol).void } + sig { params(node: YARP::Node, name: String, command: String, kind: Symbol).void } def add_test_code_lens(node, name:, command:, kind:) return unless @path diff --git a/lib/ruby_lsp/ruby_lsp_rails/hover.rb b/lib/ruby_lsp/ruby_lsp_rails/hover.rb index 41a609eb..fff168a1 100644 --- a/lib/ruby_lsp/ruby_lsp_rails/hover.rb +++ b/lib/ruby_lsp/ruby_lsp_rails/hover.rb @@ -31,12 +31,17 @@ def initialize(client, emitter, message_queue) @_response = T.let(nil, ResponseType) @client = client - emitter.register(self, :on_const, :on_command, :on_const_path_ref, :on_call) + emitter.register(self, :on_constant_path, :on_constant_read, :on_call) end - sig { params(node: SyntaxTree::Const).void } - def on_const(node) - model = @client.model(node.value) + sig { params(node: YARP::ConstantPathNode).void } + def on_constant_path(node) + @_response = generate_rails_document_link_hover(node.slice, node.location) + end + + sig { params(node: YARP::ConstantReadNode).void } + def on_constant_read(node) + model = @client.model(node.name.to_s) return if model.nil? schema_file = model[:schema_file] @@ -46,37 +51,28 @@ def on_const(node) end content << model[:columns].map { |name, type| "**#{name}**: #{type}\n" }.join("\n") contents = RubyLsp::Interface::MarkupContent.new(kind: "markdown", value: content) - @_response = RubyLsp::Interface::Hover.new(range: range_from_syntax_tree_node(node), contents: contents) - end - - sig { params(node: SyntaxTree::Command).void } - def on_command(node) - message = node.message - @_response = generate_rails_document_link_hover(message.value, message) + @_response = RubyLsp::Interface::Hover.new(range: range_from_node(node), contents: contents) end - sig { params(node: SyntaxTree::ConstPathRef).void } - def on_const_path_ref(node) - @_response = generate_rails_document_link_hover(full_constant_name(node), node) - end - - sig { params(node: SyntaxTree::CallNode).void } + sig { params(node: YARP::CallNode).void } def on_call(node) - message = node.message - return if message.is_a?(Symbol) + message_value = node.message + message_loc = node.message_loc + + return unless message_value && message_loc - @_response = generate_rails_document_link_hover(message.value, message) + @_response = generate_rails_document_link_hover(message_value, message_loc) end private - sig { params(name: String, node: SyntaxTree::Node).returns(T.nilable(Interface::Hover)) } - def generate_rails_document_link_hover(name, node) + sig { params(name: String, location: YARP::Location).returns(T.nilable(Interface::Hover)) } + def generate_rails_document_link_hover(name, location) urls = Support::RailsDocumentClient.generate_rails_document_urls(name) return if urls.empty? contents = RubyLsp::Interface::MarkupContent.new(kind: "markdown", value: urls.join("\n\n")) - RubyLsp::Interface::Hover.new(range: range_from_syntax_tree_node(node), contents: contents) + RubyLsp::Interface::Hover.new(range: range_from_location(location), contents: contents) end end end diff --git a/lib/ruby_lsp_rails/railtie.rb b/lib/ruby_lsp_rails/railtie.rb index ec9a5cf0..f2fe5440 100644 --- a/lib/ruby_lsp_rails/railtie.rb +++ b/lib/ruby_lsp_rails/railtie.rb @@ -27,8 +27,8 @@ class Railtie < ::Rails::Railtie app_uri_path.write(app_uri) at_exit do - # The app_uri.txt file should only exist when the server is running. The extension uses its presence to - # report if the server is running or not. If the server is not running, some of the extension features + # The app_uri.txt file should only exist when the server is running. The addon uses its presence to + # report if the server is running or not. If the server is not running, some of the addon features # will not be available. File.delete(app_uri_path) if File.exist?(app_uri_path) end diff --git a/ruby-lsp-rails.gemspec b/ruby-lsp-rails.gemspec index 1a581698..0edbc8f6 100644 --- a/ruby-lsp-rails.gemspec +++ b/ruby-lsp-rails.gemspec @@ -8,8 +8,8 @@ Gem::Specification.new do |spec| spec.authors = ["Shopify"] spec.email = ["ruby@shopify.com"] spec.homepage = "https://github.com/Shopify/ruby-lsp-rails" - spec.summary = "A Ruby LSP extension for Rails" - spec.description = "A Ruby LSP extension that adds extra editor functionality for Rails applications" + spec.summary = "A Ruby LSP addon for Rails" + spec.description = "A Ruby LSP addon that adds extra editor functionality for Rails applications" spec.license = "MIT" spec.metadata["allowed_push_host"] = "https://rubygems.org" @@ -22,6 +22,6 @@ Gem::Specification.new do |spec| end spec.add_dependency("rails", ">= 6.0") - spec.add_dependency("ruby-lsp", ">= 0.10.0", "< 0.11.0") + spec.add_dependency("ruby-lsp", ">= 0.11.0", "< 0.12.0") spec.add_dependency("sorbet-runtime", ">= 0.5.9897") end diff --git a/sorbet/rbi/gems/rails@7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babc.rbi b/sorbet/rbi/gems/rails@7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babc.rbi index 72b4c200..a789f591 100644 --- a/sorbet/rbi/gems/rails@7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babc.rbi +++ b/sorbet/rbi/gems/rails@7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babc.rbi @@ -4,15613 +4,5 @@ # This is an autogenerated file for types exported from the `rails` gem. # Please instead update this file by running `bin/tapioca gem rails`. -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/deprecator.rb#3 -module AbstractController - extend ::ActiveSupport::Autoload -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/asset_paths.rb#4 -module AbstractController::AssetPaths - extend ::ActiveSupport::Concern -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/base.rb#35 -class AbstractController::Base - include ::ActiveSupport::Configurable - extend ::ActiveSupport::Configurable::ClassMethods - extend ::ActiveSupport::DescendantsTracker - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/base.rb#170 - def action_methods; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/core_ext/module/attr_internal.rb#33 - def action_name; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/core_ext/module/attr_internal.rb#33 - def action_name=(_arg0); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/base.rb#184 - def available_action?(action_name); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/base.rb#165 - def controller_path; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/core_ext/module/attr_internal.rb#33 - def formats; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/core_ext/module/attr_internal.rb#33 - def formats=(_arg0); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/base.rb#203 - def inspect; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/base.rb#191 - def performed?; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/base.rb#151 - def process(action, *args, **_arg2); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/core_ext/module/attr_internal.rb#33 - def response_body; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/core_ext/module/attr_internal.rb#33 - def response_body=(_arg0); end - - def send_action(*_arg0); end - - private - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/base.rb#255 - def _find_action_name(action_name); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/base.rb#237 - def _handle_action_missing(*args); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/base.rb#291 - def _valid_action_name?(action_name); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/base.rb#213 - def action_method?(name); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/base.rb#282 - def method_for_action(action_name); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/base.rb#223 - def process_action(*_arg0, **_arg1, &_arg2); end - - class << self - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/base.rb#52 - def abstract; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/base.rb#57 - def abstract!; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/base.rb#52 - def abstract?; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/base.rb#96 - def action_methods; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/base.rb#111 - def clear_action_methods!; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/base.rb#125 - def controller_path; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/base.rb#135 - def eager_load!; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/base.rb#61 - def inherited(klass); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/base.rb#76 - def internal_methods; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/base.rb#130 - def method_added(name); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/base.rb#199 - def supports_path?; end - end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/caching.rb#4 -module AbstractController::Caching - include ::AbstractController::Caching::ConfigMethods - extend ::ActiveSupport::Concern - extend ::ActiveSupport::Autoload -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/caching.rb#46 -module AbstractController::Caching::ClassMethods - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/caching.rb#47 - def view_cache_dependency(&dependency); end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/caching.rb#12 -module AbstractController::Caching::ConfigMethods - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/caching.rb#13 - def cache_store; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/caching.rb#17 - def cache_store=(store); end - - private - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/caching.rb#22 - def cache_configured?; end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/caching/fragments.rb#20 -module AbstractController::Caching::Fragments - extend ::ActiveSupport::Concern - include GeneratedInstanceMethods - - mixes_in_class_methods GeneratedClassMethods - mixes_in_class_methods ::AbstractController::Caching::Fragments::ClassMethods - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/caching/fragments.rb#70 - def combined_fragment_cache_key(key); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/caching/fragments.rb#134 - def expire_fragment(key, options = T.unsafe(nil)); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/caching/fragments.rb#107 - def fragment_exist?(key, options = T.unsafe(nil)); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/caching/fragments.rb#147 - def instrument_fragment_cache(name, key, &block); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/caching/fragments.rb#95 - def read_fragment(key, options = T.unsafe(nil)); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/caching/fragments.rb#82 - def write_fragment(key, content, options = T.unsafe(nil)); end - - module GeneratedClassMethods - def fragment_cache_keys; end - def fragment_cache_keys=(value); end - def fragment_cache_keys?; end - end - - module GeneratedInstanceMethods - def fragment_cache_keys; end - def fragment_cache_keys=(value); end - def fragment_cache_keys?; end - end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/caching/fragments.rb#37 -module AbstractController::Caching::Fragments::ClassMethods - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/caching/fragments.rb#59 - def fragment_cache_key(value = T.unsafe(nil), &key); end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/callbacks.rb#24 -module AbstractController::Callbacks - extend ::ActiveSupport::Concern - include GeneratedInstanceMethods - include ::ActiveSupport::Callbacks - - mixes_in_class_methods GeneratedClassMethods - mixes_in_class_methods ::ActiveSupport::Callbacks::ClassMethods - mixes_in_class_methods ::ActiveSupport::DescendantsTracker - mixes_in_class_methods ::AbstractController::Callbacks::ClassMethods - - private - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/callbacks.rb#257 - def process_action(*_arg0, **_arg1, &_arg2); end - - module GeneratedClassMethods - def __callbacks; end - def __callbacks=(value); end - def __callbacks?; end - end - - module GeneratedInstanceMethods - def __callbacks; end - def __callbacks?; end - end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/callbacks.rb#39 -class AbstractController::Callbacks::ActionFilter - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/callbacks.rb#40 - def initialize(filters, conditional_key, actions); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/callbacks.rb#46 - def after(controller); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/callbacks.rb#46 - def around(controller); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/callbacks.rb#46 - def before(controller); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/callbacks.rb#46 - def match?(controller); end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/callbacks.rb#74 -module AbstractController::Callbacks::ClassMethods - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/callbacks.rb#119 - def _insert_callbacks(callbacks, block = T.unsafe(nil)); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/callbacks.rb#99 - def _normalize_callback_option(options, from, to); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/callbacks.rb#94 - def _normalize_callback_options(options); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/callbacks.rb#229 - def after_action(*names, &blk); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/callbacks.rb#229 - def append_after_action(*names, &blk); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/callbacks.rb#229 - def append_around_action(*names, &blk); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/callbacks.rb#229 - def append_before_action(*names, &blk); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/callbacks.rb#229 - def around_action(*names, &blk); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/callbacks.rb#229 - def before_action(*names, &blk); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/callbacks.rb#235 - def prepend_after_action(*names, &blk); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/callbacks.rb#235 - def prepend_around_action(*names, &blk); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/callbacks.rb#235 - def prepend_before_action(*names, &blk); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/callbacks.rb#243 - def skip_after_action(*names); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/callbacks.rb#243 - def skip_around_action(*names); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/callbacks.rb#243 - def skip_before_action(*names); end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/collector.rb#6 -module AbstractController::Collector - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/collector.rb#10 - def atom(*args, **_arg1, &block); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/collector.rb#10 - def bmp(*args, **_arg1, &block); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/collector.rb#10 - def css(*args, **_arg1, &block); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/collector.rb#10 - def csv(*args, **_arg1, &block); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/collector.rb#10 - def gif(*args, **_arg1, &block); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/collector.rb#10 - def gzip(*args, **_arg1, &block); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/collector.rb#10 - def html(*args, **_arg1, &block); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/collector.rb#10 - def ics(*args, **_arg1, &block); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/collector.rb#10 - def jpeg(*args, **_arg1, &block); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/collector.rb#10 - def js(*args, **_arg1, &block); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/collector.rb#10 - def json(*args, **_arg1, &block); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/collector.rb#10 - def m4a(*args, **_arg1, &block); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/collector.rb#10 - def mp3(*args, **_arg1, &block); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/collector.rb#10 - def mp4(*args, **_arg1, &block); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/collector.rb#10 - def mpeg(*args, **_arg1, &block); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/collector.rb#10 - def multipart_form(*args, **_arg1, &block); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/collector.rb#10 - def ogg(*args, **_arg1, &block); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/collector.rb#10 - def otf(*args, **_arg1, &block); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/collector.rb#10 - def pdf(*args, **_arg1, &block); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/collector.rb#10 - def png(*args, **_arg1, &block); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/collector.rb#10 - def rss(*args, **_arg1, &block); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/collector.rb#10 - def svg(*args, **_arg1, &block); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/collector.rb#10 - def text(*args, **_arg1, &block); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/collector.rb#10 - def tiff(*args, **_arg1, &block); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/collector.rb#10 - def ttf(*args, **_arg1, &block); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/collector.rb#10 - def url_encoded_form(*args, **_arg1, &block); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/collector.rb#10 - def vcf(*args, **_arg1, &block); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/collector.rb#10 - def vtt(*args, **_arg1, &block); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/collector.rb#10 - def webm(*args, **_arg1, &block); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/collector.rb#10 - def webp(*args, **_arg1, &block); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/collector.rb#10 - def woff(*args, **_arg1, &block); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/collector.rb#10 - def woff2(*args, **_arg1, &block); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/collector.rb#10 - def xml(*args, **_arg1, &block); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/collector.rb#10 - def yaml(*args, **_arg1, &block); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/collector.rb#10 - def zip(*args, **_arg1, &block); end - - private - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/collector.rb#26 - def method_missing(symbol, *args, **_arg2, &block); end - - class << self - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/collector.rb#7 - def generate_method_for_mime(mime); end - end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/helpers.rb#7 -module AbstractController::Helpers - include ::ActiveSupport::Deprecation::DeprecatedConstantAccessor - extend ::ActiveSupport::Concern - extend ::AbstractController::Helpers::Resolution - include GeneratedInstanceMethods - - mixes_in_class_methods GeneratedClassMethods - mixes_in_class_methods ::AbstractController::Helpers::ClassMethods - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/helpers.rb#44 - def _helpers; end - - module GeneratedClassMethods - def _helper_methods; end - def _helper_methods=(value); end - def _helper_methods?; end - end - - module GeneratedInstanceMethods - def _helper_methods; end - def _helper_methods=(value); end - def _helper_methods?; end - end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/helpers.rb#80 -module AbstractController::Helpers::ClassMethods - include ::AbstractController::Helpers::Resolution - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/helpers.rb#92 - def _helpers=(_arg0); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/helpers.rb#231 - def _helpers_for_modification; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/helpers.rb#222 - def clear_helpers; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/helpers.rb#211 - def helper(*args, &block); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/helpers.rb#140 - def helper_method(*methods); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/helpers.rb#84 - def inherited(klass); end - - private - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/helpers.rb#250 - def default_helper_module!; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/helpers.rb#239 - def define_helpers_module(klass, helpers = T.unsafe(nil)); end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/helpers.rb#27 -class AbstractController::Helpers::DeprecatedMissingHelperError < ::LoadError - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/helpers.rb#28 - def initialize(error, path); end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/helpers.rb#48 -module AbstractController::Helpers::Resolution - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/helpers.rb#64 - def all_helpers_from_path(path); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/helpers.rb#73 - def helper_modules_from_paths(paths); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/helpers.rb#49 - def modules_for_helpers(modules_or_helper_prefixes); end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/logger.rb#6 -module AbstractController::Logger - extend ::ActiveSupport::Concern - include ::ActiveSupport::Benchmarkable -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/rendering.rb#17 -module AbstractController::Rendering - extend ::ActiveSupport::Concern - include ::ActionView::ViewPaths - - mixes_in_class_methods ::ActionView::ViewPaths::ClassMethods - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/rendering.rb#25 - def render(*args, &block); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/rendering.rb#49 - def render_to_body(options = T.unsafe(nil)); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/rendering.rb#43 - def render_to_string(*args, &block); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/rendering.rb#53 - def rendered_format; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/rendering.rb#61 - def view_assigns; end - - private - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/rendering.rb#73 - def _normalize_args(action = T.unsafe(nil), options = T.unsafe(nil)); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/rendering.rb#88 - def _normalize_options(options); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/rendering.rb#114 - def _normalize_render(*args, &block); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/rendering.rb#98 - def _process_format(format); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/rendering.rb#93 - def _process_options(options); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/rendering.rb#101 - def _process_variant(options); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/rendering.rb#121 - def _protected_ivars; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/rendering.rb#104 - def _set_html_content_type; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/rendering.rb#110 - def _set_rendered_content_type(format); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/rendering.rb#107 - def _set_vary_header; end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/rendering.rb#57 -AbstractController::Rendering::DEFAULT_PROTECTED_INSTANCE_VARIABLES = T.let(T.unsafe(nil), Array) - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/translation.rb#6 -module AbstractController::Translation - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/translation.rb#29 - def l(object, **options); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/translation.rb#29 - def localize(object, **options); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/translation.rb#15 - def t(key, **options); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/translation.rb#15 - def translate(key, **options); end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/url_for.rb#12 -module AbstractController::UrlFor - extend ::ActiveSupport::Concern - include GeneratedInstanceMethods - include ::ActionDispatch::Routing::UrlFor - - mixes_in_class_methods GeneratedClassMethods - mixes_in_class_methods ::AbstractController::UrlFor::ClassMethods - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/url_for.rb#16 - def _routes; end - - module GeneratedClassMethods - def default_url_options; end - def default_url_options=(value); end - def default_url_options?; end - end - - module GeneratedInstanceMethods - def default_url_options; end - def default_url_options=(value); end - def default_url_options?; end - end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/url_for.rb#21 -module AbstractController::UrlFor::ClassMethods - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/url_for.rb#22 - def _routes; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/url_for.rb#26 - def action_methods; end -end - -# source://actioncable/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_cable/channel/base.rb#100 -class ActionCable::Channel::Base - include ::ActiveSupport::Callbacks - include ::ActionCable::Channel::Callbacks - include ::ActionCable::Channel::PeriodicTimers - include ::ActionCable::Channel::Streams - include ::ActionCable::Channel::Naming - include ::ActionCable::Channel::Broadcasting - include ::ActiveSupport::Rescuable - extend ::ActiveSupport::Callbacks::ClassMethods - extend ::ActiveSupport::DescendantsTracker - extend ::ActionCable::Channel::Callbacks::ClassMethods - extend ::ActionCable::Channel::PeriodicTimers::ClassMethods - extend ::ActionCable::Channel::Naming::ClassMethods - extend ::ActionCable::Channel::Broadcasting::ClassMethods - extend ::ActiveSupport::Rescuable::ClassMethods -end - -# source://actioncable/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_cable/channel/broadcasting.rb#7 -module ActionCable::Channel::Broadcasting - extend ::ActiveSupport::Concern -end - -# source://actioncable/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_cable/channel/broadcasting.rb#14 -module ActionCable::Channel::Broadcasting::ClassMethods - # source://actioncable/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_cable/channel/broadcasting.rb#16 - def broadcast_to(model, message); end - - # source://actioncable/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_cable/channel/broadcasting.rb#26 - def broadcasting_for(model); end - - # source://actioncable/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_cable/channel/broadcasting.rb#30 - def serialize_broadcasting(object); end -end - -# source://actioncable/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_cable/channel/callbacks.rb#23 -module ActionCable::Channel::Callbacks - extend ::ActiveSupport::Concern -end - -# source://actioncable/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_cable/channel/callbacks.rb#32 -module ActionCable::Channel::Callbacks::ClassMethods - # source://actioncable/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_cable/channel/callbacks.rb#37 - def after_subscribe(*methods, &block); end - - # source://actioncable/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_cable/channel/callbacks.rb#46 - def after_unsubscribe(*methods, &block); end - - # source://actioncable/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_cable/channel/callbacks.rb#33 - def before_subscribe(*methods, &block); end - - # source://actioncable/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_cable/channel/callbacks.rb#42 - def before_unsubscribe(*methods, &block); end - - # source://actioncable/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_cable/channel/callbacks.rb#37 - def on_subscribe(*methods, &block); end - - # source://actioncable/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_cable/channel/callbacks.rb#46 - def on_unsubscribe(*methods, &block); end -end - -# source://actioncable/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_cable/channel/naming.rb#5 -module ActionCable::Channel::Naming - extend ::ActiveSupport::Concern -end - -# source://actioncable/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_cable/channel/naming.rb#8 -module ActionCable::Channel::Naming::ClassMethods - # source://actioncable/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_cable/channel/naming.rb#16 - def channel_name; end -end - -# source://actioncable/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_cable/channel/periodic_timers.rb#5 -module ActionCable::Channel::PeriodicTimers - extend ::ActiveSupport::Concern -end - -# source://actioncable/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_cable/channel/periodic_timers.rb#15 -module ActionCable::Channel::PeriodicTimers::ClassMethods - # source://actioncable/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_cable/channel/periodic_timers.rb#31 - def periodically(callback_or_method_name = T.unsafe(nil), every:, &block); end -end - -# source://actioncable/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_cable/channel/streams.rb#67 -module ActionCable::Channel::Streams - extend ::ActiveSupport::Concern -end - -# source://actioncable/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_cable/channel/test_case.rb#186 -class ActionCable::Channel::TestCase < ::ActiveSupport::TestCase - include ::ActiveSupport::Testing::ConstantLookup - include ::ActionCable::TestHelper - include ::ActionCable::Channel::TestCase::Behavior - extend ::ActiveSupport::Testing::ConstantLookup::ClassMethods - extend ::ActionCable::Channel::TestCase::Behavior::ClassMethods -end - -# source://actioncable/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_cable/channel/test_case.rb#187 -module ActionCable::Channel::TestCase::Behavior - include ::ActionCable::TestHelper - extend ::ActiveSupport::Concern -end - -# source://actioncable/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_cable/channel/test_case.rb#203 -module ActionCable::Channel::TestCase::Behavior::ClassMethods - # source://actioncable/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_cable/channel/test_case.rb#215 - def channel_class; end - - # source://actioncable/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_cable/channel/test_case.rb#223 - def determine_default_channel(name); end - - # source://actioncable/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_cable/channel/test_case.rb#204 - def tests(channel); end -end - -# source://actioncable/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_cable/connection/test_case.rb#20 -module ActionCable::Connection::Assertions - # source://actioncable/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_cable/connection/test_case.rb#25 - def assert_reject_connection(&block); end -end - -# source://actioncable/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_cable/connection/authorization.rb#5 -module ActionCable::Connection::Authorization - # source://actioncable/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_cable/connection/authorization.rb#9 - def reject_unauthorized_connection; end -end - -# source://actioncable/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_cable/connection/authorization.rb#6 -class ActionCable::Connection::Authorization::UnauthorizedError < ::StandardError; end - -# source://actioncable/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_cable/connection/base.rb#48 -class ActionCable::Connection::Base - include ::ActionCable::Connection::Identification - include ::ActionCable::Connection::InternalChannel - include ::ActionCable::Connection::Authorization - include ::ActiveSupport::Callbacks - include ::ActionCable::Connection::Callbacks - include ::ActiveSupport::Rescuable - extend ::ActionCable::Connection::Identification::ClassMethods - extend ::ActiveSupport::Callbacks::ClassMethods - extend ::ActiveSupport::DescendantsTracker - extend ::ActionCable::Connection::Callbacks::ClassMethods - extend ::ActiveSupport::Rescuable::ClassMethods -end - -# source://actioncable/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_cable/connection/callbacks.rb#28 -module ActionCable::Connection::Callbacks - extend ::ActiveSupport::Concern -end - -# source://actioncable/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_cable/connection/callbacks.rb#36 -module ActionCable::Connection::Callbacks::ClassMethods - # source://actioncable/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_cable/connection/callbacks.rb#41 - def after_command(*methods, &block); end - - # source://actioncable/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_cable/connection/callbacks.rb#45 - def around_command(*methods, &block); end - - # source://actioncable/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_cable/connection/callbacks.rb#37 - def before_command(*methods, &block); end -end - -# source://actioncable/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_cable/connection/identification.rb#7 -module ActionCable::Connection::Identification - extend ::ActiveSupport::Concern -end - -# source://actioncable/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_cable/connection/identification.rb#14 -module ActionCable::Connection::Identification::ClassMethods - # source://actioncable/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_cable/connection/identification.rb#20 - def identified_by(*identifiers); end -end - -# source://actioncable/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_cable/connection/internal_channel.rb#8 -module ActionCable::Connection::InternalChannel - extend ::ActiveSupport::Concern -end - -# source://actioncable/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_cable/connection/test_case.rb#131 -class ActionCable::Connection::TestCase < ::ActiveSupport::TestCase - include ::ActiveSupport::Testing::ConstantLookup - include ::ActionCable::Connection::Assertions - include ::ActionCable::Connection::TestCase::Behavior - extend ::ActiveSupport::Testing::ConstantLookup::ClassMethods - extend ::ActionCable::Connection::TestCase::Behavior::ClassMethods -end - -# source://actioncable/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_cable/connection/test_case.rb#132 -module ActionCable::Connection::TestCase::Behavior - include ::ActionCable::Connection::Assertions - extend ::ActiveSupport::Concern -end - -# source://actioncable/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_cable/connection/test_case.rb#148 -module ActionCable::Connection::TestCase::Behavior::ClassMethods - # source://actioncable/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_cable/connection/test_case.rb#160 - def connection_class; end - - # source://actioncable/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_cable/connection/test_case.rb#168 - def determine_default_connection(name); end - - # source://actioncable/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_cable/connection/test_case.rb#149 - def tests(connection); end -end - -# source://actioncable/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_cable/helpers/action_cable_helper.rb#5 -module ActionCable::Helpers::ActionCableHelper - # source://actioncable/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_cable/helpers/action_cable_helper.rb#34 - def action_cable_meta_tag; end -end - -# source://actioncable/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_cable/remote_connections.rb#45 -class ActionCable::RemoteConnections::RemoteConnection - include ::ActionCable::Connection::InternalChannel - include ::ActionCable::Connection::Identification - extend ::ActionCable::Connection::Identification::ClassMethods -end - -# source://actioncable/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_cable/server/worker.rb#10 -class ActionCable::Server::Worker - include ::ActiveSupport::Callbacks - include ::ActionCable::Server::Worker::ActiveRecordConnectionManagement - extend ::ActiveSupport::Callbacks::ClassMethods - extend ::ActiveSupport::DescendantsTracker -end - -# source://actioncable/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_cable/server/worker/active_record_connection_management.rb#6 -module ActionCable::Server::Worker::ActiveRecordConnectionManagement - extend ::ActiveSupport::Concern -end - -# source://actioncable/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_cable/test_case.rb#6 -class ActionCable::TestCase < ::ActiveSupport::TestCase - include ::ActionCable::TestHelper -end - -# source://actioncable/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_cable/test_helper.rb#5 -module ActionCable::TestHelper - # source://actioncable/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_cable/test_helper.rb#16 - def after_teardown; end - - # source://actioncable/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_cable/test_helper.rb#116 - def assert_broadcast_on(stream, data, &block); end - - # source://actioncable/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_cable/test_helper.rb#49 - def assert_broadcasts(stream, number, &block); end - - # source://actioncable/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_cable/test_helper.rb#81 - def assert_no_broadcasts(stream, &block); end - - # source://actioncable/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_cable/test_helper.rb#6 - def before_setup; end - - # source://actioncable/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_cable/test_helper.rb#147 - def broadcasts(*_arg0, **_arg1, &_arg2); end - - # source://actioncable/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_cable/test_helper.rb#97 - def capture_broadcasts(stream, &block); end - - # source://actioncable/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_cable/test_helper.rb#147 - def clear_messages(*_arg0, **_arg1, &_arg2); end - - # source://actioncable/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_cable/test_helper.rb#143 - def pubsub_adapter; end - - private - - # source://actioncable/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_cable/test_helper.rb#150 - def new_broadcasts_from(current_messages, stream, assertion, &block); end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/deprecator.rb#3 -module ActionController - extend ::ActiveSupport::Autoload -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/api.rb#91 -class ActionController::API < ::ActionController::Metal - include ::ActionView::ViewPaths - include ::AbstractController::Rendering - include ::ActionDispatch::Routing::PolymorphicRoutes - include ::ActionDispatch::Routing::UrlFor - include ::AbstractController::UrlFor - include ::ActionController::UrlFor - include ::AbstractController::Logger - include ::ActiveSupport::Benchmarkable - include ::ActionController::Redirecting - include ::ActionController::ApiRendering - include ::ActionController::Rendering - include ::ActionController::Renderers - include ::ActionController::Renderers::All - include ::ActionController::Head - include ::ActionController::ConditionalGet - include ::ActionController::BasicImplicitRender - include ::ActionController::StrongParameters - include ::ActionController::DataStreaming - include ::ActionController::DefaultHeaders - include ::ActionController::Logging - include ::ActiveSupport::Callbacks - include ::AbstractController::Callbacks - include ::ActiveSupport::Rescuable - include ::ActionController::Rescue - include ::ActionController::Instrumentation - include ::ActionController::ParamsWrapper - extend ::ActionView::ViewPaths::ClassMethods - extend ::AbstractController::UrlFor::ClassMethods - extend ::ActionController::Rendering::ClassMethods - extend ::ActionController::Renderers::ClassMethods - extend ::ActionController::ConditionalGet::ClassMethods - extend ::ActionController::DefaultHeaders::ClassMethods - extend ::ActionController::Logging::ClassMethods - extend ::ActiveSupport::Callbacks::ClassMethods - extend ::AbstractController::Callbacks::ClassMethods - extend ::ActiveSupport::Rescuable::ClassMethods - extend ::ActionController::Instrumentation::ClassMethods - extend ::ActionController::ParamsWrapper::ClassMethods -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/api/api_rendering.rb#4 -module ActionController::ApiRendering - extend ::ActiveSupport::Concern -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/base.rb#169 -class ActionController::Base < ::ActionController::Metal - include ::ActionView::ViewPaths - include ::AbstractController::Rendering - include ::AbstractController::Translation - include ::AbstractController::AssetPaths - include ::ActiveSupport::Deprecation::DeprecatedConstantAccessor - include ::AbstractController::Helpers - include ::ActionController::Helpers - include ::ActionDispatch::Routing::PolymorphicRoutes - include ::ActionDispatch::Routing::UrlFor - include ::AbstractController::UrlFor - include ::ActionController::UrlFor - include ::AbstractController::Logger - include ::ActiveSupport::Benchmarkable - include ::ActionController::Redirecting - include ::ActionView::Rendering - include ::ActionView::Layouts - include ::ActionController::Rendering - include ::ActionController::Renderers - include ::ActionController::Renderers::All - include ::ActionController::Head - include ::ActionController::ConditionalGet - include ::ActionController::EtagWithTemplateDigest - include ::ActionController::EtagWithFlash - include ::ActionController::Caching - include ::AbstractController::Caching::Fragments - include ::AbstractController::Caching::ConfigMethods - include ::AbstractController::Caching - include ::ActionController::MimeResponds - include ::ActionController::BasicImplicitRender - include ::ActionController::ImplicitRender - include ::ActionController::StrongParameters - include ::ActionController::ParameterEncoding - include ::ActionController::Cookies - include ::ActionController::Flash - include ::ActionController::FormBuilder - include ::ActiveSupport::Callbacks - include ::AbstractController::Callbacks - include ::ActionController::RequestForgeryProtection - include ::ActionController::ContentSecurityPolicy - include ::ActionController::PermissionsPolicy - include ::ActionController::Streaming - include ::ActionController::DataStreaming - include ::ActionController::HttpAuthentication::Basic::ControllerMethods - include ::ActionController::HttpAuthentication::Digest::ControllerMethods - include ::ActionController::HttpAuthentication::Token::ControllerMethods - include ::ActionController::DefaultHeaders - include ::ActionController::Logging - include ::ActiveSupport::Rescuable - include ::ActionController::Rescue - include ::ActionController::Instrumentation - include ::ActionController::ParamsWrapper - extend ::ActionView::ViewPaths::ClassMethods - extend ::AbstractController::Helpers::Resolution - extend ::AbstractController::Helpers::ClassMethods - extend ::ActionController::Helpers::ClassMethods - extend ::AbstractController::UrlFor::ClassMethods - extend ::ActionView::Rendering::ClassMethods - extend ::ActionView::Layouts::ClassMethods - extend ::ActionController::Rendering::ClassMethods - extend ::ActionController::Renderers::ClassMethods - extend ::ActionController::ConditionalGet::ClassMethods - extend ::AbstractController::Caching::Fragments::ClassMethods - extend ::AbstractController::Caching::ClassMethods - extend ::AbstractController::Caching::ConfigMethods - extend ::ActionController::ParameterEncoding::ClassMethods - extend ::ActionController::Flash::ClassMethods - extend ::ActionController::FormBuilder::ClassMethods - extend ::ActiveSupport::Callbacks::ClassMethods - extend ::AbstractController::Callbacks::ClassMethods - extend ::ActionController::RequestForgeryProtection::ClassMethods - extend ::ActionController::ContentSecurityPolicy::ClassMethods - extend ::ActionController::PermissionsPolicy::ClassMethods - extend ::ActionController::HttpAuthentication::Basic::ControllerMethods::ClassMethods - extend ::ActionController::DefaultHeaders::ClassMethods - extend ::ActionController::Logging::ClassMethods - extend ::ActiveSupport::Rescuable::ClassMethods - extend ::ActionController::Instrumentation::ClassMethods - extend ::ActionController::ParamsWrapper::ClassMethods - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#70 - def __callbacks; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#70 - def __callbacks?; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/helpers.rb#12 - def _helper_methods; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/helpers.rb#12 - def _helper_methods=(_arg0); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/helpers.rb#12 - def _helper_methods?; end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/layouts.rb#216 - def _layout_conditions(&block); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#963 - def _process_action_callbacks; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/renderers.rb#31 - def _renderers; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/renderers.rb#31 - def _renderers=(_arg0); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/renderers.rb#31 - def _renderers?; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#951 - def _run_process_action_callbacks(&block); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/caching.rb#42 - def _view_cache_dependencies; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/caching.rb#42 - def _view_cache_dependencies=(_arg0); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/caching.rb#42 - def _view_cache_dependencies?; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/params_wrapper.rb#187 - def _wrapper_options; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/params_wrapper.rb#187 - def _wrapper_options=(_arg0); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/params_wrapper.rb#187 - def _wrapper_options?; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/flash.rb#36 - def alert; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/configurable.rb#115 - def allow_forgery_protection; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/configurable.rb#116 - def allow_forgery_protection=(value); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/configurable.rb#115 - def asset_host; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/configurable.rb#116 - def asset_host=(value); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/configurable.rb#115 - def assets_dir; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/configurable.rb#116 - def assets_dir=(value); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/configurable.rb#115 - def csrf_token_storage_strategy; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/configurable.rb#116 - def csrf_token_storage_strategy=(value); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/configurable.rb#115 - def default_asset_host_protocol; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/configurable.rb#116 - def default_asset_host_protocol=(value); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/configurable.rb#115 - def default_static_extension; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/configurable.rb#116 - def default_static_extension=(value); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/routing/url_for.rb#97 - def default_url_options; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/routing/url_for.rb#97 - def default_url_options=(_arg0); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/routing/url_for.rb#97 - def default_url_options?; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/configurable.rb#115 - def enable_fragment_cache_logging; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/configurable.rb#116 - def enable_fragment_cache_logging=(value); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/etag_with_template_digest.rb#29 - def etag_with_template_digest; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/etag_with_template_digest.rb#29 - def etag_with_template_digest=(_arg0); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/etag_with_template_digest.rb#29 - def etag_with_template_digest?; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/conditional_get.rb#13 - def etaggers; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/conditional_get.rb#13 - def etaggers=(_arg0); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/conditional_get.rb#13 - def etaggers?; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/flash.rb#10 - def flash(*_arg0, **_arg1, &_arg2); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/configurable.rb#115 - def forgery_protection_origin_check; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/configurable.rb#116 - def forgery_protection_origin_check=(value); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/configurable.rb#115 - def forgery_protection_strategy; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/configurable.rb#116 - def forgery_protection_strategy=(value); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/caching/fragments.rb#25 - def fragment_cache_keys; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/caching/fragments.rb#25 - def fragment_cache_keys=(_arg0); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/caching/fragments.rb#25 - def fragment_cache_keys?; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/helpers.rb#65 - def helpers_path; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/helpers.rb#65 - def helpers_path=(_arg0); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/helpers.rb#65 - def helpers_path?; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/helpers.rb#66 - def include_all_helpers; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/helpers.rb#66 - def include_all_helpers=(_arg0); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/helpers.rb#66 - def include_all_helpers?; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/configurable.rb#115 - def javascripts_dir; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/configurable.rb#116 - def javascripts_dir=(value); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/configurable.rb#115 - def log_warning_on_csrf_failure; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/configurable.rb#116 - def log_warning_on_csrf_failure=(value); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/configurable.rb#115 - def logger; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/configurable.rb#116 - def logger=(value); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/flash.rb#36 - def notice; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/configurable.rb#115 - def per_form_csrf_tokens; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/configurable.rb#116 - def per_form_csrf_tokens=(value); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/configurable.rb#115 - def perform_caching; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/configurable.rb#116 - def perform_caching=(value); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/callbacks.rb#36 - def raise_on_missing_callback_actions; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/callbacks.rb#36 - def raise_on_missing_callback_actions=(val); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/redirecting.rb#15 - def raise_on_open_redirects; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/redirecting.rb#15 - def raise_on_open_redirects=(val); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/configurable.rb#115 - def relative_url_root; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/configurable.rb#116 - def relative_url_root=(value); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/configurable.rb#115 - def request_forgery_protection_token; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/configurable.rb#116 - def request_forgery_protection_token=(value); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/rescuable.rb#15 - def rescue_handlers; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/rescuable.rb#15 - def rescue_handlers=(_arg0); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/rescuable.rb#15 - def rescue_handlers?; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/configurable.rb#115 - def stylesheets_dir; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/configurable.rb#116 - def stylesheets_dir=(value); end - - private - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/layouts.rb#330 - def _layout(lookup_context, formats); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/base.rb#252 - def _protected_ivars; end - - class << self - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#70 - def __callbacks; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#70 - def __callbacks=(value); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#70 - def __callbacks?; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/form_builder.rb#33 - def _default_form_builder; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/form_builder.rb#33 - def _default_form_builder=(value); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/form_builder.rb#33 - def _default_form_builder?; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/flash.rb#8 - def _flash_types; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/flash.rb#8 - def _flash_types=(value); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/flash.rb#8 - def _flash_types?; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/helpers.rb#12 - def _helper_methods; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/helpers.rb#12 - def _helper_methods=(value); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/helpers.rb#12 - def _helper_methods?; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/helpers.rb#16 - def _helpers; end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/layouts.rb#211 - def _layout; end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/layouts.rb#211 - def _layout=(value); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/layouts.rb#211 - def _layout?; end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/layouts.rb#212 - def _layout_conditions; end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/layouts.rb#212 - def _layout_conditions=(value); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/layouts.rb#212 - def _layout_conditions?; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#955 - def _process_action_callbacks; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#959 - def _process_action_callbacks=(value); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/renderers.rb#31 - def _renderers; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/renderers.rb#31 - def _renderers=(value); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/renderers.rb#31 - def _renderers?; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/caching.rb#42 - def _view_cache_dependencies; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/caching.rb#42 - def _view_cache_dependencies=(value); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/caching.rb#42 - def _view_cache_dependencies?; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/params_wrapper.rb#187 - def _wrapper_options; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/params_wrapper.rb#187 - def _wrapper_options=(value); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/params_wrapper.rb#187 - def _wrapper_options?; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/configurable.rb#115 - def allow_forgery_protection; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/configurable.rb#116 - def allow_forgery_protection=(value); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/configurable.rb#115 - def asset_host; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/configurable.rb#116 - def asset_host=(value); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/configurable.rb#115 - def assets_dir; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/configurable.rb#116 - def assets_dir=(value); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/configurable.rb#115 - def csrf_token_storage_strategy; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/configurable.rb#116 - def csrf_token_storage_strategy=(value); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/configurable.rb#115 - def default_asset_host_protocol; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/configurable.rb#116 - def default_asset_host_protocol=(value); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/configurable.rb#115 - def default_static_extension; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/configurable.rb#116 - def default_static_extension=(value); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/routing/url_for.rb#97 - def default_url_options; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/routing/url_for.rb#97 - def default_url_options=(value); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/routing/url_for.rb#97 - def default_url_options?; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/configurable.rb#115 - def enable_fragment_cache_logging; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/configurable.rb#116 - def enable_fragment_cache_logging=(value); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/etag_with_template_digest.rb#29 - def etag_with_template_digest; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/etag_with_template_digest.rb#29 - def etag_with_template_digest=(value); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/etag_with_template_digest.rb#29 - def etag_with_template_digest?; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/conditional_get.rb#13 - def etaggers; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/conditional_get.rb#13 - def etaggers=(value); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/conditional_get.rb#13 - def etaggers?; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/configurable.rb#115 - def forgery_protection_origin_check; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/configurable.rb#116 - def forgery_protection_origin_check=(value); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/configurable.rb#115 - def forgery_protection_strategy; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/configurable.rb#116 - def forgery_protection_strategy=(value); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/caching/fragments.rb#25 - def fragment_cache_keys; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/caching/fragments.rb#25 - def fragment_cache_keys=(value); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/caching/fragments.rb#25 - def fragment_cache_keys?; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/helpers.rb#65 - def helpers_path; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/helpers.rb#65 - def helpers_path=(value); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/helpers.rb#65 - def helpers_path?; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/helpers.rb#66 - def include_all_helpers; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/helpers.rb#66 - def include_all_helpers=(value); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/helpers.rb#66 - def include_all_helpers?; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/configurable.rb#115 - def javascripts_dir; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/configurable.rb#116 - def javascripts_dir=(value); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/configurable.rb#115 - def log_warning_on_csrf_failure; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/configurable.rb#116 - def log_warning_on_csrf_failure=(value); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/configurable.rb#115 - def logger; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/configurable.rb#116 - def logger=(value); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal.rb#262 - def middleware_stack; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/configurable.rb#115 - def per_form_csrf_tokens; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/configurable.rb#116 - def per_form_csrf_tokens=(value); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/configurable.rb#115 - def perform_caching; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/configurable.rb#116 - def perform_caching=(value); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/callbacks.rb#36 - def raise_on_missing_callback_actions; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/callbacks.rb#36 - def raise_on_missing_callback_actions=(val); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/redirecting.rb#15 - def raise_on_open_redirects; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/redirecting.rb#15 - def raise_on_open_redirects=(val); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/configurable.rb#115 - def relative_url_root; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/configurable.rb#116 - def relative_url_root=(value); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/configurable.rb#115 - def request_forgery_protection_token; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/configurable.rb#116 - def request_forgery_protection_token=(value); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/rescuable.rb#15 - def rescue_handlers; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/rescuable.rb#15 - def rescue_handlers=(value); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/rescuable.rb#15 - def rescue_handlers?; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/configurable.rb#115 - def stylesheets_dir; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/configurable.rb#116 - def stylesheets_dir=(value); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/base.rb#184 - def without_modules(*modules); end - end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/base.rb#0 -module ActionController::Base::HelperMethods - include ::ActionText::ContentHelper - include ::ActionText::TagHelper - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/flash.rb#39 - def alert(*args, **_arg1, &block); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/caching/fragments.rb#33 - def combined_fragment_cache_key(*args, **_arg1, &block); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/content_security_policy.rb#11 - def content_security_policy?(*args, **_arg1, &block); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/content_security_policy.rb#12 - def content_security_policy_nonce(*args, **_arg1, &block); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/cookies.rb#8 - def cookies(*args, **_arg1, &block); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/request_forgery_protection.rb#97 - def form_authenticity_token(*args, **_arg1, &block); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/flash.rb#39 - def notice(*args, **_arg1, &block); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/request_forgery_protection.rb#98 - def protect_against_forgery?(*args, **_arg1, &block); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/caching.rb#43 - def view_cache_dependencies(*args, **_arg1, &block); end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/base.rb#192 -ActionController::Base::MODULES = T.let(T.unsafe(nil), Array) - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/base.rb#247 -ActionController::Base::PROTECTED_IVARS = T.let(T.unsafe(nil), Array) - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/basic_implicit_render.rb#4 -module ActionController::BasicImplicitRender - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/basic_implicit_render.rb#11 - def default_render; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/basic_implicit_render.rb#5 - def send_action(method, *args); end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/caching.rb#26 -module ActionController::Caching - extend ::ActiveSupport::Concern - include GeneratedInstanceMethods - include ::AbstractController::Caching::Fragments - include ::AbstractController::Caching - - mixes_in_class_methods GeneratedClassMethods - mixes_in_class_methods ::AbstractController::Caching::Fragments::ClassMethods - mixes_in_class_methods ::AbstractController::Caching::ClassMethods - mixes_in_class_methods ::AbstractController::Caching::ConfigMethods - - private - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/caching.rb#42 - def instrument_name; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/caching.rb#34 - def instrument_payload(key); end - - module GeneratedClassMethods - def _view_cache_dependencies; end - def _view_cache_dependencies=(value); end - def _view_cache_dependencies?; end - def fragment_cache_keys; end - def fragment_cache_keys=(value); end - def fragment_cache_keys?; end - end - - module GeneratedInstanceMethods - def _view_cache_dependencies; end - def _view_cache_dependencies=(value); end - def _view_cache_dependencies?; end - def fragment_cache_keys; end - def fragment_cache_keys=(value); end - def fragment_cache_keys?; end - end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/conditional_get.rb#7 -module ActionController::ConditionalGet - include ::ActionController::Head - extend ::ActiveSupport::Concern - include GeneratedInstanceMethods - - mixes_in_class_methods GeneratedClassMethods - mixes_in_class_methods ::ActionController::ConditionalGet::ClassMethods - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/conditional_get.rb#274 - def expires_in(seconds, options = T.unsafe(nil)); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/conditional_get.rb#292 - def expires_now; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/conditional_get.rb#128 - def fresh_when(object = T.unsafe(nil), etag: T.unsafe(nil), weak_etag: T.unsafe(nil), strong_etag: T.unsafe(nil), last_modified: T.unsafe(nil), public: T.unsafe(nil), cache_control: T.unsafe(nil), template: T.unsafe(nil)); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/conditional_get.rb#304 - def http_cache_forever(public: T.unsafe(nil)); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/conditional_get.rb#314 - def no_store; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/conditional_get.rb#227 - def stale?(object = T.unsafe(nil), **freshness_kwargs); end - - private - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/conditional_get.rb#319 - def combine_etags(validator, options); end - - module GeneratedClassMethods - def etaggers; end - def etaggers=(value); end - def etaggers?; end - end - - module GeneratedInstanceMethods - def etaggers; end - def etaggers=(value); end - def etaggers?; end - end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/conditional_get.rb#16 -module ActionController::ConditionalGet::ClassMethods - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/conditional_get.rb#31 - def etag(&etagger); end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/content_security_policy.rb#4 -module ActionController::ContentSecurityPolicy - extend ::ActiveSupport::Concern - include GeneratedInstanceMethods - include ::AbstractController::Helpers - include ::ActiveSupport::Callbacks - include ::AbstractController::Callbacks - - mixes_in_class_methods GeneratedClassMethods - mixes_in_class_methods ::AbstractController::Helpers::ClassMethods - mixes_in_class_methods ::ActiveSupport::Callbacks::ClassMethods - mixes_in_class_methods ::ActiveSupport::DescendantsTracker - mixes_in_class_methods ::AbstractController::Callbacks::ClassMethods - mixes_in_class_methods ::ActionController::ContentSecurityPolicy::ClassMethods - - private - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/content_security_policy.rb#73 - def content_security_policy?; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/content_security_policy.rb#77 - def content_security_policy_nonce; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/content_security_policy.rb#81 - def current_content_security_policy; end - - module GeneratedClassMethods - def __callbacks; end - def __callbacks=(value); end - def __callbacks?; end - def _helper_methods; end - def _helper_methods=(value); end - def _helper_methods?; end - end - - module GeneratedInstanceMethods - def __callbacks; end - def __callbacks?; end - def _helper_methods; end - def _helper_methods=(value); end - def _helper_methods?; end - end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/content_security_policy.rb#15 -module ActionController::ContentSecurityPolicy::ClassMethods - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/content_security_policy.rb#39 - def content_security_policy(enabled = T.unsafe(nil), **options, &block); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/content_security_policy.rb#65 - def content_security_policy_report_only(report_only = T.unsafe(nil), **options); end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/cookies.rb#4 -module ActionController::Cookies - extend ::ActiveSupport::Concern - - private - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/cookies.rb#14 - def cookies; end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/data_streaming.rb#11 -module ActionController::DataStreaming - extend ::ActiveSupport::Concern - include ::ActionController::Rendering - - mixes_in_class_methods ::ActionController::Rendering::ClassMethods - - private - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/data_streaming.rb#111 - def send_data(data, options = T.unsafe(nil)); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/data_streaming.rb#71 - def send_file(path, options = T.unsafe(nil)); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/data_streaming.rb#116 - def send_file_headers!(options); end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/data_streaming.rb#17 -ActionController::DataStreaming::DEFAULT_SEND_FILE_DISPOSITION = T.let(T.unsafe(nil), String) - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/data_streaming.rb#16 -ActionController::DataStreaming::DEFAULT_SEND_FILE_TYPE = T.let(T.unsafe(nil), String) - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/default_headers.rb#8 -module ActionController::DefaultHeaders - extend ::ActiveSupport::Concern - - mixes_in_class_methods ::ActionController::DefaultHeaders::ClassMethods -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/default_headers.rb#11 -module ActionController::DefaultHeaders::ClassMethods - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/default_headers.rb#12 - def make_response!(request); end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/etag_with_flash.rb#11 -module ActionController::EtagWithFlash - extend ::ActiveSupport::Concern - include GeneratedInstanceMethods - include ::ActionController::ConditionalGet - - mixes_in_class_methods GeneratedClassMethods - mixes_in_class_methods ::ActionController::ConditionalGet::ClassMethods - - module GeneratedClassMethods - def etaggers; end - def etaggers=(value); end - def etaggers?; end - end - - module GeneratedInstanceMethods - def etaggers; end - def etaggers=(value); end - def etaggers?; end - end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/etag_with_template_digest.rb#23 -module ActionController::EtagWithTemplateDigest - extend ::ActiveSupport::Concern - include GeneratedInstanceMethods - include ::ActionController::ConditionalGet - - mixes_in_class_methods GeneratedClassMethods - mixes_in_class_methods ::ActionController::ConditionalGet::ClassMethods - - private - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/etag_with_template_digest.rb#37 - def determine_template_etag(options); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/etag_with_template_digest.rb#53 - def lookup_and_digest_template(template); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/etag_with_template_digest.rb#47 - def pick_template_for_etag(options); end - - module GeneratedClassMethods - def etag_with_template_digest; end - def etag_with_template_digest=(value); end - def etag_with_template_digest?; end - def etaggers; end - def etaggers=(value); end - def etaggers?; end - end - - module GeneratedInstanceMethods - def etag_with_template_digest; end - def etag_with_template_digest=(value); end - def etag_with_template_digest?; end - def etaggers; end - def etaggers=(value); end - def etaggers?; end - end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/flash.rb#4 -module ActionController::Flash - extend ::ActiveSupport::Concern - include GeneratedInstanceMethods - - mixes_in_class_methods GeneratedClassMethods - mixes_in_class_methods ::ActionController::Flash::ClassMethods - - private - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/flash.rb#51 - def redirect_to(options = T.unsafe(nil), response_options_and_flash = T.unsafe(nil)); end - - module GeneratedClassMethods - def _flash_types; end - def _flash_types=(value); end - def _flash_types?; end - end - - module GeneratedInstanceMethods; end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/flash.rb#14 -module ActionController::Flash::ClassMethods - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/flash.rb#45 - def action_methods; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/flash.rb#32 - def add_flash_types(*types); end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/form_builder.rb#29 -module ActionController::FormBuilder - extend ::ActiveSupport::Concern - include GeneratedInstanceMethods - - mixes_in_class_methods GeneratedClassMethods - mixes_in_class_methods ::ActionController::FormBuilder::ClassMethods - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/form_builder.rb#48 - def default_form_builder; end - - module GeneratedClassMethods - def _default_form_builder; end - def _default_form_builder=(value); end - def _default_form_builder?; end - end - - module GeneratedInstanceMethods; end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/form_builder.rb#36 -module ActionController::FormBuilder::ClassMethods - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/form_builder.rb#42 - def default_form_builder(builder); end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/head.rb#4 -module ActionController::Head - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/head.rb#21 - def head(status, options = T.unsafe(nil)); end - - private - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/head.rb#54 - def include_content?(status); end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/helpers.rb#58 -module ActionController::Helpers - extend ::ActiveSupport::Concern - include GeneratedInstanceMethods - include ::AbstractController::Helpers - - mixes_in_class_methods GeneratedClassMethods - mixes_in_class_methods ::AbstractController::Helpers::ClassMethods - mixes_in_class_methods ::ActionController::Helpers::ClassMethods - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/helpers.rb#117 - def helpers; end - - class << self - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/helpers.rb#61 - def helpers_path; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/helpers.rb#61 - def helpers_path=(_arg0); end - end - - module GeneratedClassMethods - def _helper_methods; end - def _helper_methods=(value); end - def _helper_methods?; end - def helpers_path; end - def helpers_path=(value); end - def helpers_path?; end - def include_all_helpers; end - def include_all_helpers=(value); end - def include_all_helpers?; end - end - - module GeneratedInstanceMethods - def _helper_methods; end - def _helper_methods=(value); end - def _helper_methods?; end - def helpers_path; end - def helpers_path=(value); end - def helpers_path?; end - def include_all_helpers; end - def include_all_helpers=(value); end - def include_all_helpers?; end - end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/helpers.rb#69 -module ActionController::Helpers::ClassMethods - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/helpers.rb#78 - def helper_attr(*attrs); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/helpers.rb#88 - def helpers; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/helpers.rb#104 - def modules_for_helpers(args); end - - private - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/helpers.rb#111 - def all_application_helpers; end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/http_authentication.rb#69 -module ActionController::HttpAuthentication::Basic::ControllerMethods - extend ::ActiveSupport::Concern - - mixes_in_class_methods ::ActionController::HttpAuthentication::Basic::ControllerMethods::ClassMethods - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/http_authentication.rb#92 - def authenticate_or_request_with_http_basic(realm = T.unsafe(nil), message = T.unsafe(nil), &login_procedure); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/http_authentication.rb#96 - def authenticate_with_http_basic(&login_procedure); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/http_authentication.rb#83 - def http_basic_authenticate_or_request_with(name:, password:, realm: T.unsafe(nil), message: T.unsafe(nil)); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/http_authentication.rb#100 - def request_http_basic_authentication(realm = T.unsafe(nil), message = T.unsafe(nil)); end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/http_authentication.rb#72 -module ActionController::HttpAuthentication::Basic::ControllerMethods::ClassMethods - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/http_authentication.rb#76 - def http_basic_authenticate_with(name:, password:, realm: T.unsafe(nil), **options); end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/http_authentication.rb#188 -module ActionController::HttpAuthentication::Digest::ControllerMethods - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/http_authentication.rb#193 - def authenticate_or_request_with_http_digest(realm = T.unsafe(nil), message = T.unsafe(nil), &password_procedure); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/http_authentication.rb#199 - def authenticate_with_http_digest(realm = T.unsafe(nil), &password_procedure); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/http_authentication.rb#205 - def request_http_digest_authentication(realm = T.unsafe(nil), message = T.unsafe(nil)); end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/http_authentication.rb#425 -module ActionController::HttpAuthentication::Token::ControllerMethods - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/http_authentication.rb#430 - def authenticate_or_request_with_http_token(realm = T.unsafe(nil), message = T.unsafe(nil), &login_procedure); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/http_authentication.rb#439 - def authenticate_with_http_token(&login_procedure); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/http_authentication.rb#445 - def request_http_token_authentication(realm = T.unsafe(nil), message = T.unsafe(nil)); end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/implicit_render.rb#31 -module ActionController::ImplicitRender - include ::ActionController::BasicImplicitRender - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/implicit_render.rb#35 - def default_render; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/implicit_render.rb#54 - def method_for_action(action_name); end - - private - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/implicit_render.rb#61 - def interactive_browser_request?; end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/instrumentation.rb#14 -module ActionController::Instrumentation - extend ::ActiveSupport::Concern - include ::ActiveSupport::Benchmarkable - include ::AbstractController::Logger - - mixes_in_class_methods ::ActionController::Instrumentation::ClassMethods - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/instrumentation.rb#21 - def initialize(*_arg0, **_arg1, &_arg2); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/instrumentation.rb#47 - def redirect_to(*_arg0); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/instrumentation.rb#26 - def render(*_arg0); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/instrumentation.rb#41 - def send_data(data, options = T.unsafe(nil)); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/instrumentation.rb#34 - def send_file(path, options = T.unsafe(nil)); end - - def view_runtime; end - def view_runtime=(_arg0); end - - private - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/instrumentation.rb#103 - def append_info_to_payload(payload); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/instrumentation.rb#97 - def cleanup_view_runtime; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/instrumentation.rb#87 - def halted_callback_hook(filter, _); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/instrumentation.rb#57 - def process_action(*_arg0); end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/instrumentation.rb#107 -module ActionController::Instrumentation::ClassMethods - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/instrumentation.rb#111 - def log_process_action(payload); end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/live.rb#54 -module ActionController::Live - extend ::ActiveSupport::Concern -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/logging.rb#4 -module ActionController::Logging - extend ::ActiveSupport::Concern - - mixes_in_class_methods ::ActionController::Logging::ClassMethods -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/logging.rb#7 -module ActionController::Logging::ClassMethods - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/logging.rb#15 - def log_at(level, **options); end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal.rb#121 -class ActionController::Metal < ::AbstractController::Base - include ::ActionController::Testing::Functional - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal.rb#185 - def initialize; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal.rb#182 - def content_type(*_arg0, **_arg1, &_arg2); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal.rb#182 - def content_type=(arg); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal.rb#156 - def controller_name; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal.rb#224 - def dispatch(name, request, response); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal.rb#180 - def headers(*_arg0, **_arg1, &_arg2); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal.rb#182 - def location(*_arg0, **_arg1, &_arg2); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal.rb#182 - def location=(arg); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal.rb#182 - def media_type(*_arg0, **_arg1, &_arg2); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal.rb#262 - def middleware_stack; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal.rb#262 - def middleware_stack=(_arg0); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal.rb#262 - def middleware_stack?; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal.rb#194 - def params; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal.rb#198 - def params=(val); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal.rb#220 - def performed?; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/core_ext/module/attr_internal.rb#33 - def request; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/core_ext/module/attr_internal.rb#33 - def request=(_arg0); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal.rb#258 - def reset_session; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/core_ext/module/attr_internal.rb#33 - def response; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal.rb#242 - def response=(response); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal.rb#209 - def response_body=(body); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal.rb#182 - def response_code(*_arg0, **_arg1, &_arg2); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal.rb#176 - def session(*_arg0, **_arg1, &_arg2); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal.rb#249 - def set_request!(request); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal.rb#232 - def set_response!(response); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal.rb#182 - def status(*_arg0, **_arg1, &_arg2); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal.rb#182 - def status=(arg); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal.rb#254 - def to_a; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal.rb#205 - def url_for(string); end - - class << self - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal.rb#289 - def action(name); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal.rb#140 - def action_encoding_template(action); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal.rb#130 - def controller_name; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal.rb#305 - def dispatch(name, req, res); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal.rb#134 - def make_response!(request); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal.rb#284 - def middleware; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal.rb#262 - def middleware_stack; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal.rb#262 - def middleware_stack=(value); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal.rb#262 - def middleware_stack?; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal.rb#267 - def use(*_arg0, **_arg1, &_arg2); end - - private - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal.rb#146 - def inherited(subclass); end - end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/mime_responds.rb#6 -module ActionController::MimeResponds - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/mime_responds.rb#201 - def respond_to(*mimes); end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/mime_responds.rb#242 -class ActionController::MimeResponds::Collector - include ::AbstractController::Collector - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/mime_responds.rb#246 - def initialize(mimes, variant = T.unsafe(nil)); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/mime_responds.rb#253 - def all(*args, &block); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/mime_responds.rb#253 - def any(*args, &block); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/mime_responds.rb#271 - def any_response?; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/mime_responds.rb#262 - def custom(mime_type, &block); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/mime_responds.rb#244 - def format; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/mime_responds.rb#244 - def format=(_arg0); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/mime_responds.rb#288 - def negotiate_format(request); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/mime_responds.rb#275 - def response; end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/mime_responds.rb#292 -class ActionController::MimeResponds::Collector::VariantCollector - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/mime_responds.rb#293 - def initialize(variant = T.unsafe(nil)); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/mime_responds.rb#298 - def all(*args, &block); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/mime_responds.rb#298 - def any(*args, &block); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/mime_responds.rb#309 - def method_missing(name, *args, &block); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/mime_responds.rb#313 - def variant; end - - private - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/mime_responds.rb#322 - def variant_key; end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/parameter_encoding.rb#5 -module ActionController::ParameterEncoding - extend ::ActiveSupport::Concern - - mixes_in_class_methods ::ActionController::ParameterEncoding::ClassMethods -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/parameter_encoding.rb#8 -module ActionController::ParameterEncoding::ClassMethods - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/parameter_encoding.rb#18 - def action_encoding_template(action); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/parameter_encoding.rb#9 - def inherited(klass); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/parameter_encoding.rb#77 - def param_encoding(action, param, encoding); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/parameter_encoding.rb#14 - def setup_param_encode; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/parameter_encoding.rb#48 - def skip_parameter_encoding(action); end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/params_wrapper.rb#82 -module ActionController::ParamsWrapper - extend ::ActiveSupport::Concern - include GeneratedInstanceMethods - - mixes_in_class_methods GeneratedClassMethods - mixes_in_class_methods ::ActionController::ParamsWrapper::ClassMethods - - private - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/params_wrapper.rb#279 - def _extract_parameters(parameters); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/params_wrapper.rb#301 - def _perform_parameter_wrapping; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/params_wrapper.rb#275 - def _wrap_parameters(parameters); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/params_wrapper.rb#291 - def _wrapper_enabled?; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/params_wrapper.rb#270 - def _wrapper_formats; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/params_wrapper.rb#265 - def _wrapper_key; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/params_wrapper.rb#259 - def process_action(*_arg0); end - - module GeneratedClassMethods - def _wrapper_options; end - def _wrapper_options=(value); end - def _wrapper_options?; end - end - - module GeneratedInstanceMethods - def _wrapper_options; end - def _wrapper_options=(value); end - def _wrapper_options?; end - end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/params_wrapper.rb#190 -module ActionController::ParamsWrapper::ClassMethods - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/params_wrapper.rb#191 - def _set_wrapper_options(options); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/params_wrapper.rb#246 - def inherited(klass); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/params_wrapper.rb#222 - def wrap_parameters(name_or_model_or_options, options = T.unsafe(nil)); end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/params_wrapper.rb#85 -ActionController::ParamsWrapper::EXCLUDE_PARAMETERS = T.let(T.unsafe(nil), Array) - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/params_wrapper.rb#89 -class ActionController::ParamsWrapper::Options < ::Struct - include ::Mutex_m - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/params_wrapper.rb#100 - def initialize(name, format, include, exclude, klass, model); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/params_wrapper.rb#110 - def include; end - - # source://mutex_m/0.1.2mutex_m.rb#93 - def lock; end - - # source://mutex_m/0.1.2mutex_m.rb#83 - def locked?; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/params_wrapper.rb#106 - def model; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/params_wrapper.rb#143 - def name; end - - # source://mutex_m/0.1.2mutex_m.rb#78 - def synchronize(&block); end - - # source://mutex_m/0.1.2mutex_m.rb#88 - def try_lock; end - - # source://mutex_m/0.1.2mutex_m.rb#98 - def unlock; end - - private - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/params_wrapper.rb#167 - def _default_wrap_model; end - - class << self - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/params_wrapper.rb#92 - def from_hash(hash); end - end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/permissions_policy.rb#4 -module ActionController::PermissionsPolicy - extend ::ActiveSupport::Concern - - mixes_in_class_methods ::ActionController::PermissionsPolicy::ClassMethods -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/permissions_policy.rb#7 -module ActionController::PermissionsPolicy::ClassMethods - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/permissions_policy.rb#26 - def permissions_policy(**options, &block); end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/redirecting.rb#4 -module ActionController::Redirecting - extend ::ActiveSupport::Concern - include GeneratedInstanceMethods - include ::ActiveSupport::Benchmarkable - include ::AbstractController::Logger - include ::ActionDispatch::Routing::UrlFor - include ::AbstractController::UrlFor - include ::ActionController::UrlFor - - mixes_in_class_methods GeneratedClassMethods - mixes_in_class_methods ::AbstractController::UrlFor::ClassMethods - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/redirecting.rb#136 - def _compute_redirect_to_location(request, options); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/redirecting.rb#101 - def redirect_back(fallback_location:, allow_other_host: T.unsafe(nil), **args); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/redirecting.rb#127 - def redirect_back_or_to(fallback_location, allow_other_host: T.unsafe(nil), **options); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/redirecting.rb#84 - def redirect_to(options = T.unsafe(nil), response_options = T.unsafe(nil)); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/redirecting.rb#175 - def url_from(location); end - - private - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/redirecting.rb#181 - def _allow_other_host; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/redirecting.rb#195 - def _enforce_open_redirect_protection(location, allow_other_host:); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/redirecting.rb#214 - def _ensure_url_is_http_header_safe(url); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/redirecting.rb#185 - def _extract_redirect_to_status(options, response_options); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/redirecting.rb#203 - def _url_host_allowed?(url); end - - class << self - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/redirecting.rb#136 - def _compute_redirect_to_location(request, options); end - end - - module GeneratedClassMethods - def default_url_options; end - def default_url_options=(value); end - def default_url_options?; end - end - - module GeneratedInstanceMethods - def default_url_options; end - def default_url_options=(value); end - def default_url_options?; end - end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/redirecting.rb#12 -ActionController::Redirecting::ILLEGAL_HEADER_VALUE_REGEX = T.let(T.unsafe(nil), Regexp) - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/redirecting.rb#10 -class ActionController::Redirecting::UnsafeRedirectError < ::StandardError; end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/renderers.rb#23 -module ActionController::Renderers - extend ::ActiveSupport::Concern - include GeneratedInstanceMethods - - mixes_in_class_methods GeneratedClassMethods - mixes_in_class_methods ::ActionController::Renderers::ClassMethods - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/renderers.rb#144 - def _render_to_body_with_renderer(options); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/renderers.rb#170 - def _render_with_renderer_js(js, options); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/renderers.rb#155 - def _render_with_renderer_json(json, options); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/renderers.rb#175 - def _render_with_renderer_xml(xml, options); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/renderers.rb#140 - def render_to_body(options); end - - class << self - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/renderers.rb#90 - def _render_with_renderer_method_name(key); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/renderers.rb#74 - def add(key, &block); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/renderers.rb#84 - def remove(key); end - end - - module GeneratedClassMethods - def _renderers; end - def _renderers=(value); end - def _renderers?; end - end - - module GeneratedInstanceMethods - def _renderers; end - def _renderers=(value); end - def _renderers?; end - end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/renderers.rb#36 -module ActionController::Renderers::All - extend ::ActiveSupport::Concern - include GeneratedInstanceMethods - include ::ActionController::Renderers - - mixes_in_class_methods GeneratedClassMethods - mixes_in_class_methods ::ActionController::Renderers::ClassMethods - - module GeneratedClassMethods - def _renderers; end - def _renderers=(value); end - def _renderers?; end - end - - module GeneratedInstanceMethods - def _renderers; end - def _renderers=(value); end - def _renderers?; end - end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/renderers.rb#94 -module ActionController::Renderers::ClassMethods - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/renderers.rb#128 - def use_renderer(*args); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/renderers.rb#128 - def use_renderers(*args); end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/renderers.rb#28 -ActionController::Renderers::RENDERERS = T.let(T.unsafe(nil), Set) - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/rendering.rb#4 -module ActionController::Rendering - extend ::ActiveSupport::Concern - - mixes_in_class_methods ::ActionController::Rendering::ClassMethods - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/rendering.rb#137 - def render(*args); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/rendering.rb#157 - def render_to_body(options = T.unsafe(nil)); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/rendering.rb#146 - def render_to_string(*_arg0); end - - private - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/rendering.rb#199 - def _normalize_options(options); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/rendering.rb#213 - def _normalize_text(options); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/rendering.rb#222 - def _process_options(options); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/rendering.rb#168 - def _process_variant(options); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/rendering.rb#174 - def _render_in_priorities(options); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/rendering.rb#182 - def _set_html_content_type; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/rendering.rb#186 - def _set_rendered_content_type(format); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/rendering.rb#192 - def _set_vary_header; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/rendering.rb#163 - def process_action(*_arg0); end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/rendering.rb#9 -module ActionController::Rendering::ClassMethods - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/rendering.rb#21 - def inherited(klass); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/rendering.rb#11 - def render(*_arg0, **_arg1, &_arg2); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/rendering.rb#15 - def renderer; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/rendering.rb#17 - def setup_renderer!; end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/rendering.rb#7 -ActionController::Rendering::RENDER_FORMATS_IN_PRIORITY = T.let(T.unsafe(nil), Array) - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/request_forgery_protection.rb#59 -module ActionController::RequestForgeryProtection - extend ::ActiveSupport::Concern - include GeneratedInstanceMethods - include ::AbstractController::Helpers - include ::ActiveSupport::Callbacks - include ::AbstractController::Callbacks - - mixes_in_class_methods GeneratedClassMethods - mixes_in_class_methods ::AbstractController::Helpers::ClassMethods - mixes_in_class_methods ::ActiveSupport::Callbacks::ClassMethods - mixes_in_class_methods ::ActiveSupport::DescendantsTracker - mixes_in_class_methods ::AbstractController::Callbacks::ClassMethods - mixes_in_class_methods ::ActionController::RequestForgeryProtection::ClassMethods - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/request_forgery_protection.rb#341 - def initialize(*_arg0, **_arg1, &_arg2); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/request_forgery_protection.rb#351 - def commit_csrf_token(request); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/request_forgery_protection.rb#346 - def reset_csrf_token(request); end - - private - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/request_forgery_protection.rb#444 - def any_authenticity_token_valid?; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/request_forgery_protection.rb#530 - def compare_with_global_token(token, session = T.unsafe(nil)); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/request_forgery_protection.rb#526 - def compare_with_real_token(token, session = T.unsafe(nil)); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/request_forgery_protection.rb#567 - def csrf_token_hmac(session, identifier); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/request_forgery_protection.rb#630 - def decode_csrf_token(encoded_csrf_token); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/request_forgery_protection.rb#626 - def encode_csrf_token(csrf_token); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/request_forgery_protection.rb#587 - def form_authenticity_param; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/request_forgery_protection.rb#456 - def form_authenticity_token(form_options: T.unsafe(nil)); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/request_forgery_protection.rb#622 - def generate_csrf_token; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/request_forgery_protection.rb#563 - def global_csrf_token(session = T.unsafe(nil)); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/request_forgery_protection.rb#377 - def handle_unverified_request; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/request_forgery_protection.rb#416 - def mark_for_same_origin_verification!; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/request_forgery_protection.rb#422 - def marked_for_same_origin_verification?; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/request_forgery_protection.rb#519 - def mask_token(raw_token); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/request_forgery_protection.rb#463 - def masked_authenticity_token(form_options: T.unsafe(nil)); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/request_forgery_protection.rb#427 - def non_xhr_javascript_response?; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/request_forgery_protection.rb#617 - def normalize_action_path(action_path); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/request_forgery_protection.rb#556 - def per_form_csrf_token(session, action_path, method); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/request_forgery_protection.rb#592 - def protect_against_forgery?; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/request_forgery_protection.rb#548 - def real_csrf_token(_session = T.unsafe(nil)); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/request_forgery_protection.rb#451 - def request_authenticity_tokens; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/request_forgery_protection.rb#511 - def unmask_token(masked_token); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/request_forgery_protection.rb#387 - def unverified_request_warning_message; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/request_forgery_protection.rb#479 - def valid_authenticity_token?(session, encoded_masked_token); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/request_forgery_protection.rb#534 - def valid_per_form_csrf_token?(token, session = T.unsafe(nil)); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/request_forgery_protection.rb#607 - def valid_request_origin?; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/request_forgery_protection.rb#438 - def verified_request?; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/request_forgery_protection.rb#367 - def verify_authenticity_token; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/request_forgery_protection.rb#406 - def verify_same_origin_request; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/request_forgery_protection.rb#575 - def xor_byte_strings(s1, s2); end - - module GeneratedClassMethods - def __callbacks; end - def __callbacks=(value); end - def __callbacks?; end - def _helper_methods; end - def _helper_methods=(value); end - def _helper_methods?; end - end - - module GeneratedInstanceMethods - def __callbacks; end - def __callbacks?; end - def _helper_methods; end - def _helper_methods=(value); end - def _helper_methods?; end - end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/request_forgery_protection.rb#431 -ActionController::RequestForgeryProtection::AUTHENTICITY_TOKEN_LENGTH = T.let(T.unsafe(nil), Integer) - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/request_forgery_protection.rb#60 -ActionController::RequestForgeryProtection::CSRF_TOKEN = T.let(T.unsafe(nil), String) - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/request_forgery_protection.rb#101 -module ActionController::RequestForgeryProtection::ClassMethods - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/request_forgery_protection.rb#175 - def protect_from_forgery(options = T.unsafe(nil)); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/request_forgery_protection.rb#192 - def skip_forgery_protection(options = T.unsafe(nil)); end - - private - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/request_forgery_protection.rb#224 - def is_storage_strategy?(object); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/request_forgery_protection.rb#197 - def protection_method_class(name); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/request_forgery_protection.rb#212 - def storage_strategy(name); end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/request_forgery_protection.rb#308 -class ActionController::RequestForgeryProtection::CookieStore - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/request_forgery_protection.rb#309 - def initialize(cookie = T.unsafe(nil)); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/request_forgery_protection.rb#313 - def fetch(request); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/request_forgery_protection.rb#336 - def reset(request); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/request_forgery_protection.rb#325 - def store(request, csrf_token); end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/request_forgery_protection.rb#596 -ActionController::RequestForgeryProtection::NULL_ORIGIN_MESSAGE = T.let(T.unsafe(nil), String) - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/request_forgery_protection.rb#229 -module ActionController::RequestForgeryProtection::ProtectionMethods; end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/request_forgery_protection.rb#281 -class ActionController::RequestForgeryProtection::ProtectionMethods::Exception - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/request_forgery_protection.rb#284 - def initialize(controller); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/request_forgery_protection.rb#288 - def handle_unverified_request; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/request_forgery_protection.rb#282 - def warning_message; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/request_forgery_protection.rb#282 - def warning_message=(_arg0); end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/request_forgery_protection.rb#230 -class ActionController::RequestForgeryProtection::ProtectionMethods::NullSession - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/request_forgery_protection.rb#231 - def initialize(controller); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/request_forgery_protection.rb#236 - def handle_unverified_request; end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/request_forgery_protection.rb#264 -class ActionController::RequestForgeryProtection::ProtectionMethods::NullSession::NullCookieJar < ::ActionDispatch::Cookies::CookieJar - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/request_forgery_protection.rb#265 - def write(*_arg0); end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/request_forgery_protection.rb#245 -class ActionController::RequestForgeryProtection::ProtectionMethods::NullSession::NullSessionHash < ::Rack::Session::Abstract::SessionHash - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/request_forgery_protection.rb#246 - def initialize(req); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/request_forgery_protection.rb#253 - def destroy; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/request_forgery_protection.rb#259 - def enabled?; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/request_forgery_protection.rb#255 - def exists?; end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/request_forgery_protection.rb#271 -class ActionController::RequestForgeryProtection::ProtectionMethods::ResetSession - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/request_forgery_protection.rb#272 - def initialize(controller); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/request_forgery_protection.rb#276 - def handle_unverified_request; end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/request_forgery_protection.rb#294 -class ActionController::RequestForgeryProtection::SessionStore - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/request_forgery_protection.rb#295 - def fetch(request); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/request_forgery_protection.rb#303 - def reset(request); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/request_forgery_protection.rb#299 - def store(request, csrf_token); end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/rescue.rb#10 -module ActionController::Rescue - extend ::ActiveSupport::Concern - include GeneratedInstanceMethods - include ::ActiveSupport::Rescuable - - mixes_in_class_methods GeneratedClassMethods - mixes_in_class_methods ::ActiveSupport::Rescuable::ClassMethods - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/rescue.rb#19 - def show_detailed_exceptions?; end - - private - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/rescue.rb#24 - def process_action(*_arg0); end - - module GeneratedClassMethods - def rescue_handlers; end - def rescue_handlers=(value); end - def rescue_handlers?; end - end - - module GeneratedInstanceMethods - def rescue_handlers; end - def rescue_handlers=(value); end - def rescue_handlers?; end - end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/streaming.rb#206 -module ActionController::Streaming - private - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/streaming.rb#238 - def _process_options(options); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/streaming.rb#252 - def _render_template(options); end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/streaming.rb#207 -class ActionController::Streaming::Body - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/streaming.rb#212 - def initialize(body); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/streaming.rb#231 - def close; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/streaming.rb#218 - def each(&block); end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/streaming.rb#209 -ActionController::Streaming::Body::TAIL = T.let(T.unsafe(nil), String) - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/streaming.rb#208 -ActionController::Streaming::Body::TERM = T.let(T.unsafe(nil), String) - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/strong_parameters.rb#1272 -module ActionController::StrongParameters - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/strong_parameters.rb#1275 - def params; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/strong_parameters.rb#1290 - def params=(value); end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/template_assertions.rb#4 -module ActionController::TemplateAssertions - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/template_assertions.rb#5 - def assert_template(options = T.unsafe(nil), message = T.unsafe(nil)); end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/test_case.rb#345 -class ActionController::TestCase < ::ActiveSupport::TestCase - include ::ActiveSupport::Testing::ConstantLookup - include ::ActionDispatch::TestProcess::FixtureFile - include ::ActionDispatch::TestProcess - include ::ActionDispatch::Assertions::ResponseAssertions - include ::Rails::Dom::Testing::Assertions::DomAssertions - include ::Rails::Dom::Testing::Assertions::SelectorAssertions - include ::Rails::Dom::Testing::Assertions - include ::ActionController::TestCase::Behavior - include ::ActionController::TemplateAssertions - include ::ActionDispatch::Assertions::RoutingAssertions - include ::ActionDispatch::Assertions - extend ::ActiveSupport::Testing::ConstantLookup::ClassMethods - extend ::ActionController::TestCase::Behavior::ClassMethods - extend ::ActionDispatch::Assertions::RoutingAssertions::ClassMethods -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/test_case.rb#348 -module ActionController::TestCase::Behavior - include ::ActionDispatch::TestProcess::FixtureFile - include ::ActionDispatch::TestProcess - include ::Rails::Dom::Testing::Assertions::DomAssertions - include ::Rails::Dom::Testing::Assertions::SelectorAssertions - include ::Rails::Dom::Testing::Assertions - extend ::ActiveSupport::Concern -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/test_case.rb#356 -module ActionController::TestCase::Behavior::ClassMethods - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/test_case.rb#378 - def controller_class; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/test_case.rb#374 - def controller_class=(new_class); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/test_case.rb#386 - def determine_default_controller_class(name); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/test_case.rb#363 - def tests(controller_class); end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/testing.rb#6 -module ActionController::Testing::Functional - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/testing.rb#7 - def clear_instance_variables_between_requests; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/testing.rb#16 - def recycle!; end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/url_for.rb#25 -module ActionController::UrlFor - extend ::ActiveSupport::Concern - include GeneratedInstanceMethods - include ::ActionDispatch::Routing::UrlFor - include ::AbstractController::UrlFor - - mixes_in_class_methods GeneratedClassMethods - mixes_in_class_methods ::AbstractController::UrlFor::ClassMethods - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/url_for.rb#30 - def initialize(*_arg0, **_arg1, &_arg2); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal/url_for.rb#35 - def url_options; end - - module GeneratedClassMethods - def default_url_options; end - def default_url_options=(value); end - def default_url_options?; end - end - - module GeneratedInstanceMethods - def default_url_options; end - def default_url_options=(value); end - def default_url_options?; end - end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/deprecator.rb#3 -module ActionDispatch - include ::ActiveSupport::Deprecation::DeprecatedConstantAccessor - extend ::ActiveSupport::Autoload -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/testing/assertions/response.rb#4 -module ActionDispatch::Assertions - include ::ActionDispatch::Assertions::ResponseAssertions - include ::Rails::Dom::Testing::Assertions::DomAssertions - include ::Rails::Dom::Testing::Assertions::SelectorAssertions - include ::Rails::Dom::Testing::Assertions - extend ::ActiveSupport::Concern -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/testing/assertions/response.rb#6 -module ActionDispatch::Assertions::ResponseAssertions - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/testing/assertions/response.rb#57 - def assert_redirected_to(url_options = T.unsafe(nil), options = T.unsafe(nil), message = T.unsafe(nil)); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/testing/assertions/response.rb#30 - def assert_response(type, message = T.unsafe(nil)); end - - private - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/testing/assertions/response.rb#102 - def code_with_name(code_or_name); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/testing/assertions/response.rb#86 - def generate_response_message(expected, actual = T.unsafe(nil)); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/testing/assertions/response.rb#96 - def location_if_redirected; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/testing/assertions/response.rb#77 - def normalize_argument_to_redirection(fragment); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/testing/assertions/response.rb#73 - def parameterize(value); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/testing/assertions/response.rb#91 - def response_body_if_short; end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/testing/assertions/response.rb#7 -ActionDispatch::Assertions::ResponseAssertions::RESPONSE_PREDICATES = T.let(T.unsafe(nil), Hash) - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/testing/assertions/routing.rb#11 -module ActionDispatch::Assertions::RoutingAssertions - extend ::ActiveSupport::Concern -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/testing/assertions/routing.rb#14 -module ActionDispatch::Assertions::RoutingAssertions::ClassMethods - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/testing/assertions/routing.rb#28 - def with_routing(&block); end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/middleware/callbacks.rb#7 -class ActionDispatch::Callbacks - include ::ActiveSupport::Callbacks - extend ::ActiveSupport::Callbacks::ClassMethods - extend ::ActiveSupport::DescendantsTracker -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/middleware/cookies.rb#489 -class ActionDispatch::Cookies::AbstractCookieJar - include ::ActionDispatch::Cookies::ChainedCookieJars -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/middleware/cookies.rb#212 -module ActionDispatch::Cookies::ChainedCookieJars - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/middleware/cookies.rb#258 - def encrypted; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/middleware/cookies.rb#224 - def permanent; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/middleware/cookies.rb#240 - def signed; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/middleware/cookies.rb#264 - def signed_or_encrypted; end - - private - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/middleware/cookies.rb#287 - def encrypted_cookie_cipher; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/middleware/cookies.rb#281 - def prepare_upgrade_legacy_hmac_aes_cbc_cookies?; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/middleware/cookies.rb#291 - def signed_cookie_digest; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/middleware/cookies.rb#274 - def upgrade_legacy_hmac_aes_cbc_cookies?; end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/middleware/cookies.rb#296 -class ActionDispatch::Cookies::CookieJar - include ::ActionDispatch::Cookies::ChainedCookieJars - include ::Enumerable - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/middleware/cookies.rb#307 - def initialize(request); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/middleware/cookies.rb#328 - def [](name); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/middleware/cookies.rb#362 - def []=(name, options); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/middleware/cookies.rb#424 - def always_write_cookie; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/middleware/cookies.rb#424 - def always_write_cookie=(val); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/middleware/cookies.rb#408 - def clear(options = T.unsafe(nil)); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/middleware/cookies.rb#317 - def commit!; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/middleware/cookies.rb#315 - def committed?; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/middleware/cookies.rb#387 - def delete(name, options = T.unsafe(nil)); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/middleware/cookies.rb#401 - def deleted?(name, options = T.unsafe(nil)); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/middleware/cookies.rb#323 - def each(&block); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/middleware/cookies.rb#332 - def fetch(name, *args, &block); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/middleware/cookies.rb#336 - def has_key?(name); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/middleware/cookies.rb#336 - def key?(name); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/middleware/cookies.rb#305 - def request; end - - def to_hash(*_arg0); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/middleware/cookies.rb#356 - def to_header; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/middleware/cookies.rb#344 - def update(other_hash); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/middleware/cookies.rb#349 - def update_cookies_from_jar; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/middleware/cookies.rb#412 - def write(response); end - - private - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/middleware/cookies.rb#427 - def escape(string); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/middleware/cookies.rb#435 - def handle_options(options); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/middleware/cookies.rb#431 - def write_cookie?(cookie); end - - class << self - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/middleware/cookies.rb#424 - def always_write_cookie; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/middleware/cookies.rb#424 - def always_write_cookie=(val); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/middleware/cookies.rb#299 - def build(req, cookies); end - end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch.rb#95 -module ActionDispatch::Http - extend ::ActiveSupport::Autoload -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/http/mime_negotiation.rb#7 -module ActionDispatch::Http::MimeNegotiation - extend ::ActiveSupport::Concern -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/http/parameters.rb#5 -module ActionDispatch::Http::Parameters - extend ::ActiveSupport::Concern -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/testing/integration.rb#12 -module ActionDispatch::Integration::RequestHelpers - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/testing/integration.rb#39 - def delete(path, **args); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/testing/integration.rb#63 - def follow_redirect!(headers: T.unsafe(nil), **args); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/testing/integration.rb#15 - def get(path, **args); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/testing/integration.rb#45 - def head(path, **args); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/testing/integration.rb#51 - def options(path, **args); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/testing/integration.rb#27 - def patch(path, **args); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/testing/integration.rb#21 - def post(path, **args); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/testing/integration.rb#33 - def put(path, **args); end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/testing/integration.rb#325 -module ActionDispatch::Integration::Runner - include ::ActionDispatch::Assertions::RoutingAssertions - include ::ActionDispatch::Assertions::ResponseAssertions - include ::Rails::Dom::Testing::Assertions::DomAssertions - include ::Rails::Dom::Testing::Assertions::SelectorAssertions - include ::Rails::Dom::Testing::Assertions - include ::ActionDispatch::Assertions - extend ::ActionDispatch::Assertions::RoutingAssertions::ClassMethods - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/testing/integration.rb#333 - def initialize(*args, &blk); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/testing/integration.rb#330 - def app; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/testing/integration.rb#404 - def assertions; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/testing/integration.rb#408 - def assertions=(assertions); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/testing/integration.rb#376 - def assigns(*_arg0, **_arg1, &_arg2); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/testing/integration.rb#338 - def before_setup; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/testing/integration.rb#376 - def cookies(*_arg0, **_arg1, &_arg2); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/testing/integration.rb#414 - def copy_session_variables!; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/testing/integration.rb#353 - def create_session(app); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/testing/integration.rb#420 - def default_url_options; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/testing/integration.rb#424 - def default_url_options=(options); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/testing/integration.rb#376 - def delete(*_arg0, **_arg1, &_arg2); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/testing/integration.rb#376 - def follow_redirect!(*_arg0, **_arg1, &_arg2); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/testing/integration.rb#376 - def get(*_arg0, **_arg1, &_arg2); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/testing/integration.rb#376 - def head(*_arg0, **_arg1, &_arg2); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/testing/integration.rb#343 - def integration_session; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/testing/integration.rb#396 - def open_session; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/testing/integration.rb#376 - def patch(*_arg0, **_arg1, &_arg2); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/testing/integration.rb#376 - def post(*_arg0, **_arg1, &_arg2); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/testing/integration.rb#376 - def put(*_arg0, **_arg1, &_arg2); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/testing/integration.rb#365 - def remove!; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/testing/integration.rb#349 - def reset!; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/testing/integration.rb#331 - def root_session; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/testing/integration.rb#331 - def root_session=(_arg0); end - - private - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/testing/integration.rb#434 - def method_missing(method, *args, **_arg2, &block); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/testing/integration.rb#429 - def respond_to_missing?(method, _); end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/testing/integration.rb#328 -ActionDispatch::Integration::Runner::APP_SESSIONS = T.let(T.unsafe(nil), Hash) - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/testing/integration.rb#89 -class ActionDispatch::Integration::Session - include ::Minitest::Assertions - include ::ActionDispatch::Assertions::RoutingAssertions - include ::ActionDispatch::Assertions::ResponseAssertions - include ::Rails::Dom::Testing::Assertions::DomAssertions - include ::Rails::Dom::Testing::Assertions::SelectorAssertions - include ::Rails::Dom::Testing::Assertions - include ::ActionDispatch::Assertions - include ::ActionDispatch::Integration::RequestHelpers - include ::ActionDispatch::TestProcess::FixtureFile - include ::ActionDispatch::TestProcess - include ::ActionDispatch::Routing::PolymorphicRoutes - include ::ActionDispatch::Routing::UrlFor - extend ::ActionDispatch::Assertions::RoutingAssertions::ClassMethods -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/testing/integration.rb#641 -class ActionDispatch::IntegrationTest < ::ActiveSupport::TestCase - include ::ActionDispatch::TestProcess::FixtureFile - include ::ActionDispatch::Assertions::RoutingAssertions - include ::ActionDispatch::Assertions::ResponseAssertions - include ::Rails::Dom::Testing::Assertions::DomAssertions - include ::Rails::Dom::Testing::Assertions::SelectorAssertions - include ::Rails::Dom::Testing::Assertions - include ::ActionDispatch::Assertions - include ::ActionDispatch::Integration::Runner - include ::ActionController::TemplateAssertions - include ::ActionDispatch::IntegrationTest::Behavior - include ::ActionDispatch::Routing::PolymorphicRoutes - include ::ActionDispatch::Routing::UrlFor - include ::ActionDispatch::IntegrationTest::UrlOptions - extend ::ActionDispatch::IntegrationTest::Behavior::ClassMethods -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/testing/integration.rb#651 -module ActionDispatch::IntegrationTest::Behavior - include ::ActionDispatch::Assertions::RoutingAssertions - include ::ActionDispatch::Assertions::ResponseAssertions - include ::Rails::Dom::Testing::Assertions::DomAssertions - include ::Rails::Dom::Testing::Assertions::SelectorAssertions - include ::Rails::Dom::Testing::Assertions - include ::ActionDispatch::Assertions - include ::ActionDispatch::Integration::Runner - include ::ActionController::TemplateAssertions - extend ::ActiveSupport::Concern -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/testing/integration.rb#664 -module ActionDispatch::IntegrationTest::Behavior::ClassMethods - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/testing/integration.rb#665 - def app; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/testing/integration.rb#673 - def app=(app); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/testing/integration.rb#677 - def register_encoder(*args, **options); end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/testing/integration.rb#644 -module ActionDispatch::IntegrationTest::UrlOptions - extend ::ActiveSupport::Concern -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/routing.rb#246 -module ActionDispatch::Routing - extend ::ActiveSupport::Autoload -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/routing/polymorphic_routes.rb#59 -module ActionDispatch::Routing::PolymorphicRoutes - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/routing/polymorphic_routes.rb#155 - def edit_polymorphic_path(record_or_hash, options = T.unsafe(nil)); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/routing/polymorphic_routes.rb#151 - def edit_polymorphic_url(record_or_hash, options = T.unsafe(nil)); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/routing/polymorphic_routes.rb#155 - def new_polymorphic_path(record_or_hash, options = T.unsafe(nil)); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/routing/polymorphic_routes.rb#151 - def new_polymorphic_url(record_or_hash, options = T.unsafe(nil)); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/routing/polymorphic_routes.rb#126 - def polymorphic_path(record_or_hash_or_array, options = T.unsafe(nil)); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/routing/polymorphic_routes.rb#103 - def polymorphic_url(record_or_hash_or_array, options = T.unsafe(nil)); end - - private - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/routing/polymorphic_routes.rb#170 - def polymorphic_mapping(record); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/routing/polymorphic_routes.rb#166 - def polymorphic_path_for_action(action, record_or_hash, options); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/routing/polymorphic_routes.rb#162 - def polymorphic_url_for_action(action, record_or_hash, options); end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/routing/polymorphic_routes.rb#178 -class ActionDispatch::Routing::PolymorphicRoutes::HelperMethodBuilder - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/routing/polymorphic_routes.rb#241 - def initialize(key_strategy, prefix, suffix); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/routing/polymorphic_routes.rb#255 - def handle_class(klass); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/routing/polymorphic_routes.rb#259 - def handle_class_call(target, klass); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/routing/polymorphic_routes.rb#286 - def handle_list(list); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/routing/polymorphic_routes.rb#263 - def handle_model(record); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/routing/polymorphic_routes.rb#277 - def handle_model_call(target, record); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/routing/polymorphic_routes.rb#247 - def handle_string(record); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/routing/polymorphic_routes.rb#251 - def handle_string_call(target, str); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/routing/polymorphic_routes.rb#239 - def prefix; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/routing/polymorphic_routes.rb#239 - def suffix; end - - private - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/routing/polymorphic_routes.rb#340 - def get_method_for_class(klass); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/routing/polymorphic_routes.rb#345 - def get_method_for_string(str); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/routing/polymorphic_routes.rb#332 - def polymorphic_mapping(target, record); end - - class << self - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/routing/polymorphic_routes.rb#189 - def build(action, type); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/routing/polymorphic_routes.rb#181 - def get(action, type); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/routing/polymorphic_routes.rb#187 - def path; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/routing/polymorphic_routes.rb#203 - def plural(prefix, suffix); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/routing/polymorphic_routes.rb#207 - def polymorphic_method(recipient, record_or_hash_or_array, action, type, options); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/routing/polymorphic_routes.rb#199 - def singular(prefix, suffix); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/routing/polymorphic_routes.rb#186 - def url; end - end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/routing/polymorphic_routes.rb#179 -ActionDispatch::Routing::PolymorphicRoutes::HelperMethodBuilder::CACHE = T.let(T.unsafe(nil), Hash) - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/routing/route_set.rb#468 -module ActionDispatch::Routing::RouteSet::MountedHelpers - extend ::ActiveSupport::Concern -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/routing/routes_proxy.rb#7 -class ActionDispatch::Routing::RoutesProxy - include ::ActionDispatch::Routing::PolymorphicRoutes - include ::ActionDispatch::Routing::UrlFor -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/routing/url_for.rb#89 -module ActionDispatch::Routing::UrlFor - include ::ActionDispatch::Routing::PolymorphicRoutes - extend ::ActiveSupport::Concern - include GeneratedInstanceMethods - - mixes_in_class_methods GeneratedClassMethods - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/routing/url_for.rb#108 - def initialize(*_arg0, **_arg1, &_arg2); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/routing/url_for.rb#177 - def full_url_for(options = T.unsafe(nil)); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/routing/url_for.rb#217 - def route_for(name, *args); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/routing/url_for.rb#173 - def url_for(options = T.unsafe(nil)); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/routing/url_for.rb#116 - def url_options; end - - protected - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/routing/url_for.rb#222 - def optimize_routes_generation?; end - - private - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/routing/url_for.rb#234 - def _routes_context; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/routing/url_for.rb#227 - def _with_routes(routes); end - - module GeneratedClassMethods - def default_url_options; end - def default_url_options=(value); end - def default_url_options?; end - end - - module GeneratedInstanceMethods - def default_url_options; end - def default_url_options=(value); end - def default_url_options?; end - end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/testing/test_process.rb#7 -module ActionDispatch::TestProcess - include ::ActionDispatch::TestProcess::FixtureFile - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/testing/test_process.rb#31 - def assigns(key = T.unsafe(nil)); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/testing/test_process.rb#45 - def cookies; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/testing/test_process.rb#41 - def flash; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/testing/test_process.rb#49 - def redirect_to_url; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/testing/test_process.rb#37 - def session; end -end - -# source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/testing/test_process.rb#8 -module ActionDispatch::TestProcess::FixtureFile - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/testing/test_process.rb#19 - def file_fixture_upload(path, mime_type = T.unsafe(nil), binary = T.unsafe(nil)); end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_dispatch/testing/test_process.rb#19 - def fixture_file_upload(path, mime_type = T.unsafe(nil), binary = T.unsafe(nil)); end -end - -# source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox/gem_version.rb#3 -module ActionMailbox - extend ::ActiveSupport::Autoload - - # source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox.rb#22 - def incinerate; end - - # source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox.rb#22 - def incinerate=(val); end - - # source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox.rb#23 - def incinerate_after; end - - # source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox.rb#23 - def incinerate_after=(val); end - - # source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox.rb#20 - def ingress; end - - # source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox.rb#20 - def ingress=(val); end - - # source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox.rb#21 - def logger; end - - # source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox.rb#21 - def logger=(val); end - - # source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox.rb#24 - def queues; end - - # source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox.rb#24 - def queues=(val); end - - # source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox.rb#25 - def storage_service; end - - # source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox.rb#25 - def storage_service=(val); end - - class << self - # source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox/deprecator.rb#4 - def deprecator; end - - # source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox/gem_version.rb#5 - def gem_version; end - - # source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox.rb#22 - def incinerate; end - - # source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox.rb#22 - def incinerate=(val); end - - # source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox.rb#23 - def incinerate_after; end - - # source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox.rb#23 - def incinerate_after=(val); end - - # source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox.rb#20 - def ingress; end - - # source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox.rb#20 - def ingress=(val); end - - # source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox.rb#21 - def logger; end - - # source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox.rb#21 - def logger=(val); end - - # source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox.rb#24 - def queues; end - - # source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox.rb#24 - def queues=(val); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/engine.rb#405 - def railtie_helpers_paths; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/engine.rb#394 - def railtie_namespace; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/engine.rb#409 - def railtie_routes_url_helpers(include_path_helpers = T.unsafe(nil)); end - - # source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox.rb#25 - def storage_service; end - - # source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox.rb#25 - def storage_service=(val); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/engine.rb#397 - def table_name_prefix; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/engine.rb#401 - def use_relative_model_naming?; end - - # source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox/version.rb#7 - def version; end - end -end - -# source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox/base.rb#66 -class ActionMailbox::Base - include ::ActiveSupport::Rescuable - include ::ActionMailbox::Routing - include ::ActiveSupport::Callbacks - include ::ActionMailbox::Callbacks - extend ::ActiveSupport::Rescuable::ClassMethods - extend ::ActionMailbox::Routing::ClassMethods - extend ::ActiveSupport::Callbacks::ClassMethods - extend ::ActiveSupport::DescendantsTracker - extend ::ActionMailbox::Callbacks::ClassMethods - - # source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox/base.rb#79 - def initialize(inbound_email); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#70 - def __callbacks; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#70 - def __callbacks?; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#963 - def _process_callbacks; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#951 - def _run_process_callbacks(&block); end - - # source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox/base.rb#111 - def bounce_now_with(message); end - - # source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox/base.rb#105 - def bounce_with(message); end - - # source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox/base.rb#71 - def bounced!(*_arg0, **_arg1, &_arg2); end - - # source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox/base.rb#71 - def delivered!(*_arg0, **_arg1, &_arg2); end - - # source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox/base.rb#100 - def finished_processing?; end - - # source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox/base.rb#70 - def inbound_email; end - - # source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox/base.rb#73 - def logger(&block); end - - # source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox/base.rb#71 - def mail(*_arg0, **_arg1, &_arg2); end - - # source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox/base.rb#83 - def perform_processing; end - - # source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox/base.rb#96 - def process; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/rescuable.rb#15 - def rescue_handlers; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/rescuable.rb#15 - def rescue_handlers=(_arg0); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/rescuable.rb#15 - def rescue_handlers?; end - - # source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox/routing.rb#9 - def router; end - - # source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox/routing.rb#9 - def router=(val); end - - private - - # source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox/base.rb#117 - def instrumentation_payload; end - - # source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox/base.rb#124 - def track_status_of_inbound_email; end - - class << self - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#70 - def __callbacks; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#70 - def __callbacks=(value); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#70 - def __callbacks?; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#955 - def _process_callbacks; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#959 - def _process_callbacks=(value); end - - # source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox/base.rb#75 - def receive(inbound_email); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/rescuable.rb#15 - def rescue_handlers; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/rescuable.rb#15 - def rescue_handlers=(value); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/rescuable.rb#15 - def rescue_handlers?; end - - # source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox/routing.rb#9 - def router; end - - # source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox/routing.rb#9 - def router=(val); end - end -end - -class ActionMailbox::BaseController < ::ActionController::Base - private - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/layouts.rb#330 - def _layout(lookup_context, formats); end - - def authenticate_by_password; end - def ensure_configured; end - def ingress_name; end - def password; end - - class << self - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#70 - def __callbacks; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal.rb#262 - def middleware_stack; end - end -end - -# source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox/callbacks.rb#9 -module ActionMailbox::Callbacks - extend ::ActiveSupport::Concern - include GeneratedInstanceMethods - include ::ActiveSupport::Callbacks - - mixes_in_class_methods GeneratedClassMethods - mixes_in_class_methods ::ActiveSupport::Callbacks::ClassMethods - mixes_in_class_methods ::ActiveSupport::DescendantsTracker - mixes_in_class_methods ::ActionMailbox::Callbacks::ClassMethods - - module GeneratedClassMethods - def __callbacks; end - def __callbacks=(value); end - def __callbacks?; end - end - - module GeneratedInstanceMethods - def __callbacks; end - def __callbacks?; end - end -end - -# source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox/callbacks.rb#0 -module ActionMailbox::Callbacks::ClassMethods - # source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox/callbacks.rb#27 - def after_processing(*methods, &block); end - - # source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox/callbacks.rb#31 - def around_processing(*methods, &block); end - - # source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox/callbacks.rb#23 - def before_processing(*methods, &block); end -end - -# source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox/callbacks.rb#13 -ActionMailbox::Callbacks::TERMINATOR = T.let(T.unsafe(nil), Proc) - -# source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox/engine.rb#12 -class ActionMailbox::Engine < ::Rails::Engine - class << self - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#70 - def __callbacks; end - end -end - -class ActionMailbox::InboundEmail < ::ActionMailbox::Record - include ::ActionMailbox::InboundEmail::GeneratedAttributeMethods - include ::ActionMailbox::InboundEmail::GeneratedAssociationMethods - include ::ActionMailbox::InboundEmail::Routable - include ::ActionMailbox::InboundEmail::MessageId - include ::ActionMailbox::InboundEmail::Incineratable - extend ::ActionMailbox::InboundEmail::MessageId::ClassMethods - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/autosave_association.rb#160 - def autosave_associated_records_for_raw_email_attachment(*args); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/autosave_association.rb#160 - def autosave_associated_records_for_raw_email_blob(*args); end - - def instrumentation_payload; end - def mail; end - def processed?; end - def source; end - - class << self - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#70 - def __callbacks; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/reflection.rb#11 - def _reflections; end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/validations.rb#71 - def _validators; end - - # source://activestorage/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_storage/reflection.rb#53 - def attachment_reflections; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attributes.rb#11 - def attributes_to_define_after_schema_loads; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/scoping/named.rb#174 - def bounced(*args, **_arg1); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/enum.rb#167 - def defined_enums; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/scoping/named.rb#174 - def delivered(*args, **_arg1); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/scoping/named.rb#174 - def failed(*args, **_arg1); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/scoping/named.rb#174 - def not_bounced(*args, **_arg1); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/scoping/named.rb#174 - def not_delivered(*args, **_arg1); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/scoping/named.rb#174 - def not_failed(*args, **_arg1); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/scoping/named.rb#174 - def not_pending(*args, **_arg1); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/scoping/named.rb#174 - def not_processing(*args, **_arg1); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/scoping/named.rb#174 - def pending(*args, **_arg1); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/scoping/named.rb#174 - def processing(*args, **_arg1); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/enum.rb#251 - def statuses; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/scoping/named.rb#174 - def with_attached_raw_email(*args, **_arg1); end - end -end - -module ActionMailbox::InboundEmail::GeneratedAssociationMethods - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/associations/builder/singular_association.rb#32 - def build_raw_email_attachment(*args, &block); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/associations/builder/singular_association.rb#32 - def build_raw_email_blob(*args, &block); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/associations/builder/singular_association.rb#36 - def create_raw_email_attachment(*args, &block); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/associations/builder/singular_association.rb#40 - def create_raw_email_attachment!(*args, &block); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/associations/builder/singular_association.rb#36 - def create_raw_email_blob(*args, &block); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/associations/builder/singular_association.rb#40 - def create_raw_email_blob!(*args, &block); end - - # source://activestorage/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_storage/attached/model.rb#99 - def raw_email; end - - # source://activestorage/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_storage/attached/model.rb#104 - def raw_email=(attachable); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/associations/builder/association.rb#103 - def raw_email_attachment; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/associations/builder/association.rb#111 - def raw_email_attachment=(value); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/associations/builder/association.rb#103 - def raw_email_blob; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/associations/builder/association.rb#111 - def raw_email_blob=(value); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/associations/builder/singular_association.rb#19 - def reload_raw_email_attachment; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/associations/builder/singular_association.rb#19 - def reload_raw_email_blob; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/associations/builder/singular_association.rb#23 - def reset_raw_email_attachment; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/associations/builder/singular_association.rb#23 - def reset_raw_email_blob; end -end - -module ActionMailbox::InboundEmail::GeneratedAttributeMethods; end - -module ActionMailbox::InboundEmail::Incineratable - extend ::ActiveSupport::Concern - - def incinerate; end - def incinerate_later; end -end - -class ActionMailbox::InboundEmail::Incineratable::Incineration - def initialize(inbound_email); end - - def run; end - - private - - def due?; end - def processed?; end -end - -module ActionMailbox::InboundEmail::MessageId - extend ::ActiveSupport::Concern - - mixes_in_class_methods ::ActionMailbox::InboundEmail::MessageId::ClassMethods -end - -module ActionMailbox::InboundEmail::MessageId::ClassMethods - def create_and_extract_message_id!(source, **options); end - - private - - def create_and_upload_raw_email!(source); end - def extract_message_id(source); end - def generate_missing_message_id(message_checksum); end -end - -module ActionMailbox::InboundEmail::Routable - extend ::ActiveSupport::Concern - - def route; end - def route_later; end -end - -class ActionMailbox::IncinerationJob < ::ActiveJob::Base - def perform(inbound_email); end - - class << self - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/queue_name.rb#55 - def queue_name; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/rescuable.rb#15 - def rescue_handlers; end - - def schedule(inbound_email); end - end -end - -module ActionMailbox::Ingresses; end -module ActionMailbox::Ingresses::Mailgun; end - -class ActionMailbox::Ingresses::Mailgun::InboundEmailsController < ::ActionMailbox::BaseController - def create; end - - private - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/layouts.rb#330 - def _layout(lookup_context, formats); end - - def authenticate; end - def authenticated?; end - def key; end - def mail; end - - class << self - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#70 - def __callbacks; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal.rb#262 - def middleware_stack; end - end -end - -class ActionMailbox::Ingresses::Mailgun::InboundEmailsController::Authenticator - def initialize(key:, timestamp:, token:, signature:); end - - def authenticated?; end - def key; end - def signature; end - def timestamp; end - def token; end - - private - - def expected_signature; end - def recent?; end - def signed?; end -end - -module ActionMailbox::Ingresses::Mandrill; end - -class ActionMailbox::Ingresses::Mandrill::InboundEmailsController < ::ActionMailbox::BaseController - def create; end - def health_check; end - - private - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/layouts.rb#330 - def _layout(lookup_context, formats); end - - def authenticate; end - def authenticated?; end - def events; end - def key; end - def raw_emails; end - - class << self - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#70 - def __callbacks; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal.rb#262 - def middleware_stack; end - end -end - -class ActionMailbox::Ingresses::Mandrill::InboundEmailsController::Authenticator - def initialize(request, key); end - - def authenticated?; end - def key; end - def request; end - - private - - def expected_signature; end - def given_signature; end - def message; end -end - -module ActionMailbox::Ingresses::Postmark; end - -class ActionMailbox::Ingresses::Postmark::InboundEmailsController < ::ActionMailbox::BaseController - def create; end - - private - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/layouts.rb#330 - def _layout(lookup_context, formats); end - - class << self - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#70 - def __callbacks; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal.rb#262 - def middleware_stack; end - end -end - -module ActionMailbox::Ingresses::Relay; end - -class ActionMailbox::Ingresses::Relay::InboundEmailsController < ::ActionMailbox::BaseController - def create; end - - private - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/layouts.rb#330 - def _layout(lookup_context, formats); end - - def require_valid_rfc822_message; end - - class << self - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#70 - def __callbacks; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal.rb#262 - def middleware_stack; end - end -end - -module ActionMailbox::Ingresses::Sendgrid; end - -class ActionMailbox::Ingresses::Sendgrid::InboundEmailsController < ::ActionMailbox::BaseController - def create; end - - private - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/layouts.rb#330 - def _layout(lookup_context, formats); end - - def envelope; end - def mail; end - - class << self - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#70 - def __callbacks; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal.rb#262 - def middleware_stack; end - end -end - -class ActionMailbox::Record < ::ActiveRecord::Base - include ::ActionMailbox::Record::GeneratedAttributeMethods - include ::ActionMailbox::Record::GeneratedAssociationMethods - - class << self - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/validations.rb#71 - def _validators; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/enum.rb#167 - def defined_enums; end - end -end - -module ActionMailbox::Record::GeneratedAssociationMethods; end -module ActionMailbox::Record::GeneratedAttributeMethods; end - -# source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox/router.rb#8 -class ActionMailbox::Router - # source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox/router.rb#11 - def initialize; end - - # source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox/router.rb#21 - def add_route(address, to:); end - - # source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox/router.rb#15 - def add_routes(routes); end - - # source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox/router.rb#35 - def mailbox_for(inbound_email); end - - # source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox/router.rb#25 - def route(inbound_email); end - - private - - # source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox/router.rb#40 - def routes; end -end - -# source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox/router/route.rb#7 -class ActionMailbox::Router::Route - # source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox/router/route.rb#10 - def initialize(address, to:); end - - # source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox/router/route.rb#8 - def address; end - - # source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox/router/route.rb#31 - def mailbox_class; end - - # source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox/router/route.rb#8 - def mailbox_name; end - - # source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox/router/route.rb#16 - def match?(inbound_email); end - - private - - # source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox/router/route.rb#36 - def ensure_valid_address; end -end - -# source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox/router.rb#9 -class ActionMailbox::Router::RoutingError < ::StandardError; end - -# source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox/routing.rb#5 -module ActionMailbox::Routing - extend ::ActiveSupport::Concern - - mixes_in_class_methods ::ActionMailbox::Routing::ClassMethods -end - -# source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox/routing.rb#0 -module ActionMailbox::Routing::ClassMethods - # source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox/routing.rb#21 - def mailbox_for(inbound_email); end - - # source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox/routing.rb#17 - def route(inbound_email); end - - # source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox/routing.rb#13 - def routing(routes); end -end - -class ActionMailbox::RoutingJob < ::ActiveJob::Base - def perform(inbound_email); end - - class << self - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/queue_name.rb#55 - def queue_name; end - end -end - -# source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox/test_case.rb#7 -class ActionMailbox::TestCase < ::ActiveSupport::TestCase - include ::ActionMailbox::TestHelper -end - -# source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox/test_helper.rb#6 -module ActionMailbox::TestHelper - # source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox/test_helper.rb#9 - def create_inbound_email_from_fixture(fixture_name, status: T.unsafe(nil)); end - - # source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox/test_helper.rb#63 - def create_inbound_email_from_mail(status: T.unsafe(nil), **mail_options, &block); end - - # source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox/test_helper.rb#72 - def create_inbound_email_from_source(source, status: T.unsafe(nil)); end - - # source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox/test_helper.rb#79 - def receive_inbound_email_from_fixture(*args); end - - # source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox/test_helper.rb#85 - def receive_inbound_email_from_mail(**kwargs, &block); end - - # source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox/test_helper.rb#91 - def receive_inbound_email_from_source(*args); end -end - -# source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox/gem_version.rb#9 -module ActionMailbox::VERSION; end - -# source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox/gem_version.rb#10 -ActionMailbox::VERSION::MAJOR = T.let(T.unsafe(nil), Integer) - -# source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox/gem_version.rb#11 -ActionMailbox::VERSION::MINOR = T.let(T.unsafe(nil), Integer) - -# source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox/gem_version.rb#13 -ActionMailbox::VERSION::PRE = T.let(T.unsafe(nil), String) - -# source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox/gem_version.rb#15 -ActionMailbox::VERSION::STRING = T.let(T.unsafe(nil), String) - -# source://actionmailbox/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailbox/gem_version.rb#12 -ActionMailbox::VERSION::TINY = T.let(T.unsafe(nil), Integer) - -# source://actionmailer/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailer/gem_version.rb#3 -module ActionMailer - extend ::ActiveSupport::Autoload -end - -# source://actionmailer/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailer/base.rb#476 -class ActionMailer::Base < ::AbstractController::Base - include ::ActionMailer::Callbacks - include ::ActiveSupport::Callbacks - include ::ActionMailer::DeliveryMethods - include ::ActionMailer::QueuedDelivery - include ::ActiveSupport::Rescuable - include ::ActionMailer::Rescuable - include ::ActionMailer::Parameterized - include ::ActionMailer::Previews - include ::ActionMailer::FormBuilder - include ::ActionView::ViewPaths - include ::AbstractController::Rendering - include ::AbstractController::Logger - include ::ActiveSupport::Benchmarkable - include ::ActiveSupport::Deprecation::DeprecatedConstantAccessor - include ::AbstractController::Helpers - include ::AbstractController::Translation - include ::AbstractController::AssetPaths - include ::AbstractController::Callbacks - include ::AbstractController::Caching::Fragments - include ::AbstractController::Caching::ConfigMethods - include ::AbstractController::Caching - include ::ActionView::Rendering - include ::ActionView::Layouts - extend ::ActionMailer::Callbacks::ClassMethods - extend ::ActiveSupport::Callbacks::ClassMethods - extend ::ActionMailer::DeliveryMethods::ClassMethods - extend ::ActiveSupport::Rescuable::ClassMethods - extend ::ActionMailer::Rescuable::ClassMethods - extend ::ActionMailer::Parameterized::ClassMethods - extend ::ActionMailer::Previews::ClassMethods - extend ::ActionMailer::FormBuilder::ClassMethods - extend ::ActionView::ViewPaths::ClassMethods - extend ::AbstractController::Helpers::Resolution - extend ::AbstractController::Helpers::ClassMethods - extend ::AbstractController::Callbacks::ClassMethods - extend ::AbstractController::Caching::Fragments::ClassMethods - extend ::AbstractController::Caching::ClassMethods - extend ::AbstractController::Caching::ConfigMethods - extend ::ActionView::Rendering::ClassMethods - extend ::ActionView::Layouts::ClassMethods -end - -# source://actionmailer/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailer/callbacks.rb#4 -module ActionMailer::Callbacks - extend ::ActiveSupport::Concern -end - -# source://actionmailer/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailer/callbacks.rb#12 -module ActionMailer::Callbacks::ClassMethods - # source://actionmailer/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailer/callbacks.rb#21 - def after_deliver(*filters, &blk); end - - # source://actionmailer/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailer/callbacks.rb#26 - def around_deliver(*filters, &blk); end - - # source://actionmailer/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailer/callbacks.rb#15 - def before_deliver(*filters, &blk); end -end - -# source://actionmailer/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailer/collector.rb#8 -class ActionMailer::Collector - include ::AbstractController::Collector -end - -# source://actionmailer/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailer/delivery_methods.rb#10 -module ActionMailer::DeliveryMethods - extend ::ActiveSupport::Concern -end - -# source://actionmailer/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailer/delivery_methods.rb#42 -module ActionMailer::DeliveryMethods::ClassMethods - # source://actionmailer/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailer/delivery_methods.rb#52 - def add_delivery_method(symbol, klass, default_options = T.unsafe(nil)); end - - # source://actionmailer/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailer/delivery_methods.rb#44 - def deliveries(&block); end - - # source://actionmailer/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailer/delivery_methods.rb#44 - def deliveries=(arg); end - - # source://actionmailer/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailer/delivery_methods.rb#58 - def wrap_delivery_behavior(mail, method = T.unsafe(nil), options = T.unsafe(nil)); end -end - -# source://actionmailer/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailer/form_builder.rb#14 -module ActionMailer::FormBuilder - extend ::ActiveSupport::Concern -end - -# source://actionmailer/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailer/form_builder.rb#21 -module ActionMailer::FormBuilder::ClassMethods - # source://actionmailer/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailer/form_builder.rb#27 - def default_form_builder(builder); end -end - -# source://actionmailer/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailer/parameterized.rb#89 -module ActionMailer::Parameterized - extend ::ActiveSupport::Concern -end - -# source://actionmailer/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailer/parameterized.rb#100 -module ActionMailer::Parameterized::ClassMethods - # source://actionmailer/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailer/parameterized.rb#106 - def with(params); end -end - -# source://actionmailer/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailer/preview.rb#93 -class ActionMailer::Preview - extend ::ActiveSupport::DescendantsTracker -end - -# source://actionmailer/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailer/preview.rb#6 -module ActionMailer::Previews - extend ::ActiveSupport::Concern -end - -# source://actionmailer/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailer/preview.rb#36 -module ActionMailer::Previews::ClassMethods - # source://actionmailer/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailer/preview.rb#45 - def preview_path; end - - # source://actionmailer/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailer/preview.rb#37 - def preview_path=(value); end - - # source://actionmailer/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailer/preview.rb#66 - def register_preview_interceptor(interceptor); end - - # source://actionmailer/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailer/preview.rb#54 - def register_preview_interceptors(*interceptors); end - - # source://actionmailer/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailer/preview.rb#77 - def unregister_preview_interceptor(interceptor); end - - # source://actionmailer/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailer/preview.rb#59 - def unregister_preview_interceptors(*interceptors); end - - private - - # source://actionmailer/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailer/preview.rb#82 - def interceptor_class_for(interceptor); end -end - -# source://actionmailer/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailer/queued_delivery.rb#4 -module ActionMailer::QueuedDelivery - extend ::ActiveSupport::Concern -end - -# source://actionmailer/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailer/rescuable.rb#10 -module ActionMailer::Rescuable - extend ::ActiveSupport::Concern -end - -# source://actionmailer/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailer/rescuable.rb#0 -module ActionMailer::Rescuable::ClassMethods - # source://actionmailer/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailer/rescuable.rb#15 - def handle_exception(exception); end -end - -# source://actionmailer/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailer/test_case.rb#15 -class ActionMailer::TestCase < ::ActiveSupport::TestCase - include ::ActiveSupport::Testing::ConstantLookup - include ::ActiveJob::TestHelper - include ::ActionMailer::TestHelper - include ::Rails::Dom::Testing::Assertions::SelectorAssertions - include ::Rails::Dom::Testing::Assertions::DomAssertions - include ::ActionMailer::TestCase::Behavior - extend ::ActiveSupport::Testing::ConstantLookup::ClassMethods - extend ::ActionMailer::TestCase::Behavior::ClassMethods -end - -# source://actionmailer/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailer/test_case.rb#32 -module ActionMailer::TestCase::Behavior - include ::ActiveSupport::Testing::Assertions - include ::ActiveJob::TestHelper - include ::ActionMailer::TestHelper - include ::Rails::Dom::Testing::Assertions::SelectorAssertions - include ::Rails::Dom::Testing::Assertions::DomAssertions - extend ::ActiveSupport::Concern -end - -# source://actionmailer/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailer/test_case.rb#48 -module ActionMailer::TestCase::Behavior::ClassMethods - # source://actionmailer/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailer/test_case.rb#68 - def determine_default_mailer(name); end - - # source://actionmailer/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailer/test_case.rb#60 - def mailer_class; end - - # source://actionmailer/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailer/test_case.rb#49 - def tests(mailer); end -end - -# source://actionmailer/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailer/test_case.rb#16 -module ActionMailer::TestCase::ClearTestDeliveries - extend ::ActiveSupport::Concern -end - -# source://actionmailer/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailer/test_helper.rb#9 -module ActionMailer::TestHelper - include ::ActiveSupport::Testing::Assertions - include ::ActiveJob::TestHelper - - # source://actionmailer/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailer/test_helper.rb#35 - def assert_emails(number, &block); end - - # source://actionmailer/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailer/test_helper.rb#157 - def assert_enqueued_email_with(mailer, method, params: T.unsafe(nil), args: T.unsafe(nil), queue: T.unsafe(nil), &block); end - - # source://actionmailer/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailer/test_helper.rb#91 - def assert_enqueued_emails(number, &block); end - - # source://actionmailer/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailer/test_helper.rb#63 - def assert_no_emails(&block); end - - # source://actionmailer/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailer/test_helper.rb#211 - def assert_no_enqueued_emails(&block); end - - # source://actionmailer/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailer/test_helper.rb#269 - def capture_emails(&block); end - - # source://actionmailer/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailer/test_helper.rb#251 - def deliver_enqueued_emails(queue: T.unsafe(nil), at: T.unsafe(nil), &block); end - - private - - # source://actionmailer/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_mailer/test_helper.rb#278 - def delivery_job_filter(job); end -end - -# source://actiontext/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_text/gem_version.rb#3 -module ActionText - extend ::ActiveSupport::Autoload -end - -# source://actiontext/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_text/attachable.rb#16 -module ActionText::Attachable - extend ::ActiveSupport::Concern -end - -# source://actiontext/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_text.rb#30 -module ActionText::Attachables - extend ::ActiveSupport::Autoload -end - -# source://actiontext/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_text/attachables/content_attachment.rb#5 -class ActionText::Attachables::ContentAttachment - include ::ActiveModel::Validations - include ::ActiveSupport::Callbacks - include ::ActiveModel::Validations::HelperMethods - include ::ActiveModel::Conversion - include ::ActiveModel::ForbiddenAttributesProtection - include ::ActiveModel::AttributeAssignment - include ::ActiveModel::API - include ::ActiveModel::Access - include ::ActiveModel::Model - extend ::ActiveModel::Validations::ClassMethods - extend ::ActiveModel::Naming - extend ::ActiveModel::Callbacks - extend ::ActiveSupport::Callbacks::ClassMethods - extend ::ActiveSupport::DescendantsTracker - extend ::ActiveModel::Translation - extend ::ActiveModel::Validations::HelperMethods - extend ::ActiveModel::Conversion::ClassMethods -end - -# source://actiontext/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_text/attachables/missing_attachable.rb#5 -class ActionText::Attachables::MissingAttachable - extend ::ActiveModel::Naming -end - -# source://actiontext/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_text/attachables/remote_image.rb#5 -class ActionText::Attachables::RemoteImage - extend ::ActiveModel::Naming -end - -# source://actiontext/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_text/attachment_gallery.rb#4 -class ActionText::AttachmentGallery - include ::ActiveModel::Validations - include ::ActiveSupport::Callbacks - include ::ActiveModel::Validations::HelperMethods - include ::ActiveModel::Conversion - include ::ActiveModel::ForbiddenAttributesProtection - include ::ActiveModel::AttributeAssignment - include ::ActiveModel::API - include ::ActiveModel::Access - include ::ActiveModel::Model - extend ::ActiveModel::Validations::ClassMethods - extend ::ActiveModel::Naming - extend ::ActiveModel::Callbacks - extend ::ActiveSupport::Callbacks::ClassMethods - extend ::ActiveSupport::DescendantsTracker - extend ::ActiveModel::Translation - extend ::ActiveModel::Validations::HelperMethods - extend ::ActiveModel::Conversion::ClassMethods -end - -# source://actiontext/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_text.rb#38 -module ActionText::Attachments - extend ::ActiveSupport::Autoload -end - -# source://actiontext/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_text/attachments/minification.rb#5 -module ActionText::Attachments::Minification - extend ::ActiveSupport::Concern -end - -# source://actiontext/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_text/attachments/trix_conversion.rb#7 -module ActionText::Attachments::TrixConversion - extend ::ActiveSupport::Concern -end - -# source://actiontext/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_text/attribute.rb#4 -module ActionText::Attribute - extend ::ActiveSupport::Concern -end - -# source://actiontext/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_text/attribute.rb#0 -module ActionText::Attribute::ClassMethods - # source://actiontext/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_text/attribute.rb#37 - def has_rich_text(name, encrypted: T.unsafe(nil), strict_loading: T.unsafe(nil)); end - - # source://actiontext/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_text/attribute.rb#66 - def rich_text_association_names; end - - # source://actiontext/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_text/attribute.rb#62 - def with_all_rich_text; end -end - -module ActionText::ContentHelper - def allowed_attributes; end - def allowed_attributes=(val); end - def allowed_tags; end - def allowed_tags=(val); end - def render_action_text_attachment(attachment, locals: T.unsafe(nil)); end - def render_action_text_attachments(content); end - def render_action_text_content(content); end - def sanitize_action_text_content(content); end - def sanitizer; end - def sanitizer=(val); end - def sanitizer_allowed_attributes; end - def sanitizer_allowed_tags; end - def scrubber; end - def scrubber=(val); end - - class << self - def allowed_attributes; end - def allowed_attributes=(val); end - def allowed_tags; end - def allowed_tags=(val); end - def sanitizer; end - def sanitizer=(val); end - def scrubber; end - def scrubber=(val); end - end -end - -# source://actiontext/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_text/encryption.rb#4 -module ActionText::Encryption - # source://actiontext/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_text/encryption.rb#12 - def decrypt; end - - # source://actiontext/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_text/encryption.rb#5 - def encrypt; end - - private - - # source://actiontext/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_text/encryption.rb#24 - def decrypt_rich_texts; end - - # source://actiontext/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_text/encryption.rb#20 - def encrypt_rich_texts; end - - # source://actiontext/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_text/encryption.rb#32 - def encryptable_rich_texts; end - - # source://actiontext/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_text/encryption.rb#28 - def has_encrypted_rich_texts?; end -end - -# source://actiontext/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_text/rendering.rb#7 -module ActionText::Rendering - extend ::ActiveSupport::Concern -end - -# source://actiontext/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_text/serialization.rb#4 -module ActionText::Serialization - extend ::ActiveSupport::Concern -end - -module ActionText::TagHelper - def rich_text_area_tag(name, value = T.unsafe(nil), options = T.unsafe(nil)); end - - class << self - def id; end - def id=(val); end - end -end - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/gem_version.rb#3 -module ActionView - extend ::ActiveSupport::Autoload -end - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/base.rb#141 -class ActionView::Base - include ::ActionView::Context - include ::ERB::Escape - include ::ERB::Util - include ::ActiveSupport::CoreExt::ERBUtil - include ::ActiveSupport::CoreExt::ERBUtilPrivate - include ::ActiveSupport::Benchmarkable - include ::ActionView::Helpers::ActiveModelHelper - include ::ActionView::Helpers::AssetUrlHelper - include ::ActionView::Helpers::CaptureHelper - include ::ActionView::Helpers::OutputSafetyHelper - include ::ActionView::Helpers::TagHelper - include ::ActionView::Helpers::AssetTagHelper - include ::ActionView::Helpers::AtomFeedHelper - include ::ActionView::Helpers::CacheHelper - include ::ActionView::Helpers::ContentExfiltrationPreventionHelper - include ::ActionView::Helpers::UrlHelper - include ::ActionView::Helpers::SanitizeHelper - include ::ActionView::Helpers::ControllerHelper - include ::ActionView::Helpers::CspHelper - include ::ActionView::Helpers::CsrfHelper - include ::ActionView::Helpers::DateHelper - include ::ActionView::Helpers::DebugHelper - include ::ActionView::Helpers::TextHelper - include ::ActionView::Helpers::FormTagHelper - include ::ActionView::ModelNaming - include ::ActionView::RecordIdentifier - include ::ActionView::Helpers::FormHelper - include ::ActionView::Helpers::TranslationHelper - include ::ActionView::Helpers::FormOptionsHelper - include ::ActionView::Helpers::JavaScriptHelper - include ::ActionView::Helpers::NumberHelper - include ::ActionView::Helpers::RenderingHelper - include ::ActionView::Helpers - include ::ActionCable::Helpers::ActionCableHelper - extend ::ActionView::Helpers::UrlHelper::ClassMethods - extend ::ActionView::Helpers::SanitizeHelper::ClassMethods -end - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/renderer/partial_renderer/collection_caching.rb#6 -module ActionView::CollectionCaching - extend ::ActiveSupport::Concern -end - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/context.rb#14 -module ActionView::Context - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/context.rb#27 - def _layout_for(name = T.unsafe(nil)); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/context.rb#18 - def _prepare_context; end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/context.rb#15 - def output_buffer; end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/context.rb#15 - def output_buffer=(_arg0); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/context.rb#15 - def view_flow; end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/context.rb#15 - def view_flow=(_arg0); end -end - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/dependency_tracker.rb#8 -class ActionView::DependencyTracker - extend ::ActiveSupport::Autoload -end - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/capture_helper.rb#6 -module ActionView::Helpers - include ::ActiveSupport::Benchmarkable - include ::ActionView::Helpers::ActiveModelHelper - include ::ActionView::Helpers::AssetUrlHelper - include ::ActionView::Helpers::SanitizeHelper - include ::ActionView::Helpers::CaptureHelper - include ::ActionView::Helpers::OutputSafetyHelper - include ::ActionView::Helpers::TagHelper - include ::ActionView::Helpers::AssetTagHelper - include ::ActionView::Helpers::AtomFeedHelper - include ::ActionView::Helpers::CacheHelper - include ::ActionView::Helpers::ContentExfiltrationPreventionHelper - include ::ActionView::Helpers::ControllerHelper - include ::ActionView::Helpers::CspHelper - include ::ActionView::Helpers::CsrfHelper - include ::ActionView::Helpers::DateHelper - include ::ActionView::Helpers::DebugHelper - include ::ActionView::Helpers::TextHelper - include ::ActionView::Helpers::FormOptionsHelper - include ::ActionView::Helpers::JavaScriptHelper - include ::ActionView::Helpers::NumberHelper - include ::ActionView::Helpers::RenderingHelper - extend ::ActiveSupport::Autoload - extend ::ActiveSupport::Concern -end - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/active_model_helper.rb#8 -module ActionView::Helpers::ActiveModelHelper; end - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/active_model_helper.rb#12 -module ActionView::Helpers::ActiveModelInstanceTag - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/active_model_helper.rb#20 - def content_tag(type, options, *_arg2); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/active_model_helper.rb#36 - def error_message; end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/active_model_helper.rb#28 - def error_wrapping(html_tag); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/active_model_helper.rb#13 - def object; end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/active_model_helper.rb#24 - def tag(type, options, *_arg2); end - - private - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/active_model_helper.rb#41 - def object_has_errors?; end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/active_model_helper.rb#45 - def select_markup_helper?(type); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/active_model_helper.rb#49 - def tag_generate_errors?(options); end -end - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/asset_tag_helper.rb#21 -module ActionView::Helpers::AssetTagHelper - include ::ActionView::Helpers::AssetUrlHelper - include ::ActionView::Helpers::CaptureHelper - include ::ActionView::Helpers::OutputSafetyHelper - include ::ActionView::Helpers::TagHelper - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/asset_tag_helper.rb#28 - def apply_stylesheet_media_default; end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/asset_tag_helper.rb#28 - def apply_stylesheet_media_default=(val); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/asset_tag_helper.rb#581 - def audio_tag(*sources); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/asset_tag_helper.rb#259 - def auto_discovery_link_tag(type = T.unsafe(nil), url_options = T.unsafe(nil), tag_options = T.unsafe(nil)); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/asset_tag_helper.rb#300 - def favicon_link_tag(source = T.unsafe(nil), options = T.unsafe(nil)); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/asset_tag_helper.rb#26 - def image_decoding; end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/asset_tag_helper.rb#26 - def image_decoding=(val); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/asset_tag_helper.rb#25 - def image_loading; end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/asset_tag_helper.rb#25 - def image_loading=(val); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/asset_tag_helper.rb#418 - def image_tag(source, options = T.unsafe(nil)); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/asset_tag_helper.rb#111 - def javascript_include_tag(*sources); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/asset_tag_helper.rb#479 - def picture_tag(*sources, &block); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/asset_tag_helper.rb#343 - def preload_link_tag(source, options = T.unsafe(nil)); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/asset_tag_helper.rb#27 - def preload_links_header; end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/asset_tag_helper.rb#27 - def preload_links_header=(val); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/asset_tag_helper.rb#193 - def stylesheet_link_tag(*sources); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/asset_tag_helper.rb#549 - def video_tag(*sources); end - - private - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/asset_tag_helper.rb#622 - def check_for_image_tag_errors(options); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/asset_tag_helper.rb#613 - def extract_dimensions(size); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/asset_tag_helper.rb#586 - def multiple_sources_tag_builder(type, sources); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/asset_tag_helper.rb#603 - def resolve_asset_source(asset_type, source, skip_pipeline); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/asset_tag_helper.rb#628 - def resolve_link_as(extname, mime_type); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/asset_tag_helper.rb#642 - def send_preload_links_header(preload_links, max_header_size: T.unsafe(nil)); end - - class << self - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/asset_tag_helper.rb#28 - def apply_stylesheet_media_default; end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/asset_tag_helper.rb#28 - def apply_stylesheet_media_default=(val); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/asset_tag_helper.rb#26 - def image_decoding; end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/asset_tag_helper.rb#26 - def image_decoding=(val); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/asset_tag_helper.rb#25 - def image_loading; end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/asset_tag_helper.rb#25 - def image_loading=(val); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/asset_tag_helper.rb#27 - def preload_links_header; end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/asset_tag_helper.rb#27 - def preload_links_header=(val); end - end -end - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/asset_tag_helper.rb#640 -ActionView::Helpers::AssetTagHelper::MAX_HEADER_SIZE = T.let(T.unsafe(nil), Integer) - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/asset_url_helper.rb#121 -module ActionView::Helpers::AssetUrlHelper - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/asset_url_helper.rb#187 - def asset_path(source, options = T.unsafe(nil)); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/asset_url_helper.rb#231 - def asset_url(source, options = T.unsafe(nil)); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/asset_url_helper.rb#430 - def audio_path(source, options = T.unsafe(nil)); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/asset_url_helper.rb#442 - def audio_url(source, options = T.unsafe(nil)); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/asset_url_helper.rb#243 - def compute_asset_extname(source, options = T.unsafe(nil)); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/asset_url_helper.rb#277 - def compute_asset_host(source = T.unsafe(nil), options = T.unsafe(nil)); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/asset_url_helper.rb#266 - def compute_asset_path(source, options = T.unsafe(nil)); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/asset_url_helper.rb#455 - def font_path(source, options = T.unsafe(nil)); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/asset_url_helper.rb#467 - def font_url(source, options = T.unsafe(nil)); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/asset_url_helper.rb#378 - def image_path(source, options = T.unsafe(nil)); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/asset_url_helper.rb#390 - def image_url(source, options = T.unsafe(nil)); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/asset_url_helper.rb#321 - def javascript_path(source, options = T.unsafe(nil)); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/asset_url_helper.rb#333 - def javascript_url(source, options = T.unsafe(nil)); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/asset_url_helper.rb#187 - def path_to_asset(source, options = T.unsafe(nil)); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/asset_url_helper.rb#430 - def path_to_audio(source, options = T.unsafe(nil)); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/asset_url_helper.rb#455 - def path_to_font(source, options = T.unsafe(nil)); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/asset_url_helper.rb#378 - def path_to_image(source, options = T.unsafe(nil)); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/asset_url_helper.rb#321 - def path_to_javascript(source, options = T.unsafe(nil)); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/asset_url_helper.rb#348 - def path_to_stylesheet(source, options = T.unsafe(nil)); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/asset_url_helper.rb#404 - def path_to_video(source, options = T.unsafe(nil)); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/asset_url_helper.rb#266 - def public_compute_asset_path(source, options = T.unsafe(nil)); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/asset_url_helper.rb#348 - def stylesheet_path(source, options = T.unsafe(nil)); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/asset_url_helper.rb#360 - def stylesheet_url(source, options = T.unsafe(nil)); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/asset_url_helper.rb#231 - def url_to_asset(source, options = T.unsafe(nil)); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/asset_url_helper.rb#442 - def url_to_audio(source, options = T.unsafe(nil)); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/asset_url_helper.rb#467 - def url_to_font(source, options = T.unsafe(nil)); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/asset_url_helper.rb#390 - def url_to_image(source, options = T.unsafe(nil)); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/asset_url_helper.rb#333 - def url_to_javascript(source, options = T.unsafe(nil)); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/asset_url_helper.rb#360 - def url_to_stylesheet(source, options = T.unsafe(nil)); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/asset_url_helper.rb#416 - def url_to_video(source, options = T.unsafe(nil)); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/asset_url_helper.rb#404 - def video_path(source, options = T.unsafe(nil)); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/asset_url_helper.rb#416 - def video_url(source, options = T.unsafe(nil)); end -end - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/asset_url_helper.rb#236 -ActionView::Helpers::AssetUrlHelper::ASSET_EXTENSIONS = T.let(T.unsafe(nil), Hash) - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/asset_url_helper.rb#254 -ActionView::Helpers::AssetUrlHelper::ASSET_PUBLIC_DIRECTORIES = T.let(T.unsafe(nil), Hash) - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/asset_url_helper.rb#122 -ActionView::Helpers::AssetUrlHelper::URI_REGEXP = T.let(T.unsafe(nil), Regexp) - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/atom_feed_helper.rb#8 -module ActionView::Helpers::AtomFeedHelper - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/atom_feed_helper.rb#98 - def atom_feed(options = T.unsafe(nil), &block); end -end - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/atom_feed_helper.rb#129 -class ActionView::Helpers::AtomFeedHelper::AtomBuilder - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/atom_feed_helper.rb#132 - def initialize(xml); end - - private - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/atom_feed_helper.rb#140 - def method_missing(method, *arguments, &block); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/atom_feed_helper.rb#155 - def xhtml_block?(method, arguments); end -end - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/atom_feed_helper.rb#130 -ActionView::Helpers::AtomFeedHelper::AtomBuilder::XHTML_TAG_NAMES = T.let(T.unsafe(nil), Set) - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/atom_feed_helper.rb#163 -class ActionView::Helpers::AtomFeedHelper::AtomFeedBuilder < ::ActionView::Helpers::AtomFeedHelper::AtomBuilder - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/atom_feed_helper.rb#164 - def initialize(xml, view, feed_options = T.unsafe(nil)); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/atom_feed_helper.rb#182 - def entry(record, options = T.unsafe(nil)); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/atom_feed_helper.rb#169 - def updated(date_or_time = T.unsafe(nil)); end -end - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/cache_helper.rb#6 -module ActionView::Helpers::CacheHelper - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/cache_helper.rb#168 - def cache(name = T.unsafe(nil), options = T.unsafe(nil), &block); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/cache_helper.rb#240 - def cache_fragment_name(name = T.unsafe(nil), skip_digest: T.unsafe(nil), digest_path: T.unsafe(nil)); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/cache_helper.rb#215 - def cache_if(condition, name = T.unsafe(nil), options = T.unsafe(nil), &block); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/cache_helper.rb#231 - def cache_unless(condition, name = T.unsafe(nil), options = T.unsafe(nil), &block); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/cache_helper.rb#188 - def caching?; end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/cache_helper.rb#248 - def digest_path_from_template(template); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/cache_helper.rb#205 - def uncacheable!; end - - private - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/cache_helper.rb#270 - def fragment_for(name = T.unsafe(nil), options = T.unsafe(nil), &block); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/cache_helper.rb#259 - def fragment_name_with_digest(name, digest_path); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/cache_helper.rb#280 - def read_fragment_for(name, options); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/cache_helper.rb#284 - def write_fragment_for(name, options, &block); end -end - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/cache_helper.rb#289 -module ActionView::Helpers::CacheHelper::CachingRegistry - extend ::ActionView::Helpers::CacheHelper::CachingRegistry - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/cache_helper.rb#292 - def caching?; end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/cache_helper.rb#296 - def track_caching; end -end - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/cache_helper.rb#7 -class ActionView::Helpers::CacheHelper::UncacheableFragmentError < ::StandardError; end - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/capture_helper.rb#17 -module ActionView::Helpers::CaptureHelper - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/capture_helper.rb#47 - def capture(*args, &block); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/capture_helper.rb#166 - def content_for(name, content = T.unsafe(nil), options = T.unsafe(nil), &block); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/capture_helper.rb#209 - def content_for?(name); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/capture_helper.rb#188 - def provide(name, content = T.unsafe(nil), &block); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/capture_helper.rb#215 - def with_output_buffer(buf = T.unsafe(nil)); end -end - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/content_exfiltration_prevention_helper.rb#5 -module ActionView::Helpers::ContentExfiltrationPreventionHelper - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/content_exfiltration_prevention_helper.rb#6 - def prepend_content_exfiltration_prevention; end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/content_exfiltration_prevention_helper.rb#6 - def prepend_content_exfiltration_prevention=(val); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/content_exfiltration_prevention_helper.rb#61 - def prevent_content_exfiltration(html); end - - class << self - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/content_exfiltration_prevention_helper.rb#6 - def prepend_content_exfiltration_prevention; end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/content_exfiltration_prevention_helper.rb#6 - def prepend_content_exfiltration_prevention=(val); end - end -end - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/content_exfiltration_prevention_helper.rb#32 -ActionView::Helpers::ContentExfiltrationPreventionHelper::CLOSE_CDATA_COMMENT = T.let(T.unsafe(nil), ActiveSupport::SafeBuffer) - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/content_exfiltration_prevention_helper.rb#57 -ActionView::Helpers::ContentExfiltrationPreventionHelper::CLOSE_FORM_TAG = T.let(T.unsafe(nil), ActiveSupport::SafeBuffer) - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/content_exfiltration_prevention_helper.rb#45 -ActionView::Helpers::ContentExfiltrationPreventionHelper::CLOSE_OPTION_TAG = T.let(T.unsafe(nil), ActiveSupport::SafeBuffer) - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/content_exfiltration_prevention_helper.rb#18 -ActionView::Helpers::ContentExfiltrationPreventionHelper::CLOSE_QUOTES_COMMENT = T.let(T.unsafe(nil), ActiveSupport::SafeBuffer) - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/content_exfiltration_prevention_helper.rb#59 -ActionView::Helpers::ContentExfiltrationPreventionHelper::CONTENT_EXFILTRATION_PREVENTION_MARKUP = T.let(T.unsafe(nil), ActiveSupport::SafeBuffer) - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/controller_helper.rb#11 -module ActionView::Helpers::ControllerHelper - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/controller_helper.rb#18 - def action_name(*_arg0, **_arg1, &_arg2); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/controller_helper.rb#20 - def assign_controller(controller); end - - def controller; end - def controller=(_arg0); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/controller_helper.rb#18 - def controller_name(*_arg0, **_arg1, &_arg2); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/controller_helper.rb#18 - def controller_path(*_arg0, **_arg1, &_arg2); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/controller_helper.rb#18 - def cookies(*_arg0, **_arg1, &_arg2); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/controller_helper.rb#18 - def flash(*_arg0, **_arg1, &_arg2); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/controller_helper.rb#18 - def headers(*_arg0, **_arg1, &_arg2); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/controller_helper.rb#32 - def logger; end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/controller_helper.rb#18 - def params(*_arg0, **_arg1, &_arg2); end - - def request; end - def request=(_arg0); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/controller_helper.rb#18 - def request_forgery_protection_token(*_arg0, **_arg1, &_arg2); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/controller_helper.rb#36 - def respond_to?(method_name, include_private = T.unsafe(nil)); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/controller_helper.rb#18 - def response(*_arg0, **_arg1, &_arg2); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/controller_helper.rb#18 - def session(*_arg0, **_arg1, &_arg2); end -end - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/controller_helper.rb#14 -ActionView::Helpers::ControllerHelper::CONTROLLER_DELEGATES = T.let(T.unsafe(nil), Array) - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/csp_helper.rb#6 -module ActionView::Helpers::CspHelper - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/csp_helper.rb#17 - def csp_meta_tag(**options); end -end - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/csrf_helper.rb#6 -module ActionView::Helpers::CsrfHelper - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/csrf_helper.rb#22 - def csrf_meta_tag; end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/csrf_helper.rb#22 - def csrf_meta_tags; end -end - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/date_helper.rb#24 -module ActionView::Helpers::DateHelper - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/date_helper.rb#290 - def date_select(object_name, method, options = T.unsafe(nil), html_options = T.unsafe(nil)); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/date_helper.rb#366 - def datetime_select(object_name, method, options = T.unsafe(nil), html_options = T.unsafe(nil)); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/date_helper.rb#95 - def distance_of_time_in_words(from_time, to_time = T.unsafe(nil), options = T.unsafe(nil)); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/date_helper.rb#176 - def distance_of_time_in_words_to_now(from_time, options = T.unsafe(nil)); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/date_helper.rb#454 - def select_date(date = T.unsafe(nil), options = T.unsafe(nil), html_options = T.unsafe(nil)); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/date_helper.rb#415 - def select_datetime(datetime = T.unsafe(nil), options = T.unsafe(nil), html_options = T.unsafe(nil)); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/date_helper.rb#597 - def select_day(date, options = T.unsafe(nil), html_options = T.unsafe(nil)); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/date_helper.rb#570 - def select_hour(datetime, options = T.unsafe(nil), html_options = T.unsafe(nil)); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/date_helper.rb#541 - def select_minute(datetime, options = T.unsafe(nil), html_options = T.unsafe(nil)); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/date_helper.rb#642 - def select_month(date, options = T.unsafe(nil), html_options = T.unsafe(nil)); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/date_helper.rb#517 - def select_second(datetime, options = T.unsafe(nil), html_options = T.unsafe(nil)); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/date_helper.rb#494 - def select_time(datetime = T.unsafe(nil), options = T.unsafe(nil), html_options = T.unsafe(nil)); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/date_helper.rb#671 - def select_year(date, options = T.unsafe(nil), html_options = T.unsafe(nil)); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/date_helper.rb#176 - def time_ago_in_words(from_time, options = T.unsafe(nil)); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/date_helper.rb#331 - def time_select(object_name, method, options = T.unsafe(nil), html_options = T.unsafe(nil)); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/date_helper.rb#690 - def time_tag(date_or_time, *args, &block); end - - private - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/date_helper.rb#699 - def normalize_distance_of_time_argument_to_time(value); end -end - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/date_helper.rb#26 -ActionView::Helpers::DateHelper::MINUTES_IN_QUARTER_YEAR = T.let(T.unsafe(nil), Integer) - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/date_helper.rb#27 -ActionView::Helpers::DateHelper::MINUTES_IN_THREE_QUARTERS_YEAR = T.let(T.unsafe(nil), Integer) - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/date_helper.rb#25 -ActionView::Helpers::DateHelper::MINUTES_IN_YEAR = T.let(T.unsafe(nil), Integer) - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/date_helper.rb#710 -class ActionView::Helpers::DateTimeSelector - include ::ActionView::Helpers::CaptureHelper - include ::ActionView::Helpers::OutputSafetyHelper - include ::ActionView::Helpers::TagHelper -end - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/debug_helper.rb#10 -module ActionView::Helpers::DebugHelper - include ::ActionView::Helpers::CaptureHelper - include ::ActionView::Helpers::OutputSafetyHelper - include ::ActionView::Helpers::TagHelper - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/debug_helper.rb#28 - def debug(object); end -end - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/date_helper.rb#1228 -class ActionView::Helpers::FormBuilder - include ::ActionView::ModelNaming -end - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/form_helper.rb#112 -module ActionView::Helpers::FormHelper - include ::ActionView::ModelNaming - include ::ActionView::RecordIdentifier - extend ::ActiveSupport::Concern -end - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/form_options_helper.rb#94 -module ActionView::Helpers::FormOptionsHelper - include ::ActionView::Helpers::SanitizeHelper - include ::ActionView::Helpers::CaptureHelper - include ::ActionView::Helpers::OutputSafetyHelper - include ::ActionView::Helpers::TagHelper - include ::ActionView::Helpers::TextHelper - extend ::ActionView::Helpers::SanitizeHelper::ClassMethods - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/form_options_helper.rb#782 - def collection_check_boxes(object, method, collection, value_method, text_method, options = T.unsafe(nil), html_options = T.unsafe(nil), &block); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/form_options_helper.rb#698 - def collection_radio_buttons(object, method, collection, value_method, text_method, options = T.unsafe(nil), html_options = T.unsafe(nil), &block); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/form_options_helper.rb#199 - def collection_select(object, method, collection, value_method, text_method, options = T.unsafe(nil), html_options = T.unsafe(nil)); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/form_options_helper.rb#258 - def grouped_collection_select(object, method, collection, group_method, group_label_method, option_key_method, option_value_method, options = T.unsafe(nil), html_options = T.unsafe(nil)); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/form_options_helper.rb#534 - def grouped_options_for_select(grouped_options, selected_key = T.unsafe(nil), options = T.unsafe(nil)); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/form_options_helper.rb#462 - def option_groups_from_collection_for_select(collection, group_method, group_label_method, option_key_method, option_value_method, selected_key = T.unsafe(nil)); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/form_options_helper.rb#358 - def options_for_select(container, selected = T.unsafe(nil)); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/form_options_helper.rb#401 - def options_from_collection_for_select(collection, value_method, text_method, selected = T.unsafe(nil)); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/form_options_helper.rb#159 - def select(object, method, choices = T.unsafe(nil), options = T.unsafe(nil), html_options = T.unsafe(nil), &block); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/form_options_helper.rb#579 - def time_zone_options_for_select(selected = T.unsafe(nil), priority_zones = T.unsafe(nil), model = T.unsafe(nil)); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/form_options_helper.rb#292 - def time_zone_select(object, method, priority_zones = T.unsafe(nil), options = T.unsafe(nil), html_options = T.unsafe(nil)); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/form_options_helper.rb#611 - def weekday_options_for_select(selected = T.unsafe(nil), index_as_value: T.unsafe(nil), day_format: T.unsafe(nil), beginning_of_week: T.unsafe(nil)); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/form_options_helper.rb#298 - def weekday_select(object, method, options = T.unsafe(nil), html_options = T.unsafe(nil), &block); end - - private - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/form_options_helper.rb#809 - def extract_selected_and_disabled(selected); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/form_options_helper.rb#820 - def extract_values_from_collection(collection, value_method, selected); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/form_options_helper.rb#787 - def option_html_attributes(element); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/form_options_helper.rb#795 - def option_text_and_value(option); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/form_options_helper.rb#805 - def option_value_selected?(value, selected); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/form_options_helper.rb#834 - def prompt_text(prompt); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/form_options_helper.rb#830 - def value_for_collection(item, value); end -end - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/form_tag_helper.rb#19 -module ActionView::Helpers::FormTagHelper - include ::ActionView::Helpers::ContentExfiltrationPreventionHelper - extend ::ActiveSupport::Concern -end - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/javascript_helper.rb#6 -module ActionView::Helpers::JavaScriptHelper - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/javascript_helper.rb#28 - def escape_javascript(javascript); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/javascript_helper.rb#28 - def j(javascript); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/javascript_helper.rb#91 - def javascript_cdata_section(content); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/javascript_helper.rb#75 - def javascript_tag(content_or_options_with_block = T.unsafe(nil), html_options = T.unsafe(nil), &block); end -end - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/javascript_helper.rb#7 -ActionView::Helpers::JavaScriptHelper::JS_ESCAPE_MAP = T.let(T.unsafe(nil), Hash) - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/number_helper.rb#17 -module ActionView::Helpers::NumberHelper - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/number_helper.rb#128 - def number_to_currency(number, options = T.unsafe(nil)); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/number_helper.rb#405 - def number_to_human(number, options = T.unsafe(nil)); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/number_helper.rb#298 - def number_to_human_size(number, options = T.unsafe(nil)); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/number_helper.rb#168 - def number_to_percentage(number, options = T.unsafe(nil)); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/number_helper.rb#63 - def number_to_phone(number, options = T.unsafe(nil)); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/number_helper.rb#207 - def number_with_delimiter(number, options = T.unsafe(nil)); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/number_helper.rb#252 - def number_with_precision(number, options = T.unsafe(nil)); end - - private - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/number_helper.rb#410 - def delegate_number_helper_method(method, number, options); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/number_helper.rb#429 - def escape_units(units); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/number_helper.rb#419 - def escape_unsafe_options(options); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/number_helper.rb#452 - def parse_float(number, raise_error); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/number_helper.rb#448 - def valid_float?(number); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/number_helper.rb#435 - def wrap_with_output_safety_handling(number, raise_on_invalid, &block); end -end - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/number_helper.rb#20 -class ActionView::Helpers::NumberHelper::InvalidNumberError < ::StandardError - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/number_helper.rb#22 - def initialize(number); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/number_helper.rb#21 - def number; end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/number_helper.rb#21 - def number=(_arg0); end -end - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/output_safety_helper.rb#8 -module ActionView::Helpers::OutputSafetyHelper - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/output_safety_helper.rb#18 - def raw(stringish); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/output_safety_helper.rb#33 - def safe_join(array, sep = T.unsafe(nil)); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/output_safety_helper.rb#43 - def to_sentence(array, options = T.unsafe(nil)); end -end - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/rendering_helper.rb#10 -module ActionView::Helpers::RenderingHelper - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/rendering_helper.rb#97 - def _layout_for(*args, &block); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/rendering_helper.rb#30 - def render(options = T.unsafe(nil), locals = T.unsafe(nil), &block); end -end - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/sanitize_helper.rb#11 -module ActionView::Helpers::SanitizeHelper - extend ::ActiveSupport::Concern -end - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/sanitize_helper.rb#143 -module ActionView::Helpers::SanitizeHelper::ClassMethods - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/sanitize_helper.rb#164 - def full_sanitizer; end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/sanitize_helper.rb#144 - def full_sanitizer=(_arg0); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/sanitize_helper.rb#174 - def link_sanitizer; end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/sanitize_helper.rb#144 - def link_sanitizer=(_arg0); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/sanitize_helper.rb#184 - def safe_list_sanitizer; end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/sanitize_helper.rb#144 - def safe_list_sanitizer=(_arg0); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/sanitize_helper.rb#154 - def sanitized_allowed_attributes; end - - # source://rails-html-sanitizer/1.6.0lib/rails-html-sanitizer.rb#34 - def sanitized_allowed_attributes=(attributes); end - - # source://rails-html-sanitizer/1.6.0lib/rails-html-sanitizer.rb#47 - def sanitized_allowed_css_keywords; end - - # source://rails-html-sanitizer/1.6.0lib/rails-html-sanitizer.rb#48 - def sanitized_allowed_css_keywords=(_); end - - # source://rails-html-sanitizer/1.6.0lib/rails-html-sanitizer.rb#47 - def sanitized_allowed_css_properties; end - - # source://rails-html-sanitizer/1.6.0lib/rails-html-sanitizer.rb#48 - def sanitized_allowed_css_properties=(_); end - - # source://rails-html-sanitizer/1.6.0lib/rails-html-sanitizer.rb#47 - def sanitized_allowed_protocols; end - - # source://rails-html-sanitizer/1.6.0lib/rails-html-sanitizer.rb#48 - def sanitized_allowed_protocols=(_); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/sanitize_helper.rb#150 - def sanitized_allowed_tags; end - - # source://rails-html-sanitizer/1.6.0lib/rails-html-sanitizer.rb#24 - def sanitized_allowed_tags=(tags); end - - # source://rails-html-sanitizer/1.6.0lib/rails-html-sanitizer.rb#47 - def sanitized_bad_tags; end - - # source://rails-html-sanitizer/1.6.0lib/rails-html-sanitizer.rb#48 - def sanitized_bad_tags=(_); end - - # source://rails-html-sanitizer/1.6.0lib/rails-html-sanitizer.rb#47 - def sanitized_protocol_separator; end - - # source://rails-html-sanitizer/1.6.0lib/rails-html-sanitizer.rb#48 - def sanitized_protocol_separator=(_); end - - # source://rails-html-sanitizer/1.6.0lib/rails-html-sanitizer.rb#47 - def sanitized_shorthand_css_properties; end - - # source://rails-html-sanitizer/1.6.0lib/rails-html-sanitizer.rb#48 - def sanitized_shorthand_css_properties=(_); end - - # source://rails-html-sanitizer/1.6.0lib/rails-html-sanitizer.rb#47 - def sanitized_uri_attributes; end - - # source://rails-html-sanitizer/1.6.0lib/rails-html-sanitizer.rb#48 - def sanitized_uri_attributes=(_); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/sanitize_helper.rb#146 - def sanitizer_vendor; end - - private - - # source://rails-html-sanitizer/1.6.0lib/rails-html-sanitizer.rb#52 - def deprecate_option(name); end -end - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/tag_helper.rb#15 -module ActionView::Helpers::TagHelper - include ::ActionView::Helpers::CaptureHelper - include ::ActionView::Helpers::OutputSafetyHelper - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/tag_helper.rb#385 - def cdata_section(content); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/tag_helper.rb#365 - def class_names(*args); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/tag_helper.rb#345 - def content_tag(name, content_or_options_with_block = T.unsafe(nil), options = T.unsafe(nil), escape = T.unsafe(nil), &block); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/tag_helper.rb#397 - def escape_once(html); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/tag_helper.rb#308 - def tag(name = T.unsafe(nil), options = T.unsafe(nil), open = T.unsafe(nil), escape = T.unsafe(nil)); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/tag_helper.rb#365 - def token_list(*args); end - - private - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/tag_helper.rb#407 - def build_tag_values(*args); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/tag_helper.rb#402 - def ensure_valid_html5_tag_name(name); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/tag_helper.rb#427 - def tag_builder; end - - class << self - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/tag_helper.rb#407 - def build_tag_values(*args); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/tag_helper.rb#402 - def ensure_valid_html5_tag_name(name); end - end -end - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/tag_helper.rb#32 -ActionView::Helpers::TagHelper::ARIA_PREFIXES = T.let(T.unsafe(nil), Set) - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/tag_helper.rb#19 -ActionView::Helpers::TagHelper::BOOLEAN_ATTRIBUTES = T.let(T.unsafe(nil), Set) - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/tag_helper.rb#33 -ActionView::Helpers::TagHelper::DATA_PREFIXES = T.let(T.unsafe(nil), Set) - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/tag_helper.rb#41 -ActionView::Helpers::TagHelper::PRE_CONTENT_STRINGS = T.let(T.unsafe(nil), Hash) - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/tag_helper.rb#35 -ActionView::Helpers::TagHelper::TAG_TYPES = T.let(T.unsafe(nil), Hash) - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/tag_helper.rb#45 -class ActionView::Helpers::TagHelper::TagBuilder - include ::ActionView::Helpers::CaptureHelper - include ::ActionView::Helpers::OutputSafetyHelper -end - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/tags.rb#5 -module ActionView::Helpers::Tags - extend ::ActiveSupport::Autoload -end - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/tags/base.rb#6 -class ActionView::Helpers::Tags::Base - include ::ActionView::Helpers::CaptureHelper - include ::ActionView::Helpers::OutputSafetyHelper - include ::ActionView::Helpers::TagHelper - include ::ActionView::Helpers::ContentExfiltrationPreventionHelper - include ::ActionView::Helpers::UrlHelper - include ::ActionView::Helpers::SanitizeHelper - include ::ActionView::Helpers::TextHelper - include ::ActionView::Helpers::FormTagHelper - include ::ActionView::Helpers::ActiveModelInstanceTag - extend ::ActionView::Helpers::UrlHelper::ClassMethods - extend ::ActionView::Helpers::SanitizeHelper::ClassMethods -end - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/tags/collection_check_boxes.rb#8 -class ActionView::Helpers::Tags::CollectionCheckBoxes < ::ActionView::Helpers::Tags::Base - include ::ActionView::Helpers::Tags::CollectionHelpers - include ::ActionView::Helpers::FormOptionsHelper -end - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/tags/collection_helpers.rb#6 -module ActionView::Helpers::Tags::CollectionHelpers - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/tags/collection_helpers.rb#30 - def initialize(object_name, method_name, template_object, collection, value_method, text_method, options, html_options); end - - private - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/tags/collection_helpers.rb#47 - def default_html_options_for_collection(item, value); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/tags/collection_helpers.rb#107 - def hidden_field; end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/tags/collection_helpers.rb#112 - def hidden_field_name; end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/tags/collection_helpers.rb#40 - def instantiate_builder(builder_class, item, value, text, html_options); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/tags/collection_helpers.rb#75 - def render_collection; end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/tags/collection_helpers.rb#86 - def render_collection_for(builder_class, &block); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/tags/collection_helpers.rb#71 - def sanitize_attribute_name(value); end -end - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/tags/collection_helpers.rb#7 -class ActionView::Helpers::Tags::CollectionHelpers::Builder - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/tags/collection_helpers.rb#10 - def initialize(template_object, object_name, method_name, object, sanitized_attribute_name, text, value, input_html_options); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/tags/collection_helpers.rb#22 - def label(label_html_options = T.unsafe(nil), &block); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/tags/collection_helpers.rb#8 - def object; end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/tags/collection_helpers.rb#8 - def text; end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/tags/collection_helpers.rb#8 - def value; end -end - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/tags/collection_radio_buttons.rb#8 -class ActionView::Helpers::Tags::CollectionRadioButtons < ::ActionView::Helpers::Tags::Base - include ::ActionView::Helpers::Tags::CollectionHelpers - include ::ActionView::Helpers::FormOptionsHelper -end - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/tags/collection_select.rb#6 -class ActionView::Helpers::Tags::CollectionSelect < ::ActionView::Helpers::Tags::Base - include ::ActionView::Helpers::Tags::SelectRenderer - include ::ActionView::Helpers::FormOptionsHelper -end - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/tags/date_select.rb#8 -class ActionView::Helpers::Tags::DateSelect < ::ActionView::Helpers::Tags::Base - include ::ActionView::Helpers::Tags::SelectRenderer -end - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/tags/grouped_collection_select.rb#6 -class ActionView::Helpers::Tags::GroupedCollectionSelect < ::ActionView::Helpers::Tags::Base - include ::ActionView::Helpers::Tags::SelectRenderer - include ::ActionView::Helpers::FormOptionsHelper -end - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/tags/select.rb#6 -class ActionView::Helpers::Tags::Select < ::ActionView::Helpers::Tags::Base - include ::ActionView::Helpers::Tags::SelectRenderer - include ::ActionView::Helpers::FormOptionsHelper -end - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/tags/select_renderer.rb#6 -module ActionView::Helpers::Tags::SelectRenderer - private - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/tags/select_renderer.rb#36 - def add_options(option_tags, options, value = T.unsafe(nil)); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/tags/select_renderer.rb#31 - def placeholder_required?(html_options); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/tags/select_renderer.rb#8 - def select_content_tag(option_tags, options, html_options); end -end - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/tags/time_zone_select.rb#6 -class ActionView::Helpers::Tags::TimeZoneSelect < ::ActionView::Helpers::Tags::Base - include ::ActionView::Helpers::Tags::SelectRenderer - include ::ActionView::Helpers::FormOptionsHelper -end - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/tags/weekday_select.rb#6 -class ActionView::Helpers::Tags::WeekdaySelect < ::ActionView::Helpers::Tags::Base - include ::ActionView::Helpers::Tags::SelectRenderer - include ::ActionView::Helpers::FormOptionsHelper -end - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/text_helper.rb#36 -module ActionView::Helpers::TextHelper - include ::ActionView::Helpers::CaptureHelper - include ::ActionView::Helpers::OutputSafetyHelper - include ::ActionView::Helpers::TagHelper - extend ::ActiveSupport::Concern -end - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/translation_helper.rb#9 -module ActionView::Helpers::TranslationHelper - include ::ActionView::Helpers::CaptureHelper - include ::ActionView::Helpers::OutputSafetyHelper - include ::ActionView::Helpers::TagHelper - extend ::ActiveSupport::Concern -end - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/url_helper.rb#17 -module ActionView::Helpers::UrlHelper - include ::ActionView::Helpers::CaptureHelper - include ::ActionView::Helpers::OutputSafetyHelper - include ::ActionView::Helpers::TagHelper - include ::ActionView::Helpers::ContentExfiltrationPreventionHelper - extend ::ActiveSupport::Concern -end - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/url_helper.rb#29 -module ActionView::Helpers::UrlHelper::ClassMethods - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/helpers/url_helper.rb#30 - def _url_for_modules; end -end - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/layouts.rb#205 -module ActionView::Layouts - extend ::ActiveSupport::Concern - include GeneratedInstanceMethods - include ::ActionView::ViewPaths - include ::ActionView::Rendering - - mixes_in_class_methods GeneratedClassMethods - mixes_in_class_methods ::ActionView::ViewPaths::ClassMethods - mixes_in_class_methods ::ActionView::Rendering::ClassMethods - mixes_in_class_methods ::ActionView::Layouts::ClassMethods - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/layouts.rb#363 - def initialize(*_arg0); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/layouts.rb#352 - def _normalize_options(options); end - - def action_has_layout=(_arg0); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/layouts.rb#374 - def action_has_layout?; end - - private - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/layouts.rb#379 - def _conditional_layout?; end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/layouts.rb#417 - def _default_layout(lookup_context, formats, require_layout = T.unsafe(nil)); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/layouts.rb#432 - def _include_layout?(options); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/layouts.rb#384 - def _layout(*_arg0); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/layouts.rb#390 - def _layout_for_option(name); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/layouts.rb#403 - def _normalize_layout(value); end - - module GeneratedClassMethods - def _layout; end - def _layout=(value); end - def _layout?; end - def _layout_conditions; end - def _layout_conditions=(value); end - def _layout_conditions?; end - end - - module GeneratedInstanceMethods; end -end - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/layouts.rb#219 -module ActionView::Layouts::ClassMethods - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/layouts.rb#285 - def _write_layout_method; end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/layouts.rb#220 - def inherited(klass); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/layouts.rb#271 - def layout(layout, conditions = T.unsafe(nil)); end - - private - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/layouts.rb#347 - def _implied_layout_name; end -end - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/layouts.rb#227 -module ActionView::Layouts::ClassMethods::LayoutConditions - private - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/layouts.rb#235 - def _conditional_layout?; end -end - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/model_naming.rb#4 -module ActionView::ModelNaming - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/model_naming.rb#6 - def convert_to_model(object); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/model_naming.rb#10 - def model_name_from_record_or_class(record_or_class); end -end - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/record_identifier.rb#60 -module ActionView::RecordIdentifier - include ::ActionView::ModelNaming - extend ::ActionView::RecordIdentifier - extend ::ActionView::ModelNaming - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/record_identifier.rb#78 - def dom_class(record_or_class, prefix = T.unsafe(nil)); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/record_identifier.rb#93 - def dom_id(record_or_class, prefix = T.unsafe(nil)); end - - private - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/record_identifier.rb#113 - def record_key_for_dom_id(record); end -end - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/record_identifier.rb#66 -ActionView::RecordIdentifier::JOIN = T.let(T.unsafe(nil), String) - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/record_identifier.rb#67 -ActionView::RecordIdentifier::NEW = T.let(T.unsafe(nil), String) - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/rendering.rb#26 -module ActionView::Rendering - extend ::ActiveSupport::Concern - include ::ActionView::ViewPaths - - mixes_in_class_methods ::ActionView::ViewPaths::ClassMethods - mixes_in_class_methods ::ActionView::Rendering::ClassMethods - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/rendering.rb#32 - def initialize; end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/rendering.rb#38 - def process(*_arg0, **_arg1, &_arg2); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/rendering.rb#119 - def render_to_body(options = T.unsafe(nil)); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/rendering.rb#30 - def rendered_format; end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/rendering.rb#109 - def view_context; end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/rendering.rb#95 - def view_context_class; end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/rendering.rb#114 - def view_renderer; end - - private - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/rendering.rb#152 - def _normalize_args(action = T.unsafe(nil), options = T.unsafe(nil)); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/rendering.rb#176 - def _normalize_options(options); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/rendering.rb#145 - def _process_format(format); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/rendering.rb#126 - def _render_template(options); end -end - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/rendering.rb#45 -module ActionView::Rendering::ClassMethods - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/rendering.rb#49 - def _helpers; end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/rendering.rb#46 - def _routes; end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/rendering.rb#59 - def build_view_context_class(klass, supports_path, routes, helpers); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/rendering.rb#76 - def eager_load!; end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/rendering.rb#52 - def inherit_view_context_class?; end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/rendering.rb#82 - def view_context_class; end -end - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/template/resolver.rb#12 -class ActionView::Resolver - include ::ActiveSupport::Deprecation::DeprecatedConstantAccessor -end - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/routing_url_for.rb#6 -module ActionView::RoutingUrlFor - include ::ActionDispatch::Routing::PolymorphicRoutes - include ::ActionDispatch::Routing::UrlFor -end - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/template.rb#8 -class ActionView::Template - extend ::ActiveSupport::Autoload - extend ::ActionView::Template::Handlers -end - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/template/handlers.rb#6 -module ActionView::Template::Handlers - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/template/handlers.rb#61 - def handler_for_extension(extension); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/template/handlers.rb#56 - def register_default_template_handler(extension, klass); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/template/handlers.rb#31 - def register_template_handler(*extensions, handler); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/template/handlers.rb#52 - def registered_template_handler(extension); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/template/handlers.rb#48 - def template_handler_extensions; end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/template/handlers.rb#40 - def unregister_template_handler(*extensions); end - - class << self - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/template/handlers.rb#12 - def extended(base); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/template/handlers.rb#23 - def extensions; end - end -end - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/template/handlers/builder.rb#5 -class ActionView::Template::Handlers::Builder - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/template/handlers/builder.rb#8 - def call(template, source); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/template/handlers/builder.rb#6 - def default_format; end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/template/handlers/builder.rb#6 - def default_format=(_arg0); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/template/handlers/builder.rb#6 - def default_format?; end - - private - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/template/handlers/builder.rb#17 - def require_engine; end - - class << self - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/template/handlers/builder.rb#6 - def default_format; end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/template/handlers/builder.rb#6 - def default_format=(value); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/template/handlers/builder.rb#6 - def default_format?; end - end -end - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/template/handlers/erb.rb#9 -class ActionView::Template::Handlers::ERB - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/template/handlers/erb.rb#61 - def call(template, source); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/template/handlers/erb.rb#17 - def erb_implementation; end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/template/handlers/erb.rb#17 - def erb_implementation=(_arg0); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/template/handlers/erb.rb#17 - def erb_implementation?; end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/template/handlers/erb.rb#14 - def erb_trim_mode; end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/template/handlers/erb.rb#14 - def erb_trim_mode=(_arg0); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/template/handlers/erb.rb#14 - def erb_trim_mode?; end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/template/handlers/erb.rb#20 - def escape_ignore_list; end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/template/handlers/erb.rb#20 - def escape_ignore_list=(_arg0); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/template/handlers/erb.rb#20 - def escape_ignore_list?; end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/template/handlers/erb.rb#37 - def handles_encoding?; end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/template/handlers/erb.rb#23 - def strip_trailing_newlines; end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/template/handlers/erb.rb#23 - def strip_trailing_newlines=(_arg0); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/template/handlers/erb.rb#23 - def strip_trailing_newlines?; end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/template/handlers/erb.rb#33 - def supports_streaming?; end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/template/handlers/erb.rb#43 - def translate_location(spot, backtrace_location, source); end - - private - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/template/handlers/erb.rb#108 - def find_offset(compiled, source_tokens, error_column); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/template/handlers/erb.rb#93 - def valid_encoding(string, encoding); end - - class << self - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/template/handlers/erb.rb#29 - def call(template, source); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/template/handlers/erb.rb#17 - def erb_implementation; end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/template/handlers/erb.rb#17 - def erb_implementation=(value); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/template/handlers/erb.rb#17 - def erb_implementation?; end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/template/handlers/erb.rb#14 - def erb_trim_mode; end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/template/handlers/erb.rb#14 - def erb_trim_mode=(value); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/template/handlers/erb.rb#14 - def erb_trim_mode?; end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/template/handlers/erb.rb#20 - def escape_ignore_list; end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/template/handlers/erb.rb#20 - def escape_ignore_list=(value); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/template/handlers/erb.rb#20 - def escape_ignore_list?; end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/template/handlers/erb.rb#23 - def strip_trailing_newlines; end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/template/handlers/erb.rb#23 - def strip_trailing_newlines=(value); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/template/handlers/erb.rb#23 - def strip_trailing_newlines?; end - end -end - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/template/handlers/erb.rb#25 -ActionView::Template::Handlers::ERB::ENCODING_TAG = T.let(T.unsafe(nil), Regexp) - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/template/handlers/erb/erubi.rb#9 -class ActionView::Template::Handlers::ERB::Erubi < ::Erubi::Engine - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/template/handlers/erb/erubi.rb#11 - def initialize(input, properties = T.unsafe(nil)); end - - private - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/template/handlers/erb/erubi.rb#65 - def add_code(code); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/template/handlers/erb/erubi.rb#47 - def add_expression(indicator, code); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/template/handlers/erb/erubi.rb#70 - def add_postamble(_); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/template/handlers/erb/erubi.rb#30 - def add_text(text); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/template/handlers/erb/erubi.rb#75 - def flush_newline_if_pending(src); end -end - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/template/handlers/erb/erubi.rb#45 -ActionView::Template::Handlers::ERB::Erubi::BLOCK_EXPR = T.let(T.unsafe(nil), Regexp) - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/template/handlers/erb.rb#27 -class ActionView::Template::Handlers::ERB::LocationParsingError < ::StandardError; end - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/template/handlers/html.rb#5 -class ActionView::Template::Handlers::Html < ::ActionView::Template::Handlers::Raw - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/template/handlers/html.rb#6 - def call(template, source); end -end - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/template/handlers/raw.rb#5 -class ActionView::Template::Handlers::Raw - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/template/handlers/raw.rb#6 - def call(template, source); end -end - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/template/sources.rb#5 -module ActionView::Template::Sources - extend ::ActiveSupport::Autoload -end - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/test_case.rb#15 -class ActionView::TestCase < ::ActiveSupport::TestCase - include ::ActionDispatch::Assertions::RoutingAssertions - include ::ActionDispatch::Assertions::ResponseAssertions - include ::ActionDispatch::TestProcess::FixtureFile - include ::ActionDispatch::TestProcess - include ::Rails::Dom::Testing::Assertions::DomAssertions - include ::Rails::Dom::Testing::Assertions::SelectorAssertions - include ::Rails::Dom::Testing::Assertions - include ::ActionDispatch::Assertions - include ::ActiveSupport::Deprecation::DeprecatedConstantAccessor - include ::AbstractController::Helpers - include ::ActiveSupport::Benchmarkable - include ::ActionView::Helpers::ActiveModelHelper - include ::ActionView::Helpers::AssetUrlHelper - include ::ActionView::Helpers::CaptureHelper - include ::ActionView::Helpers::OutputSafetyHelper - include ::ActionView::Helpers::TagHelper - include ::ActionView::Helpers::AssetTagHelper - include ::ActionView::Helpers::AtomFeedHelper - include ::ActionView::Helpers::CacheHelper - include ::ActionView::Helpers::ContentExfiltrationPreventionHelper - include ::ActionView::Helpers::UrlHelper - include ::ActionView::Helpers::SanitizeHelper - include ::ActionView::Helpers::ControllerHelper - include ::ActionView::Helpers::CspHelper - include ::ActionView::Helpers::CsrfHelper - include ::ActionView::Helpers::DateHelper - include ::ActionView::Helpers::DebugHelper - include ::ActionView::Helpers::TextHelper - include ::ActionView::Helpers::FormTagHelper - include ::ActionController::TemplateAssertions - include ::ActionView::Context - include ::ActionDispatch::Routing::PolymorphicRoutes - include ::ActionView::ModelNaming - include ::ActionView::RecordIdentifier - include ::ActionView::Helpers::FormHelper - include ::ActionView::Helpers::TranslationHelper - include ::ActionView::Helpers::FormOptionsHelper - include ::ActionView::Helpers::JavaScriptHelper - include ::ActionView::Helpers::NumberHelper - include ::ActionView::Helpers::RenderingHelper - include ::ActionView::Helpers - include ::ActiveSupport::Testing::ConstantLookup - include ::ActionDispatch::Routing::UrlFor - include ::ActionView::RoutingUrlFor - include ::ActionView::TestCase::Behavior - extend ::ActionDispatch::Assertions::RoutingAssertions::ClassMethods - extend ::AbstractController::Helpers::Resolution - extend ::AbstractController::Helpers::ClassMethods - extend ::ActionView::Helpers::UrlHelper::ClassMethods - extend ::ActionView::Helpers::SanitizeHelper::ClassMethods - extend ::ActiveSupport::Testing::ConstantLookup::ClassMethods - extend ::ActionView::TestCase::Behavior::ClassMethods -end - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/test_case.rb#45 -module ActionView::TestCase::Behavior - include ::ActionDispatch::TestProcess::FixtureFile - include ::ActionDispatch::TestProcess - include ::Rails::Dom::Testing::Assertions::DomAssertions - include ::Rails::Dom::Testing::Assertions::SelectorAssertions - include ::Rails::Dom::Testing::Assertions - include ::ActionController::TemplateAssertions - include ::ActionView::Context - include ::ActionDispatch::Routing::PolymorphicRoutes - include ::ActionView::ModelNaming - include ::ActionView::RecordIdentifier - include ::ActionDispatch::Routing::UrlFor - include ::ActionView::RoutingUrlFor - extend ::ActiveSupport::Concern -end - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/test_case.rb#65 -module ActionView::TestCase::Behavior::ClassMethods - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/test_case.rb#162 - def determine_default_helper_class(name); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/test_case.rb#182 - def helper_class; end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/test_case.rb#180 - def helper_class=(_arg0); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/test_case.rb#168 - def helper_method(*methods); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/test_case.rb#66 - def inherited(descendant); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/test_case.rb#186 - def new(*_arg0); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/test_case.rb#146 - def register_parser(format, callable = T.unsafe(nil), &block); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/test_case.rb#153 - def tests(helper_class); end - - private - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/test_case.rb#192 - def include_helper_modules!; end -end - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/test_case.rb#16 -class ActionView::TestCase::TestController < ::ActionController::Base - include ::ActionDispatch::TestProcess::FixtureFile - include ::ActionDispatch::TestProcess -end - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/view_paths.rb#4 -module ActionView::ViewPaths - extend ::ActiveSupport::Concern - - mixes_in_class_methods ::ActionView::ViewPaths::ClassMethods - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/view_paths.rb#81 - def _prefixes; end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/view_paths.rb#11 - def any_templates?(*_arg0, **_arg1, &_arg2); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/view_paths.rb#103 - def append_view_path(path); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/view_paths.rb#93 - def details_for_lookup; end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/view_paths.rb#11 - def formats(*_arg0, **_arg1, &_arg2); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/view_paths.rb#11 - def formats=(arg); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/view_paths.rb#11 - def locale(*_arg0, **_arg1, &_arg2); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/view_paths.rb#11 - def locale=(arg); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/view_paths.rb#88 - def lookup_context; end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/view_paths.rb#113 - def prepend_view_path(path); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/view_paths.rb#11 - def template_exists?(*_arg0, **_arg1, &_arg2); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/view_paths.rb#11 - def view_paths(*_arg0, **_arg1, &_arg2); end -end - -# source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/view_paths.rb#14 -module ActionView::ViewPaths::ClassMethods - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/view_paths.rb#31 - def _build_view_paths(paths); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/view_paths.rb#23 - def _prefixes; end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/view_paths.rb#15 - def _view_paths; end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/view_paths.rb#19 - def _view_paths=(paths); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/view_paths.rb#44 - def append_view_path(path); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/view_paths.rb#54 - def prepend_view_path(path); end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/view_paths.rb#59 - def view_paths; end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/view_paths.rb#68 - def view_paths=(paths); end - - private - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/view_paths.rb#75 - def local_prefixes; end -end - -# source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/gem_version.rb#3 -module ActiveJob - extend ::ActiveSupport::Autoload -end - -# source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/base.rb#63 -class ActiveJob::Base - include ::ActiveJob::Core - include ::ActiveJob::QueueAdapter - include ::ActiveJob::QueueName - include ::ActiveJob::QueuePriority - include ::ActiveJob::Enqueuing - include ::ActiveSupport::Rescuable - include ::ActiveJob::Execution - include ::ActiveSupport::Callbacks - include ::ActiveJob::Callbacks - include ::ActiveJob::Exceptions - include ::ActiveJob::Instrumentation - include ::ActiveJob::Logging - include ::ActiveJob::Timezones - include ::ActiveJob::Translation - include ::ActiveJob::TestHelper::TestQueueAdapter - extend ::ActiveJob::Core::ClassMethods - extend ::ActiveJob::QueueAdapter::ClassMethods - extend ::ActiveJob::QueueName::ClassMethods - extend ::ActiveJob::QueuePriority::ClassMethods - extend ::ActiveJob::Enqueuing::ClassMethods - extend ::ActiveSupport::Rescuable::ClassMethods - extend ::ActiveJob::Execution::ClassMethods - extend ::ActiveSupport::Callbacks::ClassMethods - extend ::ActiveSupport::DescendantsTracker - extend ::ActiveJob::Callbacks::ClassMethods - extend ::ActiveJob::Exceptions::ClassMethods - extend ::ActiveJob::TestHelper::TestQueueAdapter::ClassMethods - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#70 - def __callbacks; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#70 - def __callbacks?; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#963 - def _enqueue_callbacks; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#963 - def _perform_callbacks; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#951 - def _run_enqueue_callbacks(&block); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#951 - def _run_perform_callbacks(&block); end - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/exceptions.rb#12 - def after_discard_procs; end - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/exceptions.rb#12 - def after_discard_procs=(_arg0); end - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/exceptions.rb#12 - def after_discard_procs?; end - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/logging.rb#11 - def logger; end - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/logging.rb#11 - def logger=(val); end - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/queue_adapter.rb#26 - def queue_adapter(&block); end - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/queue_name.rb#57 - def queue_name_prefix; end - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/queue_name.rb#57 - def queue_name_prefix=(_arg0); end - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/queue_name.rb#57 - def queue_name_prefix?; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/rescuable.rb#15 - def rescue_handlers; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/rescuable.rb#15 - def rescue_handlers=(_arg0); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/rescuable.rb#15 - def rescue_handlers?; end - - class << self - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#70 - def __callbacks; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#70 - def __callbacks=(value); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#70 - def __callbacks?; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#955 - def _enqueue_callbacks; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#959 - def _enqueue_callbacks=(value); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#955 - def _perform_callbacks; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#959 - def _perform_callbacks=(value); end - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/queue_adapter.rb#24 - def _queue_adapter; end - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/queue_adapter.rb#24 - def _queue_adapter=(value); end - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/queue_adapter.rb#23 - def _queue_adapter_name; end - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/queue_adapter.rb#23 - def _queue_adapter_name=(value); end - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/test_helper.rb#19 - def _test_adapter; end - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/test_helper.rb#19 - def _test_adapter=(value); end - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/exceptions.rb#12 - def after_discard_procs; end - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/exceptions.rb#12 - def after_discard_procs=(value); end - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/exceptions.rb#12 - def after_discard_procs?; end - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/logging.rb#12 - def log_arguments; end - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/logging.rb#12 - def log_arguments=(value); end - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/logging.rb#12 - def log_arguments?; end - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/logging.rb#11 - def logger; end - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/logging.rb#11 - def logger=(val); end - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/queue_priority.rb#49 - def priority; end - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/queue_priority.rb#49 - def priority=(value); end - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/queue_priority.rb#49 - def priority?; end - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/queue_name.rb#55 - def queue_name; end - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/queue_name.rb#55 - def queue_name=(value); end - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/queue_name.rb#55 - def queue_name?; end - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/queue_name.rb#56 - def queue_name_delimiter; end - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/queue_name.rb#56 - def queue_name_delimiter=(value); end - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/queue_name.rb#56 - def queue_name_delimiter?; end - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/queue_name.rb#57 - def queue_name_prefix; end - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/queue_name.rb#57 - def queue_name_prefix=(value); end - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/queue_name.rb#57 - def queue_name_prefix?; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/rescuable.rb#15 - def rescue_handlers; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/rescuable.rb#15 - def rescue_handlers=(value); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/rescuable.rb#15 - def rescue_handlers?; end - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/exceptions.rb#11 - def retry_jitter; end - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/exceptions.rb#11 - def retry_jitter=(value); end - end -end - -# source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/callbacks.rb#21 -module ActiveJob::Callbacks - extend ::ActiveSupport::Concern - extend ::ActiveSupport::Callbacks -end - -# source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/callbacks.rb#37 -module ActiveJob::Callbacks::ClassMethods - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/callbacks.rb#143 - def after_enqueue(*filters, &blk); end - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/callbacks.rb#72 - def after_perform(*filters, &blk); end - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/callbacks.rb#164 - def around_enqueue(*filters, &blk); end - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/callbacks.rb#105 - def around_perform(*filters, &blk); end - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/callbacks.rb#124 - def before_enqueue(*filters, &blk); end - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/callbacks.rb#53 - def before_perform(*filters, &blk); end -end - -# source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/core.rb#8 -module ActiveJob::Core - extend ::ActiveSupport::Concern -end - -# source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/core.rb#62 -module ActiveJob::Core::ClassMethods - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/core.rb#64 - def deserialize(job_data); end - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/core.rb#88 - def set(options = T.unsafe(nil)); end -end - -# source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/enqueuing.rb#42 -module ActiveJob::Enqueuing - extend ::ActiveSupport::Concern -end - -# source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/enqueuing.rb#46 -module ActiveJob::Enqueuing::ClassMethods - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/enqueuing.rb#58 - def perform_later(*_arg0, **_arg1, &_arg2); end - - private - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/enqueuing.rb#68 - def job_or_instantiate(*args, **_arg1); end -end - -# source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/exceptions.rb#7 -module ActiveJob::Exceptions - extend ::ActiveSupport::Concern -end - -# source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/exceptions.rb#15 -module ActiveJob::Exceptions::ClassMethods - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/exceptions.rb#130 - def after_discard(&blk); end - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/exceptions.rb#109 - def discard_on(*exceptions); end - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/exceptions.rb#62 - def retry_on(*exceptions, wait: T.unsafe(nil), attempts: T.unsafe(nil), queue: T.unsafe(nil), priority: T.unsafe(nil), jitter: T.unsafe(nil)); end -end - -# source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/execution.rb#13 -module ActiveJob::Execution - extend ::ActiveSupport::Concern -end - -# source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/execution.rb#18 -module ActiveJob::Execution::ClassMethods - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/execution.rb#27 - def execute(job_data); end - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/execution.rb#23 - def perform_now(*_arg0, **_arg1, &_arg2); end -end - -# source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/instrumentation.rb#16 -module ActiveJob::Instrumentation - extend ::ActiveSupport::Concern -end - -# source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/logging.rb#7 -module ActiveJob::Logging - extend ::ActiveSupport::Concern -end - -# source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/queue_adapter.rb#19 -module ActiveJob::QueueAdapter - extend ::ActiveSupport::Concern -end - -# source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/queue_adapter.rb#32 -module ActiveJob::QueueAdapter::ClassMethods - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/queue_adapter.rb#35 - def queue_adapter; end - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/queue_adapter.rb#48 - def queue_adapter=(name_or_adapter); end - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/queue_adapter.rb#41 - def queue_adapter_name; end - - private - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/queue_adapter.rb#64 - def assign_adapter(adapter_name, queue_adapter); end - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/queue_adapter.rb#71 - def queue_adapter?(object); end -end - -# source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/queue_adapter.rb#69 -ActiveJob::QueueAdapter::ClassMethods::QUEUE_ADAPTER_METHODS = T.let(T.unsafe(nil), Array) - -# source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/queue_adapters.rb#114 -module ActiveJob::QueueAdapters - extend ::ActiveSupport::Autoload -end - -# source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/queue_name.rb#4 -module ActiveJob::QueueName - extend ::ActiveSupport::Concern -end - -# source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/queue_name.rb#8 -module ActiveJob::QueueName::ClassMethods - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/queue_name.rb#9 - def default_queue_name; end - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/queue_name.rb#9 - def default_queue_name=(val); end - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/queue_name.rb#39 - def queue_as(part_name = T.unsafe(nil), &block); end - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/queue_name.rb#47 - def queue_name_from_part(part_name); end - - class << self - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/queue_name.rb#9 - def default_queue_name; end - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/queue_name.rb#9 - def default_queue_name=(val); end - end -end - -# source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/queue_priority.rb#4 -module ActiveJob::QueuePriority - extend ::ActiveSupport::Concern -end - -# source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/queue_priority.rb#8 -module ActiveJob::QueuePriority::ClassMethods - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/queue_priority.rb#9 - def default_priority; end - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/queue_priority.rb#9 - def default_priority=(val); end - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/queue_priority.rb#39 - def queue_with_priority(priority = T.unsafe(nil), &block); end - - class << self - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/queue_priority.rb#9 - def default_priority; end - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/queue_priority.rb#9 - def default_priority=(val); end - end -end - -# source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/serializers.rb#10 -module ActiveJob::Serializers - extend ::ActiveSupport::Autoload -end - -# source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/test_case.rb#6 -class ActiveJob::TestCase < ::ActiveSupport::TestCase - include ::ActiveJob::TestHelper -end - -# source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/test_helper.rb#8 -module ActiveJob::TestHelper - include ::ActiveSupport::Testing::Assertions - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/test_helper.rb#51 - def after_teardown; end - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/test_helper.rb#123 - def assert_enqueued_jobs(number, only: T.unsafe(nil), except: T.unsafe(nil), queue: T.unsafe(nil), &block); end - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/test_helper.rb#399 - def assert_enqueued_with(job: T.unsafe(nil), args: T.unsafe(nil), at: T.unsafe(nil), queue: T.unsafe(nil), priority: T.unsafe(nil), &block); end - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/test_helper.rb#185 - def assert_no_enqueued_jobs(only: T.unsafe(nil), except: T.unsafe(nil), queue: T.unsafe(nil), &block); end - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/test_helper.rb#343 - def assert_no_performed_jobs(only: T.unsafe(nil), except: T.unsafe(nil), queue: T.unsafe(nil), &block); end - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/test_helper.rb#275 - def assert_performed_jobs(number, only: T.unsafe(nil), except: T.unsafe(nil), queue: T.unsafe(nil), &block); end - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/test_helper.rb#501 - def assert_performed_with(job: T.unsafe(nil), args: T.unsafe(nil), at: T.unsafe(nil), queue: T.unsafe(nil), priority: T.unsafe(nil), &block); end - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/test_helper.rb#39 - def before_setup; end - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/test_helper.rb#9 - def enqueued_jobs(*_arg0, **_arg1, &_arg2); end - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/test_helper.rb#9 - def enqueued_jobs=(arg); end - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/test_helper.rb#608 - def perform_enqueued_jobs(only: T.unsafe(nil), except: T.unsafe(nil), queue: T.unsafe(nil), at: T.unsafe(nil), &block); end - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/test_helper.rb#9 - def performed_jobs(*_arg0, **_arg1, &_arg2); end - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/test_helper.rb#9 - def performed_jobs=(arg); end - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/test_helper.rb#646 - def queue_adapter; end - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/test_helper.rb#66 - def queue_adapter_for_test; end - - private - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/test_helper.rb#655 - def clear_enqueued_jobs; end - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/test_helper.rb#659 - def clear_performed_jobs; end - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/test_helper.rb#724 - def deserialize_args_for_assertion(job); end - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/test_helper.rb#695 - def enqueued_jobs_with(only: T.unsafe(nil), except: T.unsafe(nil), queue: T.unsafe(nil), at: T.unsafe(nil), &block); end - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/test_helper.rb#689 - def filter_as_proc(filter); end - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/test_helper.rb#703 - def flush_enqueued_jobs(only: T.unsafe(nil), except: T.unsafe(nil), queue: T.unsafe(nil), at: T.unsafe(nil)); end - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/test_helper.rb#731 - def instantiate_job(payload, skip_deserialize_arguments: T.unsafe(nil)); end - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/test_helper.rb#663 - def jobs_with(jobs, only: T.unsafe(nil), except: T.unsafe(nil), queue: T.unsafe(nil), at: T.unsafe(nil)); end - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/test_helper.rb#699 - def performed_jobs_with(only: T.unsafe(nil), except: T.unsafe(nil), queue: T.unsafe(nil), &block); end - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/test_helper.rb#711 - def prepare_args_for_assertion(args); end - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/test_helper.rb#738 - def queue_adapter_changed_jobs; end - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/test_helper.rb#651 - def using_test_adapter?; end - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/test_helper.rb#745 - def validate_option(only: T.unsafe(nil), except: T.unsafe(nil)); end -end - -# source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/test_helper.rb#15 -module ActiveJob::TestHelper::TestQueueAdapter - extend ::ActiveSupport::Concern -end - -# source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/test_helper.rb#22 -module ActiveJob::TestHelper::TestQueueAdapter::ClassMethods - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/test_helper.rb#27 - def disable_test_adapter; end - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/test_helper.rb#31 - def enable_test_adapter(test_adapter); end - - # source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/test_helper.rb#23 - def queue_adapter; end -end - -# source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/timezones.rb#4 -module ActiveJob::Timezones - extend ::ActiveSupport::Concern -end - -# source://activejob/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_job/translation.rb#4 -module ActiveJob::Translation - extend ::ActiveSupport::Concern -end - -# source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/gem_version.rb#3 -module ActiveModel - extend ::ActiveSupport::Autoload -end - -# source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/api.rb#59 -module ActiveModel::API - include ::ActiveModel::ForbiddenAttributesProtection - include ::ActiveModel::AttributeAssignment - extend ::ActiveSupport::Concern -end - -# source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/access.rb#7 -module ActiveModel::Access - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/access.rb#8 - def slice(*methods); end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/access.rb#12 - def values_at(*methods); end -end - -# source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/attribute_assignment.rb#6 -module ActiveModel::AttributeAssignment - include ::ActiveModel::ForbiddenAttributesProtection - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/attribute_assignment.rb#28 - def assign_attributes(new_attributes); end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/attribute_assignment.rb#28 - def attributes=(new_attributes); end - - private - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/attribute_assignment.rb#46 - def _assign_attribute(k, v); end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/attribute_assignment.rb#40 - def _assign_attributes(attributes); end -end - -# source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/attribute_methods.rb#64 -module ActiveModel::AttributeMethods - extend ::ActiveSupport::Concern -end - -# source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/attribute_methods.rb#76 -module ActiveModel::AttributeMethods::ClassMethods - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/attribute_methods.rb#204 - def alias_attribute(new_name, old_name); end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/attribute_methods.rb#224 - def alias_attribute_method_definition(code_generator, pattern, new_name, old_name); end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/attribute_methods.rb#375 - def aliases_by_attribute_name; end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/attribute_methods.rb#258 - def attribute_alias(name); end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/attribute_methods.rb#253 - def attribute_alias?(new_name); end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/attribute_methods.rb#176 - def attribute_method_affix(*affixes); end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/attribute_methods.rb#107 - def attribute_method_prefix(*prefixes, parameters: T.unsafe(nil)); end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/attribute_methods.rb#141 - def attribute_method_suffix(*suffixes, parameters: T.unsafe(nil)); end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/attribute_methods.rb#324 - def define_attribute_method(attr_name, _owner: T.unsafe(nil)); end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/attribute_methods.rb#285 - def define_attribute_methods(*attr_names); end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/attribute_methods.rb#212 - def eagerly_generate_alias_attribute_methods(new_name, old_name); end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/attribute_methods.rb#218 - def generate_alias_attribute_methods(code_generator, new_name, old_name); end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/attribute_methods.rb#368 - def undefine_attribute_methods; end - - private - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/attribute_methods.rb#408 - def attribute_method_patterns_cache; end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/attribute_methods.rb#412 - def attribute_method_patterns_matching(method_name); end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/attribute_methods.rb#421 - def define_proxy_call(code_generator, name, proxy_target, parameters, *call_args, namespace:); end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/attribute_methods.rb#391 - def generated_attribute_methods; end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/attribute_methods.rb#380 - def inherited(base); end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/attribute_methods.rb#395 - def instance_method_already_implemented?(method_name); end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/attribute_methods.rb#387 - def resolve_attribute_name(name); end -end - -# source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/attribute_methods.rb#448 -class ActiveModel::AttributeMethods::ClassMethods::AttributeMethodPattern - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/attribute_methods.rb#453 - def initialize(prefix: T.unsafe(nil), suffix: T.unsafe(nil), parameters: T.unsafe(nil)); end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/attribute_methods.rb#462 - def match(method_name); end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/attribute_methods.rb#468 - def method_name(attr_name); end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/attribute_methods.rb#449 - def parameters; end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/attribute_methods.rb#449 - def prefix; end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/attribute_methods.rb#449 - def proxy_target; end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/attribute_methods.rb#449 - def suffix; end -end - -# source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/attribute_methods.rb#451 -class ActiveModel::AttributeMethods::ClassMethods::AttributeMethodPattern::AttributeMethod < ::Struct - def attr_name; end - def attr_name=(_); end - def proxy_target; end - def proxy_target=(_); end - - class << self - def [](*_arg0); end - def inspect; end - def keyword_init?; end - def members; end - def new(*_arg0); end - end -end - -# source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/attribute_registration.rb#8 -module ActiveModel::AttributeRegistration - extend ::ActiveSupport::Concern -end - -# source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/attributes.rb#30 -module ActiveModel::Attributes - extend ::ActiveSupport::Concern -end - -# source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/callbacks.rb#65 -module ActiveModel::Callbacks - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/callbacks.rb#109 - def define_model_callbacks(*callbacks); end - - private - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/callbacks.rb#143 - def _define_after_model_callback(klass, callback); end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/callbacks.rb#136 - def _define_around_model_callback(klass, callback); end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/callbacks.rb#129 - def _define_before_model_callback(klass, callback); end - - class << self - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/callbacks.rb#66 - def extended(base); end - end -end - -# source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/conversion.rb#24 -module ActiveModel::Conversion - extend ::ActiveSupport::Concern -end - -# source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/conversion.rb#107 -module ActiveModel::Conversion::ClassMethods - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/conversion.rb#110 - def _to_partial_path; end -end - -# source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/dirty.rb#123 -module ActiveModel::Dirty - extend ::ActiveSupport::Concern -end - -# source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/forbidden_attributes_protection.rb#21 -module ActiveModel::ForbiddenAttributesProtection - private - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/forbidden_attributes_protection.rb#23 - def sanitize_for_mass_assignment(attributes); end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/forbidden_attributes_protection.rb#23 - def sanitize_forbidden_attributes(attributes); end -end - -# source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/model.rb#42 -module ActiveModel::Model - include ::ActiveModel::Access - extend ::ActiveSupport::Concern -end - -# source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/naming.rb#252 -module ActiveModel::Naming - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/naming.rb#270 - def model_name; end - - private - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/naming.rb#352 - def inherited(base); end - - class << self - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/naming.rb#253 - def extended(base); end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/naming.rb#338 - def param_key(record_or_class); end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/naming.rb#283 - def plural(record_or_class); end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/naming.rb#326 - def route_key(record_or_class); end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/naming.rb#291 - def singular(record_or_class); end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/naming.rb#311 - def singular_route_key(record_or_class); end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/naming.rb#299 - def uncountable?(record_or_class); end - - private - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/naming.rb#342 - def model_name_from_record_or_class(record_or_class); end - end -end - -# source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/secure_password.rb#4 -module ActiveModel::SecurePassword - extend ::ActiveSupport::Concern -end - -# source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/secure_password.rb#17 -module ActiveModel::SecurePassword::ClassMethods - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/secure_password.rb#101 - def has_secure_password(attribute = T.unsafe(nil), validations: T.unsafe(nil)); end -end - -# source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/serialization.rb#69 -module ActiveModel::Serialization - def read_attribute_for_serialization(*_arg0); end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/serialization.rb#125 - def serializable_hash(options = T.unsafe(nil)); end - - private - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/serialization.rb#152 - def attribute_names_for_serialization; end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/serialization.rb#184 - def serializable_add_includes(options = T.unsafe(nil)); end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/serialization.rb#174 - def serializable_attributes(attribute_names); end -end - -# source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model.rb#68 -module ActiveModel::Serializers - extend ::ActiveSupport::Autoload -end - -# source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/serializers/json.rb#8 -module ActiveModel::Serializers::JSON - include ::ActiveModel::Serialization - extend ::ActiveSupport::Concern -end - -# source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/translation.rb#22 -module ActiveModel::Translation - include ::ActiveModel::Naming - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/translation.rb#46 - def human_attribute_name(attribute, options = T.unsafe(nil)); end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/translation.rb#26 - def i18n_scope; end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/translation.rb#34 - def lookup_ancestors; end -end - -# source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/translation.rb#38 -ActiveModel::Translation::MISSING_TRANSLATION = T.let(T.unsafe(nil), Integer) - -# source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/type/serialize_cast_value.rb#5 -module ActiveModel::Type::SerializeCastValue - extend ::ActiveSupport::Concern -end - -# source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/type/serialize_cast_value.rb#8 -module ActiveModel::Type::SerializeCastValue::ClassMethods - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/type/serialize_cast_value.rb#9 - def serialize_cast_value_compatible?; end -end - -# source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/type/serialize_cast_value.rb#15 -module ActiveModel::Type::SerializeCastValue::DefaultImplementation - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/type/serialize_cast_value.rb#16 - def serialize_cast_value(value); end -end - -# source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/type/value.rb#9 -class ActiveModel::Type::Value - include ::ActiveModel::Type::SerializeCastValue - include ::ActiveModel::Type::SerializeCastValue::DefaultImplementation - extend ::ActiveModel::Type::SerializeCastValue::ClassMethods - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/type/value.rb#17 - def initialize(precision: T.unsafe(nil), limit: T.unsafe(nil), scale: T.unsafe(nil)); end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/type/value.rb#121 - def ==(other); end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/type/value.rb#144 - def as_json(*_arg0); end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/type/value.rb#133 - def assert_valid_value(_); end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/type/value.rb#77 - def binary?; end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/type/value.rb#57 - def cast(value); end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/type/value.rb#84 - def changed?(old_value, new_value, _new_value_before_type_cast); end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/type/value.rb#105 - def changed_in_place?(raw_old_value, new_value); end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/type/value.rb#43 - def deserialize(value); end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/type/value.rb#121 - def eql?(other); end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/type/value.rb#113 - def force_equality?(_value); end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/type/value.rb#129 - def hash; end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/type/value.rb#11 - def limit; end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/type/value.rb#117 - def map(value); end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/type/value.rb#140 - def mutable?; end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/type/value.rb#11 - def precision; end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/type/value.rb#11 - def scale; end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/type/value.rb#28 - def serializable?(value); end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/type/value.rb#65 - def serialize(value); end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/type/value.rb#136 - def serialized?; end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/type/value.rb#34 - def type; end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/type/value.rb#71 - def type_cast_for_schema(value); end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/type/value.rb#109 - def value_constructed_by_mass_assignment?(_value); end - - private - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/type/value.rb#152 - def cast_value(value); end -end - -# source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/validations.rb#37 -module ActiveModel::Validations - extend ::ActiveSupport::Concern -end - -# source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/validations/callbacks.rb#22 -module ActiveModel::Validations::Callbacks - extend ::ActiveSupport::Concern -end - -# source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/validations/callbacks.rb#32 -module ActiveModel::Validations::Callbacks::ClassMethods - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/validations/callbacks.rb#88 - def after_validation(*args, &block); end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/validations/callbacks.rb#55 - def before_validation(*args, &block); end - - private - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/validations/callbacks.rb#99 - def set_options_for_callback(options); end -end - -# source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/validations.rb#74 -module ActiveModel::Validations::ClassMethods - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/validations.rb#284 - def attribute_method?(attribute); end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/validations.rb#248 - def clear_validators!; end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/validations.rb#289 - def inherited(base); end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/validations.rb#171 - def validate(*args, &block); end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/validations/validates.rb#106 - def validates(*attributes); end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/validations/validates.rb#148 - def validates!(*attributes); end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/validations.rb#104 - def validates_each(*attr_names, &block); end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/validations/with.rb#88 - def validates_with(*args, &block); end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/validations.rb#206 - def validators; end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/validations.rb#268 - def validators_on(*attributes); end - - private - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/validations/validates.rb#161 - def _parse_validates_options(options); end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/validations/validates.rb#157 - def _validates_default_keys; end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/validations.rb#298 - def predicate_for_validation_context(context); end -end - -# source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/validations.rb#108 -ActiveModel::Validations::ClassMethods::VALID_OPTIONS_FOR_VALIDATE = T.let(T.unsafe(nil), Array) - -# source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/validations/absence.rb#12 -module ActiveModel::Validations::HelperMethods - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/validations/absence.rb#28 - def validates_absence_of(*attr_names); end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/validations/acceptance.rb#108 - def validates_acceptance_of(*attr_names); end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/validations/comparison.rb#85 - def validates_comparison_of(*attr_names); end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/validations/confirmation.rb#75 - def validates_confirmation_of(*attr_names); end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/validations/exclusion.rb#44 - def validates_exclusion_of(*attr_names); end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/validations/format.rb#107 - def validates_format_of(*attr_names); end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/validations/inclusion.rb#42 - def validates_inclusion_of(*attr_names); end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/validations/length.rb#123 - def validates_length_of(*attr_names); end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/validations/numericality.rb#217 - def validates_numericality_of(*attr_names); end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/validations/presence.rb#34 - def validates_presence_of(*attr_names); end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/validations/length.rb#123 - def validates_size_of(*attr_names); end - - private - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/validations/helper_methods.rb#7 - def _merge_attributes(attr_names); end -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/gem_version.rb#3 -module ActiveRecord - include ::ActiveSupport::Deprecation::DeprecatedConstantAccessor - extend ::ActiveSupport::Autoload -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/aggregations.rb#183 -module ActiveRecord::Aggregations::ClassMethods - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/aggregations.rb#225 - def composed_of(part_id, options = T.unsafe(nil)); end - - private - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/aggregations.rb#248 - def reader_method(name, class_name, mapping, allow_nil, constructor); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/aggregations.rb#261 - def writer_method(name, class_name, mapping, allow_nil, converter); end -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/associations.rb#267 -module ActiveRecord::Associations - extend ::ActiveSupport::Autoload - extend ::ActiveSupport::Concern -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/associations.rb#1272 -module ActiveRecord::Associations::ClassMethods - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/associations.rb#1886 - def belongs_to(name, scope = T.unsafe(nil), **options); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/associations.rb#2067 - def has_and_belongs_to_many(name, scope = T.unsafe(nil), **options, &extension); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/associations.rb#1522 - def has_many(name, scope = T.unsafe(nil), **options, &extension); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/associations.rb#1708 - def has_one(name, scope = T.unsafe(nil), **options); end -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/associations/join_dependency.rb#5 -class ActiveRecord::Associations::JoinDependency - extend ::ActiveSupport::Autoload -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/associations/preloader.rb#46 -class ActiveRecord::Associations::Preloader - extend ::ActiveSupport::Autoload -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_assignment.rb#4 -module ActiveRecord::AttributeAssignment - include ::ActiveModel::ForbiddenAttributesProtection - include ::ActiveModel::AttributeAssignment - - private - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_assignment.rb#8 - def _assign_attributes(attributes); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_assignment.rb#38 - def assign_multiparameter_attributes(pairs); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_assignment.rb#28 - def assign_nested_parameter_attributes(pairs); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_assignment.rb#44 - def execute_callstack_for_multiparameter_attributes(callstack); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_assignment.rb#62 - def extract_callstack_for_multiparameter_attributes(pairs); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_assignment.rb#80 - def find_parameter_position(multiparameter_name); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_assignment.rb#76 - def type_cast_attribute_value(multiparameter_name, value); end -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_methods.rb#8 -module ActiveRecord::AttributeMethods - extend ::ActiveSupport::Concern - extend ::ActiveSupport::Autoload -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_methods/before_type_cast.rb#28 -module ActiveRecord::AttributeMethods::BeforeTypeCast - extend ::ActiveSupport::Concern -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_methods.rb#42 -module ActiveRecord::AttributeMethods::ClassMethods - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_methods.rb#255 - def _has_attribute?(attr_name); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_methods.rb#53 - def alias_attribute(new_name, old_name); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_methods.rb#85 - def alias_attribute_method_definition(code_generator, pattern, new_name, old_name); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_methods.rb#219 - def attribute_method?(attribute); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_methods.rb#231 - def attribute_names; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_methods.rb#178 - def dangerous_attribute_method?(name); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_methods.rb#196 - def dangerous_class_method?(method_name); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_methods.rb#126 - def define_attribute_methods; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_methods.rb#63 - def eagerly_generate_alias_attribute_methods(_new_name, _old_name); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_methods.rb#67 - def generate_alias_attributes; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_methods.rb#249 - def has_attribute?(attr_name); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_methods.rb#43 - def initialize_generated_modules; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_methods.rb#160 - def instance_method_already_implemented?(method_name); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_methods.rb#182 - def method_defined_within?(name, klass, superklass = T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_methods.rb#138 - def undefine_attribute_methods; end - - private - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_methods.rb#260 - def inherited(child_class); end -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_methods/dirty.rb#39 -module ActiveRecord::AttributeMethods::Dirty - extend ::ActiveSupport::Concern -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_methods/primary_key.rb#8 -module ActiveRecord::AttributeMethods::PrimaryKey - extend ::ActiveSupport::Concern -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_methods/primary_key.rb#96 -module ActiveRecord::AttributeMethods::PrimaryKey::ClassMethods - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_methods/primary_key.rb#118 - def composite_primary_key?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_methods/primary_key.rb#104 - def dangerous_attribute_method?(method_name); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_methods/primary_key.rb#136 - def get_primary_key(base_name); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_methods/primary_key.rb#100 - def instance_method_already_implemented?(method_name); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_methods/primary_key.rb#111 - def primary_key; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_methods/primary_key.rb#165 - def primary_key=(value); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_methods/primary_key.rb#124 - def quoted_primary_key; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_methods/primary_key.rb#128 - def reset_primary_key; end - - private - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_methods/primary_key.rb#172 - def derive_primary_key(value); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_methods/primary_key.rb#180 - def inherited(base); end -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_methods/primary_key.rb#97 -ActiveRecord::AttributeMethods::PrimaryKey::ClassMethods::ID_ATTRIBUTE_METHODS = T.let(T.unsafe(nil), Set) - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_methods/primary_key.rb#98 -ActiveRecord::AttributeMethods::PrimaryKey::ClassMethods::PRIMARY_KEY_NOT_SET = T.let(T.unsafe(nil), BasicObject) - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_methods/query.rb#6 -module ActiveRecord::AttributeMethods::Query - extend ::ActiveSupport::Concern -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_methods/read.rb#6 -module ActiveRecord::AttributeMethods::Read - extend ::ActiveSupport::Concern -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_methods/read.rb#9 -module ActiveRecord::AttributeMethods::Read::ClassMethods - private - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_methods/read.rb#11 - def define_method_attribute(name, owner:); end -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_methods/serialization.rb#6 -module ActiveRecord::AttributeMethods::Serialization - extend ::ActiveSupport::Concern -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_methods/serialization.rb#23 -module ActiveRecord::AttributeMethods::Serialization::ClassMethods - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_methods/serialization.rb#183 - def serialize(attr_name, class_name_or_coder = T.unsafe(nil), coder: T.unsafe(nil), type: T.unsafe(nil), yaml: T.unsafe(nil), **options); end - - private - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_methods/serialization.rb#228 - def build_column_serializer(attr_name, coder, type, yaml = T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_methods/serialization.rb#245 - def type_incompatible_with_serialize?(cast_type, coder, type); end -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_methods/time_zone_conversion.rb#7 -module ActiveRecord::AttributeMethods::TimeZoneConversion - extend ::ActiveSupport::Concern -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_methods/time_zone_conversion.rb#71 -module ActiveRecord::AttributeMethods::TimeZoneConversion::ClassMethods - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_methods/time_zone_conversion.rb#72 - def define_attribute(name, cast_type, **_arg2); end - - private - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_methods/time_zone_conversion.rb#80 - def create_time_zone_conversion_attribute?(name, cast_type); end -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_methods/write.rb#6 -module ActiveRecord::AttributeMethods::Write - extend ::ActiveSupport::Concern -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_methods/write.rb#13 -module ActiveRecord::AttributeMethods::Write::ClassMethods - private - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_methods/write.rb#15 - def define_method_attribute=(name, owner:); end -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attributes.rb#7 -module ActiveRecord::Attributes - extend ::ActiveSupport::Concern -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attributes.rb#14 -module ActiveRecord::Attributes::ClassMethods - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attributes.rb#208 - def attribute(name, cast_type = T.unsafe(nil), default: T.unsafe(nil), **options); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attributes.rb#253 - def define_attribute(name, cast_type, default: T.unsafe(nil), user_provided_default: T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attributes.rb#263 - def load_schema!; end - - private - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attributes.rb#275 - def define_default_attribute(name, value, type, from_user:); end -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/autosave_association.rb#138 -module ActiveRecord::AutosaveAssociation - extend ::ActiveSupport::Concern -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/autosave_association.rb#155 -module ActiveRecord::AutosaveAssociation::ClassMethods - private - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/autosave_association.rb#187 - def add_autosave_association_callbacks(reflection); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/autosave_association.rb#217 - def define_autosave_validation_callbacks(reflection); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/autosave_association.rb#157 - def define_non_cyclic_method(name, &block); end -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/base.rb#282 -class ActiveRecord::Base - include ::ActionText::Encryption - include ::ActiveModel::Access - include ::ActiveRecord::Core - include ::ActiveRecord::Persistence - include ::ActiveRecord::ReadonlyAttributes - include ::ActiveRecord::ModelSchema - include ::ActiveRecord::Inheritance - include ::ActiveRecord::Scoping - include ::ActiveRecord::Scoping::Default - include ::ActiveRecord::Scoping::Named - include ::ActiveRecord::Sanitization - include ::ActiveModel::ForbiddenAttributesProtection - include ::ActiveModel::AttributeAssignment - include ::ActiveRecord::AttributeAssignment - include ::ActiveModel::Conversion - include ::ActiveRecord::Integration - include ::ActiveModel::Validations - include ::ActiveSupport::Callbacks - include ::ActiveModel::Validations::HelperMethods - include ::ActiveRecord::Validations - include ::ActiveRecord::CounterCache - include ::ActiveRecord::Attributes - include ::ActiveRecord::Locking::Optimistic - include ::ActiveRecord::Locking::Pessimistic - include ::ActiveRecord::Encryption::EncryptableRecord - include ::ActiveModel::AttributeMethods - include ::ActiveRecord::AttributeMethods - include ::ActiveRecord::Base::GeneratedAttributeMethods - include ::ActiveRecord::Base::GeneratedAssociationMethods - include ::ActiveRecord::AttributeMethods::Read - include ::ActiveRecord::AttributeMethods::Write - include ::ActiveRecord::AttributeMethods::BeforeTypeCast - include ::ActiveRecord::AttributeMethods::Query - include ::ActiveRecord::AttributeMethods::PrimaryKey - include ::ActiveRecord::AttributeMethods::TimeZoneConversion - include ::ActiveModel::Dirty - include ::ActiveRecord::AttributeMethods::Dirty - include ::ActiveRecord::AttributeMethods::Serialization - include ::ActiveRecord::Callbacks - include ::ActiveModel::Validations::Callbacks - include ::ActiveRecord::Timestamp - include ::ActiveRecord::Associations - include ::ActiveModel::SecurePassword - include ::ActiveRecord::SecurePassword - include ::ActiveRecord::AutosaveAssociation - include ::ActiveRecord::NestedAttributes - include ::ActiveRecord::Transactions - include ::ActiveRecord::TouchLater - include ::ActiveRecord::NoTouching - include ::ActiveRecord::Reflection - include ::ActiveModel::Serialization - include ::ActiveModel::Serializers::JSON - include ::ActiveRecord::Serialization - include ::ActiveRecord::Store - include ::ActiveRecord::SecureToken - include ::ActiveRecord::TokenFor - include ::ActiveRecord::SignedId - include ::ActiveRecord::Suppressor - include ::ActiveRecord::Normalization - include ::ActiveRecord::Marshalling::Methods - include ::ActiveStorage::Attached::Model - include ::ActiveStorage::Reflection::ActiveRecordExtensions - include ::ActionText::Attribute - extend ::ActiveModel::Naming - extend ::ActiveSupport::Benchmarkable - extend ::ActiveSupport::DescendantsTracker - extend ::ActiveRecord::ConnectionHandling - extend ::ActiveRecord::QueryCache::ClassMethods - extend ::ActiveRecord::Querying - extend ::ActiveModel::Translation - extend ::ActiveRecord::Translation - extend ::ActiveRecord::DynamicMatchers - extend ::ActiveRecord::DelegatedType - extend ::ActiveRecord::Explain - extend ::ActiveRecord::Enum - extend ::ActiveRecord::Delegation::DelegateCache - extend ::ActiveRecord::Aggregations::ClassMethods - extend ::ActiveRecord::Core::ClassMethods - extend ::ActiveRecord::Persistence::ClassMethods - extend ::ActiveRecord::ReadonlyAttributes::ClassMethods - extend ::ActiveRecord::ModelSchema::ClassMethods - extend ::ActiveRecord::Inheritance::ClassMethods - extend ::ActiveRecord::Scoping::ClassMethods - extend ::ActiveRecord::Scoping::Default::ClassMethods - extend ::ActiveRecord::Scoping::Named::ClassMethods - extend ::ActiveRecord::Sanitization::ClassMethods - extend ::ActiveModel::Conversion::ClassMethods - extend ::ActiveRecord::Integration::ClassMethods - extend ::ActiveModel::Validations::ClassMethods - extend ::ActiveModel::Callbacks - extend ::ActiveSupport::Callbacks::ClassMethods - extend ::ActiveModel::Validations::HelperMethods - extend ::ActiveRecord::Validations::ClassMethods - extend ::ActiveRecord::CounterCache::ClassMethods - extend ::ActiveRecord::Attributes::ClassMethods - extend ::ActiveRecord::Locking::Optimistic::ClassMethods - extend ::ActiveRecord::Encryption::EncryptableRecord::ClassMethods - extend ::ActiveModel::AttributeMethods::ClassMethods - extend ::ActiveRecord::AttributeMethods::ClassMethods - extend ::ActiveRecord::AttributeMethods::Read::ClassMethods - extend ::ActiveRecord::AttributeMethods::Write::ClassMethods - extend ::ActiveRecord::AttributeMethods::PrimaryKey::ClassMethods - extend ::ActiveRecord::AttributeMethods::TimeZoneConversion::ClassMethods - extend ::ActiveRecord::AttributeMethods::Serialization::ClassMethods - extend ::ActiveRecord::Callbacks::ClassMethods - extend ::ActiveModel::Validations::Callbacks::ClassMethods - extend ::ActiveRecord::Timestamp::ClassMethods - extend ::ActiveRecord::Associations::ClassMethods - extend ::ActiveModel::SecurePassword::ClassMethods - extend ::ActiveRecord::SecurePassword::ClassMethods - extend ::ActiveRecord::AutosaveAssociation::ClassMethods - extend ::ActiveRecord::NestedAttributes::ClassMethods - extend ::ActiveRecord::Transactions::ClassMethods - extend ::ActiveRecord::NoTouching::ClassMethods - extend ::ActiveRecord::Reflection::ClassMethods - extend ::ActiveRecord::Store::ClassMethods - extend ::ActiveRecord::SecureToken::ClassMethods - extend ::ActiveRecord::TokenFor::ClassMethods - extend ::ActiveRecord::SignedId::ClassMethods - extend ::ActiveRecord::Suppressor::ClassMethods - extend ::ActiveRecord::Normalization::ClassMethods - extend ::ActiveStorage::Attached::Model::ClassMethods - extend ::ActiveStorage::Reflection::ActiveRecordExtensions::ClassMethods - extend ::ActionText::Attribute::ClassMethods - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#70 - def __callbacks; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#70 - def __callbacks?; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#963 - def _before_commit_callbacks; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#963 - def _commit_callbacks; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#963 - def _create_callbacks; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#963 - def _destroy_callbacks; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#963 - def _find_callbacks; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#963 - def _initialize_callbacks; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/reflection.rb#11 - def _reflections; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/reflection.rb#11 - def _reflections?; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#963 - def _rollback_callbacks; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#951 - def _run_before_commit_callbacks(&block); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#951 - def _run_commit_callbacks(&block); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#951 - def _run_create_callbacks(&block); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#951 - def _run_destroy_callbacks(&block); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#951 - def _run_find_callbacks(&block); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#951 - def _run_initialize_callbacks(&block); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#951 - def _run_rollback_callbacks(&block); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#951 - def _run_save_callbacks(&block); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#951 - def _run_touch_callbacks(&block); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#951 - def _run_update_callbacks(&block); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#951 - def _run_validate_callbacks(&block); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#951 - def _run_validation_callbacks(&block); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#963 - def _save_callbacks; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#963 - def _touch_callbacks; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#963 - def _update_callbacks; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#963 - def _validate_callbacks; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#963 - def _validation_callbacks; end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/validations.rb#71 - def _validators; end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/validations.rb#71 - def _validators?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/reflection.rb#12 - def aggregate_reflections; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/reflection.rb#12 - def aggregate_reflections?; end - - # source://activestorage/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_storage/reflection.rb#53 - def attachment_reflections; end - - # source://activestorage/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_storage/reflection.rb#53 - def attachment_reflections?; end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/attribute_methods.rb#72 - def attribute_aliases; end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/attribute_methods.rb#72 - def attribute_aliases?; end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/attribute_methods.rb#73 - def attribute_method_patterns; end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/attribute_methods.rb#73 - def attribute_method_patterns?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/reflection.rb#13 - def automatic_scope_inversing; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/reflection.rb#13 - def automatic_scope_inversing?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/integration.rb#16 - def cache_timestamp_format; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/integration.rb#16 - def cache_timestamp_format?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/integration.rb#24 - def cache_versioning; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/integration.rb#24 - def cache_versioning?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/integration.rb#32 - def collection_cache_versioning; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/integration.rb#32 - def collection_cache_versioning?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/model_schema.rb#178 - def column_for_attribute(name, &block); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/core.rb#96 - def default_connection_handler; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/core.rb#96 - def default_connection_handler?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/core.rb#98 - def default_role; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/core.rb#98 - def default_role?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/scoping/default.rb#20 - def default_scope_override; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/scoping/default.rb#19 - def default_scopes; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/core.rb#100 - def default_shard; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/core.rb#100 - def default_shard?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/enum.rb#167 - def defined_enums; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/enum.rb#167 - def defined_enums?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/core.rb#46 - def destroy_association_async_batch_size; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/core.rb#36 - def destroy_association_async_job(&block); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/encryption/encryptable_record.rb#11 - def encrypted_attributes; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/encryption/encryptable_record.rb#11 - def encrypted_attributes=(_arg0); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/encryption/encryptable_record.rb#11 - def encrypted_attributes?; end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/serializers/json.rb#15 - def include_root_in_json; end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/serializers/json.rb#15 - def include_root_in_json?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/locking/optimistic.rb#56 - def lock_optimistically; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/locking/optimistic.rb#56 - def lock_optimistically?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/core.rb#21 - def logger; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/core.rb#21 - def logger?; end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/naming.rb#255 - def model_name(&block); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/nested_attributes.rb#15 - def nested_attributes_options; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/nested_attributes.rb#15 - def nested_attributes_options?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/normalization.rb#8 - def normalized_attributes; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/normalization.rb#8 - def normalized_attributes=(_arg0); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/normalization.rb#8 - def normalized_attributes?; end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/conversion.rb#32 - def param_delimiter=(_arg0); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_methods/dirty.rb#50 - def partial_inserts; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_methods/dirty.rb#50 - def partial_inserts?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_methods/dirty.rb#49 - def partial_updates; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_methods/dirty.rb#49 - def partial_updates?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/model_schema.rb#163 - def pluralize_table_names; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/model_schema.rb#163 - def pluralize_table_names?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/model_schema.rb#158 - def primary_key_prefix_type; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/model_schema.rb#158 - def primary_key_prefix_type?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/timestamp.rb#47 - def record_timestamps; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/timestamp.rb#47 - def record_timestamps=(_arg0); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/timestamp.rb#47 - def record_timestamps?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/signed_id.rb#13 - def signed_id_verifier_secret; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/signed_id.rb#13 - def signed_id_verifier_secret?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_methods/time_zone_conversion.rb#67 - def skip_time_zone_conversion_for_attributes; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_methods/time_zone_conversion.rb#67 - def skip_time_zone_conversion_for_attributes?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/inheritance.rb#43 - def store_full_class_name; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/inheritance.rb#43 - def store_full_class_name?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/inheritance.rb#47 - def store_full_sti_class; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/inheritance.rb#47 - def store_full_sti_class?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/model_schema.rb#159 - def table_name_prefix; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/model_schema.rb#159 - def table_name_prefix?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/model_schema.rb#160 - def table_name_suffix; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/model_schema.rb#160 - def table_name_suffix?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_methods/time_zone_conversion.rb#66 - def time_zone_aware_attributes; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_methods/time_zone_conversion.rb#66 - def time_zone_aware_attributes?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_methods/time_zone_conversion.rb#68 - def time_zone_aware_types; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_methods/time_zone_conversion.rb#68 - def time_zone_aware_types?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/model_schema.rb#178 - def type_for_attribute(attr_name, &block); end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/validations.rb#67 - def validation_context; end - - private - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/validations.rb#67 - def validation_context=(_arg0); end - - class << self - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#70 - def __callbacks; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#70 - def __callbacks=(value); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#70 - def __callbacks?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/readonly_attributes.rb#11 - def _attr_readonly; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/readonly_attributes.rb#11 - def _attr_readonly=(value); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/readonly_attributes.rb#11 - def _attr_readonly?; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#955 - def _before_commit_callbacks; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#959 - def _before_commit_callbacks=(value); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#955 - def _commit_callbacks; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#959 - def _commit_callbacks=(value); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/counter_cache.rb#9 - def _counter_cache_columns; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/counter_cache.rb#9 - def _counter_cache_columns=(value); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/counter_cache.rb#9 - def _counter_cache_columns?; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#955 - def _create_callbacks; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#959 - def _create_callbacks=(value); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/core.rb#23 - def _destroy_association_async_job; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/core.rb#23 - def _destroy_association_async_job=(value); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/core.rb#23 - def _destroy_association_async_job?; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#955 - def _destroy_callbacks; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#959 - def _destroy_callbacks=(value); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#955 - def _find_callbacks; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#959 - def _find_callbacks=(value); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#955 - def _initialize_callbacks; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#959 - def _initialize_callbacks=(value); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/reflection.rb#11 - def _reflections; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/reflection.rb#11 - def _reflections=(value); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/reflection.rb#11 - def _reflections?; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#955 - def _rollback_callbacks; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#959 - def _rollback_callbacks=(value); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#955 - def _save_callbacks; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#959 - def _save_callbacks=(value); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#955 - def _touch_callbacks; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#959 - def _touch_callbacks=(value); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#955 - def _update_callbacks; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#959 - def _update_callbacks=(value); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#955 - def _validate_callbacks; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#959 - def _validate_callbacks=(value); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#955 - def _validation_callbacks; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#959 - def _validation_callbacks=(value); end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/validations.rb#71 - def _validators; end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/validations.rb#71 - def _validators=(value); end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/validations.rb#71 - def _validators?; end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/callbacks.rb#144 - def after_create(*args, **options, &block); end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/callbacks.rb#144 - def after_destroy(*args, **options, &block); end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/callbacks.rb#144 - def after_find(*args, **options, &block); end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/callbacks.rb#144 - def after_initialize(*args, **options, &block); end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/callbacks.rb#144 - def after_save(*args, **options, &block); end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/callbacks.rb#144 - def after_touch(*args, **options, &block); end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/callbacks.rb#144 - def after_update(*args, **options, &block); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/reflection.rb#12 - def aggregate_reflections; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/reflection.rb#12 - def aggregate_reflections=(value); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/reflection.rb#12 - def aggregate_reflections?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/core.rb#104 - def application_record_class?; end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/callbacks.rb#137 - def around_create(*args, **options, &block); end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/callbacks.rb#137 - def around_destroy(*args, **options, &block); end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/callbacks.rb#137 - def around_save(*args, **options, &block); end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/callbacks.rb#137 - def around_update(*args, **options, &block); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/core.rb#124 - def asynchronous_queries_session; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/core.rb#128 - def asynchronous_queries_tracker; end - - # source://activestorage/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_storage/reflection.rb#53 - def attachment_reflections; end - - # source://activestorage/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_storage/reflection.rb#53 - def attachment_reflections=(value); end - - # source://activestorage/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_storage/reflection.rb#53 - def attachment_reflections?; end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/attribute_methods.rb#72 - def attribute_aliases; end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/attribute_methods.rb#72 - def attribute_aliases=(value); end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/attribute_methods.rb#72 - def attribute_aliases?; end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/attribute_methods.rb#73 - def attribute_method_patterns; end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/attribute_methods.rb#73 - def attribute_method_patterns=(value); end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/attribute_methods.rb#73 - def attribute_method_patterns?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attributes.rb#11 - def attributes_to_define_after_schema_loads; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attributes.rb#11 - def attributes_to_define_after_schema_loads=(value); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attributes.rb#11 - def attributes_to_define_after_schema_loads?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/reflection.rb#13 - def automatic_scope_inversing; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/reflection.rb#13 - def automatic_scope_inversing=(value); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/reflection.rb#13 - def automatic_scope_inversing?; end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/callbacks.rb#130 - def before_create(*args, **options, &block); end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/callbacks.rb#130 - def before_destroy(*args, **options, &block); end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/callbacks.rb#130 - def before_save(*args, **options, &block); end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/callbacks.rb#130 - def before_update(*args, **options, &block); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/core.rb#88 - def belongs_to_required_by_default; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/core.rb#88 - def belongs_to_required_by_default=(value); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/core.rb#88 - def belongs_to_required_by_default?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/integration.rb#16 - def cache_timestamp_format; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/integration.rb#16 - def cache_timestamp_format=(value); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/integration.rb#16 - def cache_timestamp_format?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/integration.rb#24 - def cache_versioning; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/integration.rb#24 - def cache_versioning=(value); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/integration.rb#24 - def cache_versioning?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/integration.rb#32 - def collection_cache_versioning; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/integration.rb#32 - def collection_cache_versioning=(value); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/integration.rb#32 - def collection_cache_versioning?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/core.rb#76 - def configurations; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/core.rb#70 - def configurations=(config); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/core.rb#188 - def connected_to_stack; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/core.rb#202 - def connection_class; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/core.rb#198 - def connection_class=(b); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/core.rb#206 - def connection_class?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/core.rb#210 - def connection_class_for_self; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/core.rb#116 - def connection_handler; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/core.rb#120 - def connection_handler=(handler); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/core.rb#179 - def current_preventing_writes; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/core.rb#142 - def current_role; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/core.rb#160 - def current_shard; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_methods/serialization.rb#20 - def default_column_serializer; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_methods/serialization.rb#20 - def default_column_serializer=(value); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_methods/serialization.rb#20 - def default_column_serializer?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/core.rb#96 - def default_connection_handler; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/core.rb#96 - def default_connection_handler=(value); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/core.rb#96 - def default_connection_handler?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/core.rb#98 - def default_role; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/core.rb#98 - def default_role=(value); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/core.rb#98 - def default_role?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/scoping/default.rb#20 - def default_scope_override; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/scoping/default.rb#20 - def default_scope_override=(value); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/scoping/default.rb#19 - def default_scopes; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/scoping/default.rb#19 - def default_scopes=(value); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/core.rb#100 - def default_shard; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/core.rb#100 - def default_shard=(value); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/core.rb#100 - def default_shard?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/enum.rb#167 - def defined_enums; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/enum.rb#167 - def defined_enums=(value); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/enum.rb#167 - def defined_enums?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/core.rb#46 - def destroy_association_async_batch_size; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/core.rb#46 - def destroy_association_async_batch_size=(value); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/core.rb#26 - def destroy_association_async_job; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/core.rb#23 - def destroy_association_async_job=(value); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/encryption/encryptable_record.rb#11 - def encrypted_attributes; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/encryption/encryptable_record.rb#11 - def encrypted_attributes=(value); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/encryption/encryptable_record.rb#11 - def encrypted_attributes?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/core.rb#86 - def enumerate_columns_in_select_statements; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/core.rb#86 - def enumerate_columns_in_select_statements=(value); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/core.rb#86 - def enumerate_columns_in_select_statements?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/token_for.rb#11 - def generated_token_verifier; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/token_for.rb#11 - def generated_token_verifier=(value); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/core.rb#92 - def has_many_inversing; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/core.rb#92 - def has_many_inversing=(value); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/core.rb#92 - def has_many_inversing?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/model_schema.rb#165 - def immutable_strings_by_default; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/model_schema.rb#165 - def immutable_strings_by_default=(value); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/model_schema.rb#165 - def immutable_strings_by_default?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/model_schema.rb#164 - def implicit_order_column; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/model_schema.rb#164 - def implicit_order_column=(value); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/model_schema.rb#164 - def implicit_order_column?; end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/serializers/json.rb#15 - def include_root_in_json; end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/serializers/json.rb#15 - def include_root_in_json=(value); end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/serializers/json.rb#15 - def include_root_in_json?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/model_schema.rb#167 - def inheritance_column; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/model_schema.rb#319 - def inheritance_column=(value); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/model_schema.rb#167 - def inheritance_column?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/model_schema.rb#162 - def internal_metadata_table_name; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/model_schema.rb#162 - def internal_metadata_table_name=(value); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/model_schema.rb#162 - def internal_metadata_table_name?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/store.rb#101 - def local_stored_attributes; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/store.rb#101 - def local_stored_attributes=(_arg0); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/locking/optimistic.rb#56 - def lock_optimistically; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/locking/optimistic.rb#56 - def lock_optimistically=(value); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/locking/optimistic.rb#56 - def lock_optimistically?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/core.rb#21 - def logger; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/core.rb#21 - def logger=(value); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/core.rb#21 - def logger?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/nested_attributes.rb#15 - def nested_attributes_options; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/nested_attributes.rb#15 - def nested_attributes_options=(value); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/nested_attributes.rb#15 - def nested_attributes_options?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/normalization.rb#8 - def normalized_attributes; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/normalization.rb#8 - def normalized_attributes=(value); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/normalization.rb#8 - def normalized_attributes?; end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/conversion.rb#32 - def param_delimiter; end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/conversion.rb#32 - def param_delimiter=(value); end - - # source://activemodel/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_model/conversion.rb#32 - def param_delimiter?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_methods/dirty.rb#50 - def partial_inserts; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_methods/dirty.rb#50 - def partial_inserts=(value); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_methods/dirty.rb#50 - def partial_inserts?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_methods/dirty.rb#49 - def partial_updates; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_methods/dirty.rb#49 - def partial_updates=(value); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_methods/dirty.rb#49 - def partial_updates?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/model_schema.rb#163 - def pluralize_table_names; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/model_schema.rb#163 - def pluralize_table_names=(value); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/model_schema.rb#163 - def pluralize_table_names?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/model_schema.rb#158 - def primary_key_prefix_type; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/model_schema.rb#158 - def primary_key_prefix_type=(value); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/model_schema.rb#158 - def primary_key_prefix_type?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/timestamp.rb#47 - def record_timestamps; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/timestamp.rb#47 - def record_timestamps=(value); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/timestamp.rb#47 - def record_timestamps?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/core.rb#94 - def run_commit_callbacks_on_first_saved_instances_in_transaction; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/core.rb#94 - def run_commit_callbacks_on_first_saved_instances_in_transaction=(value); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/core.rb#94 - def run_commit_callbacks_on_first_saved_instances_in_transaction?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/model_schema.rb#161 - def schema_migrations_table_name; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/model_schema.rb#161 - def schema_migrations_table_name=(value); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/model_schema.rb#161 - def schema_migrations_table_name?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/core.rb#102 - def shard_selector; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/core.rb#102 - def shard_selector=(value); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/core.rb#102 - def shard_selector?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/signed_id.rb#13 - def signed_id_verifier_secret; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/signed_id.rb#13 - def signed_id_verifier_secret=(value); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/signed_id.rb#13 - def signed_id_verifier_secret?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_methods/time_zone_conversion.rb#67 - def skip_time_zone_conversion_for_attributes; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_methods/time_zone_conversion.rb#67 - def skip_time_zone_conversion_for_attributes=(value); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_methods/time_zone_conversion.rb#67 - def skip_time_zone_conversion_for_attributes?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/inheritance.rb#43 - def store_full_class_name; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/inheritance.rb#43 - def store_full_class_name=(value); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/inheritance.rb#43 - def store_full_class_name?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/inheritance.rb#47 - def store_full_sti_class; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/inheritance.rb#47 - def store_full_sti_class=(value); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/inheritance.rb#47 - def store_full_sti_class?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/core.rb#90 - def strict_loading_by_default; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/core.rb#90 - def strict_loading_by_default=(value); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/core.rb#90 - def strict_loading_by_default?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/core.rb#225 - def strict_loading_violation!(owner:, reflection:); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/model_schema.rb#159 - def table_name_prefix; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/model_schema.rb#159 - def table_name_prefix=(value); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/model_schema.rb#159 - def table_name_prefix?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/model_schema.rb#160 - def table_name_suffix; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/model_schema.rb#160 - def table_name_suffix=(value); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/model_schema.rb#160 - def table_name_suffix?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_methods/time_zone_conversion.rb#66 - def time_zone_aware_attributes; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_methods/time_zone_conversion.rb#66 - def time_zone_aware_attributes=(value); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_methods/time_zone_conversion.rb#66 - def time_zone_aware_attributes?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_methods/time_zone_conversion.rb#68 - def time_zone_aware_types; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_methods/time_zone_conversion.rb#68 - def time_zone_aware_types=(value); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/attribute_methods/time_zone_conversion.rb#68 - def time_zone_aware_types?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/token_for.rb#10 - def token_definitions; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/token_for.rb#10 - def token_definitions=(value); end - - private - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/model_schema.rb#167 - def _inheritance_column=(value); end - end -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/base.rb#0 -module ActiveRecord::Base::GeneratedAssociationMethods; end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/base.rb#0 -module ActiveRecord::Base::GeneratedAttributeMethods; end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/batches/batch_enumerator.rb#4 -module ActiveRecord::Batches - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/batches.rb#79 - def find_each(start: T.unsafe(nil), finish: T.unsafe(nil), batch_size: T.unsafe(nil), error_on_ignore: T.unsafe(nil), order: T.unsafe(nil), &block); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/batches.rb#148 - def find_in_batches(start: T.unsafe(nil), finish: T.unsafe(nil), batch_size: T.unsafe(nil), error_on_ignore: T.unsafe(nil), order: T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/batches.rb#239 - def in_batches(of: T.unsafe(nil), start: T.unsafe(nil), finish: T.unsafe(nil), load: T.unsafe(nil), error_on_ignore: T.unsafe(nil), order: T.unsafe(nil), use_ranges: T.unsafe(nil), &block); end - - private - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/batches.rb#325 - def act_on_ignored_order(error_on_ignore); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/batches.rb#297 - def apply_finish_limit(relation, finish, batch_orders); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/batches.rb#284 - def apply_limits(relation, start, finish, batch_orders); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/batches.rb#290 - def apply_start_limit(relation, start, batch_orders); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/batches.rb#304 - def batch_condition(relation, columns, values, operators); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/batches.rb#339 - def batch_on_loaded_relation(relation:, start:, finish:, order:, batch_limit:); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/batches.rb#364 - def batch_on_unloaded_relation(relation:, start:, finish:, load:, order:, use_ranges:, remaining:, batch_limit:); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/batches.rb#319 - def build_batch_orders(order); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/batches.rb#335 - def get_the_order_of_primary_key(order); end -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/batches/batch_enumerator.rb#5 -class ActiveRecord::Batches::BatchEnumerator - include ::Enumerable - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/batches/batch_enumerator.rb#8 - def initialize(relation:, of: T.unsafe(nil), start: T.unsafe(nil), finish: T.unsafe(nil), order: T.unsafe(nil), use_ranges: T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/batches/batch_enumerator.rb#27 - def batch_size; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/batches/batch_enumerator.rb#65 - def delete_all; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/batches/batch_enumerator.rb#85 - def destroy_all; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/batches/batch_enumerator.rb#94 - def each(&block); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/batches/batch_enumerator.rb#52 - def each_record(&block); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/batches/batch_enumerator.rb#21 - def finish; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/batches/batch_enumerator.rb#24 - def relation; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/batches/batch_enumerator.rb#18 - def start; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/batches/batch_enumerator.rb#74 - def update_all(updates); end -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/batches.rb#9 -ActiveRecord::Batches::DEFAULT_ORDER = T.let(T.unsafe(nil), Symbol) - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/batches.rb#8 -ActiveRecord::Batches::ORDER_IGNORE_MESSAGE = T.let(T.unsafe(nil), String) - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/calculations.rb#7 -module ActiveRecord::Calculations - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/calculations.rb#110 - def async_average(column_name); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/calculations.rb#97 - def async_count(column_name = T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/calculations.rb#362 - def async_ids; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/calculations.rb#138 - def async_maximum(column_name); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/calculations.rb#124 - def async_minimum(column_name); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/calculations.rb#319 - def async_pick(*column_names); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/calculations.rb#291 - def async_pluck(*column_names); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/calculations.rb#156 - def async_sum(identity_or_column = T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/calculations.rb#105 - def average(column_name); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/calculations.rb#191 - def calculate(operation, column_name); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/calculations.rb#84 - def count(column_name = T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/calculations.rb#327 - def ids; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/calculations.rb#133 - def maximum(column_name); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/calculations.rb#119 - def minimum(column_name); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/calculations.rb#309 - def pick(*column_names); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/calculations.rb#257 - def pluck(*column_names); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/calculations.rb#147 - def sum(initial_value_or_column = T.unsafe(nil), &block); end - - private - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/calculations.rb#406 - def aggregate_column(column_name); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/calculations.rb#367 - def all_attributes?(column_names); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/calculations.rb#591 - def build_count_subquery(relation, column_name, distinct); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/calculations.rb#402 - def distinct_select?(column_name); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/calculations.rb#457 - def execute_grouped_calculation(operation, column_name, distinct); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/calculations.rb#418 - def execute_simple_calculation(operation, column_name, distinct); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/calculations.rb#371 - def has_include?(column_name); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/calculations.rb#539 - def lookup_cast_type_from_join_dependencies(name, join_dependencies = T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/calculations.rb#414 - def operation_over_aggregate_column(column, operation, distinct); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/calculations.rb#375 - def perform_calculation(operation, column_name); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/calculations.rb#582 - def select_for_count; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/calculations.rb#564 - def type_cast_calculated_value(value, operation, type); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/calculations.rb#547 - def type_cast_pluck_values(result, columns); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/calculations.rb#534 - def type_for(field, &block); end -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/calculations.rb#8 -class ActiveRecord::Calculations::ColumnAliasTracker - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/calculations.rb#9 - def initialize(connection); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/calculations.rb#14 - def alias_for(field); end - - private - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/calculations.rb#35 - def column_alias_for(field); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/calculations.rb#44 - def truncate(name); end -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/callbacks.rb#278 -module ActiveRecord::Callbacks - extend ::ActiveSupport::Concern -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/callbacks.rb#288 -module ActiveRecord::Callbacks::ClassMethods - include ::ActiveModel::Callbacks -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters.rb#4 -module ActiveRecord::ConnectionAdapters - extend ::ActiveSupport::Autoload -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract_adapter.rb#31 -class ActiveRecord::ConnectionAdapters::AbstractAdapter - include ::ActiveSupport::Callbacks - include ::ActiveRecord::Migration::JoinTable - include ::ActiveRecord::ConnectionAdapters::SchemaStatements - include ::ActiveRecord::ConnectionAdapters::DatabaseStatements - include ::ActiveRecord::ConnectionAdapters::Quoting - include ::ActiveRecord::ConnectionAdapters::DatabaseLimits - include ::ActiveRecord::ConnectionAdapters::QueryCache - include ::ActiveRecord::ConnectionAdapters::Savepoints - extend ::ActiveSupport::Callbacks::ClassMethods - extend ::ActiveSupport::DescendantsTracker -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/connection_pool.rb#12 -module ActiveRecord::ConnectionAdapters::AbstractPool; end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_definitions.rb#300 -module ActiveRecord::ConnectionAdapters::ColumnMethods - extend ::ActiveSupport::Concern -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/connection_pool/queue.rb#8 -class ActiveRecord::ConnectionAdapters::ConnectionPool - include ::MonitorMixin - include ::ActiveRecord::ConnectionAdapters::QueryCache::ConnectionPoolConfiguration - include ::ActiveRecord::ConnectionAdapters::AbstractPool -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/database_limits.rb#5 -module ActiveRecord::ConnectionAdapters::DatabaseLimits - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/database_limits.rb#21 - def index_name_length; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/database_limits.rb#6 - def max_identifier_length; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/database_limits.rb#16 - def table_alias_length; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/database_limits.rb#11 - def table_name_length; end - - private - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/database_limits.rb#26 - def bind_params_length; end -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/database_statements.rb#5 -module ActiveRecord::ConnectionAdapters::DatabaseStatements - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/database_statements.rb#6 - def initialize; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/database_statements.rb#388 - def add_transaction_record(record, ensure_finalize = T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/database_statements.rb#393 - def begin_db_transaction; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/database_statements.rb#407 - def begin_isolated_db_transaction(isolation); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/database_statements.rb#350 - def begin_transaction(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/database_statements.rb#54 - def cacheable_query(klass, arel); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/database_statements.rb#412 - def commit_db_transaction; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/database_statements.rb#350 - def commit_transaction(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/database_statements.rb#189 - def create(arel, name = T.unsafe(nil), pk = T.unsafe(nil), id_value = T.unsafe(nil), sequence_name = T.unsafe(nil), binds = T.unsafe(nil), returning: T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/database_statements.rb#350 - def current_transaction(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/database_statements.rb#434 - def default_sequence_name(table, column); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/database_statements.rb#204 - def delete(arel, name = T.unsafe(nil), binds = T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/database_statements.rb#350 - def dirty_current_transaction(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/database_statements.rb#350 - def disable_lazy_transactions!(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/database_statements.rb#466 - def empty_insert_statement_value(primary_key = T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/database_statements.rb#350 - def enable_lazy_transactions!(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/database_statements.rb#159 - def exec_delete(sql, name = T.unsafe(nil), binds = T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/database_statements.rb#151 - def exec_insert(sql, name = T.unsafe(nil), binds = T.unsafe(nil), pk = T.unsafe(nil), sequence_name = T.unsafe(nil), returning: T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/database_statements.rb#170 - def exec_insert_all(sql, name); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/database_statements.rb#141 - def exec_query(sql, name = T.unsafe(nil), binds = T.unsafe(nil), prepare: T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/database_statements.rb#428 - def exec_restart_db_transaction; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/database_statements.rb#422 - def exec_rollback_db_transaction; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/database_statements.rb#166 - def exec_update(sql, name = T.unsafe(nil), binds = T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/database_statements.rb#130 - def execute(sql, name = T.unsafe(nil), allow_retry: T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/database_statements.rb#174 - def explain(arel, binds = T.unsafe(nil), options = T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/database_statements.rb#504 - def high_precision_current_timestamp; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/database_statements.rb#189 - def insert(arel, name = T.unsafe(nil), pk = T.unsafe(nil), id_value = T.unsafe(nil), sequence_name = T.unsafe(nil), binds = T.unsafe(nil), returning: T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/database_statements.rb#448 - def insert_fixture(fixture, table_name); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/database_statements.rb#452 - def insert_fixtures_set(fixture_set, tables_to_delete = T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/database_statements.rb#508 - def internal_exec_query(sql, name = T.unsafe(nil), binds = T.unsafe(nil), prepare: T.unsafe(nil), async: T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/database_statements.rb#355 - def mark_transaction_written_if_write(sql); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/database_statements.rb#350 - def materialize_transactions(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/database_statements.rb#350 - def open_transactions(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/database_statements.rb#107 - def query(sql, name = T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/database_statements.rb#99 - def query_value(sql, name = T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/database_statements.rb#103 - def query_values(sql, name = T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/database_statements.rb#439 - def reset_sequence!(table, column, sequence = T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/database_statements.rb#366 - def reset_transaction(restore: T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/database_statements.rb#424 - def restart_db_transaction; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/database_statements.rb#416 - def rollback_db_transaction; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/database_statements.rb#430 - def rollback_to_savepoint(name = T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/database_statements.rb#350 - def rollback_transaction(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/database_statements.rb#476 - def sanitize_limit(limit); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/database_statements.rb#67 - def select_all(arel, name = T.unsafe(nil), binds = T.unsafe(nil), preparable: T.unsafe(nil), async: T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/database_statements.rb#78 - def select_one(arel, name = T.unsafe(nil), binds = T.unsafe(nil), async: T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/database_statements.rb#95 - def select_rows(arel, name = T.unsafe(nil), binds = T.unsafe(nil), async: T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/database_statements.rb#83 - def select_value(arel, name = T.unsafe(nil), binds = T.unsafe(nil), async: T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/database_statements.rb#89 - def select_values(arel, name = T.unsafe(nil), binds = T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/database_statements.rb#12 - def to_sql(arel_or_sql_string, binds = T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/database_statements.rb#335 - def transaction(requires_new: T.unsafe(nil), isolation: T.unsafe(nil), joinable: T.unsafe(nil), &block); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/database_statements.rb#395 - def transaction_isolation_levels; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/database_statements.rb#348 - def transaction_manager; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/database_statements.rb#362 - def transaction_open?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/database_statements.rb#210 - def truncate(table_name, name = T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/database_statements.rb#214 - def truncate_tables(*table_names); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/database_statements.rb#198 - def update(arel, name = T.unsafe(nil), binds = T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/database_statements.rb#487 - def with_yaml_fallback(value); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/database_statements.rb#350 - def within_new_transaction(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/database_statements.rb#112 - def write_query?(sql); end - - private - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/database_statements.rb#666 - def arel_from_relation(relation); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/database_statements.rb#539 - def build_fixture_sql(fixtures, table_name); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/database_statements.rb#581 - def build_fixture_statements(fixture_set); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/database_statements.rb#588 - def build_truncate_statement(table_name); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/database_statements.rb#592 - def build_truncate_statements(table_names); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/database_statements.rb#602 - def combine_multi_statements(total_sql); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/database_statements.rb#535 - def default_insert_value(column); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/database_statements.rb#522 - def execute_batch(statements, name = T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/database_statements.rb#674 - def extract_table_ref_from_insert_sql(sql); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/database_statements.rb#513 - def internal_execute(sql, name = T.unsafe(nil), allow_retry: T.unsafe(nil), materialize_transactions: T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/database_statements.rb#653 - def last_inserted_id(result); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/database_statements.rb#528 - def raw_execute(sql, name, async: T.unsafe(nil), allow_retry: T.unsafe(nil), materialize_transactions: T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/database_statements.rb#657 - def returning_column_values(result); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/database_statements.rb#607 - def select(sql, name = T.unsafe(nil), binds = T.unsafe(nil), prepare: T.unsafe(nil), async: T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/database_statements.rb#661 - def single_value_from_rows(rows); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/database_statements.rb#636 - def sql_for_insert(sql, pk, binds, returning); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/database_statements.rb#17 - def to_sql_and_binds(arel_or_sql_string, binds = T.unsafe(nil), preparable = T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/database_statements.rb#598 - def with_multi_statements; end -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/deduplicable.rb#5 -module ActiveRecord::ConnectionAdapters::Deduplicable - extend ::ActiveSupport::Concern -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/connection_pool.rb#15 -class ActiveRecord::ConnectionAdapters::NullPool - include ::ActiveRecord::ConnectionAdapters::AbstractPool -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/query_cache.rb#7 -module ActiveRecord::ConnectionAdapters::QueryCache - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/query_cache.rb#55 - def initialize(*_arg0); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/query_cache.rb#63 - def cache; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/query_cache.rb#94 - def clear_query_cache; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/query_cache.rb#75 - def disable_query_cache!; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/query_cache.rb#71 - def enable_query_cache!; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/query_cache.rb#53 - def query_cache; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/query_cache.rb#53 - def query_cache_enabled; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/query_cache.rb#100 - def select_all(arel, name = T.unsafe(nil), binds = T.unsafe(nil), preparable: T.unsafe(nil), async: T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/query_cache.rb#81 - def uncached; end - - private - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/query_cache.rb#170 - def cache_notification_info(sql, name, binds); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/query_cache.rb#141 - def cache_sql(sql, name, binds); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/query_cache.rb#181 - def configure_query_cache!; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/query_cache.rb#119 - def lookup_sql_cache(sql, name, binds); end - - class << self - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/query_cache.rb#20 - def dirties_query_cache(base, *method_names); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/query_cache.rb#11 - def included(base); end - end -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/query_cache.rb#32 -module ActiveRecord::ConnectionAdapters::QueryCache::ConnectionPoolConfiguration - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/query_cache.rb#33 - def initialize(*_arg0); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/query_cache.rb#43 - def disable_query_cache!; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/query_cache.rb#38 - def enable_query_cache!; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/query_cache.rb#48 - def query_cache_enabled; end -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/query_cache.rb#8 -ActiveRecord::ConnectionAdapters::QueryCache::DEFAULT_SIZE = T.let(T.unsafe(nil), Integer) - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/quoting.rb#9 -module ActiveRecord::ConnectionAdapters::Quoting - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/quoting.rb#69 - def cast_bound_value(value); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/quoting.rb#180 - def column_name_matcher; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/quoting.rb#184 - def column_name_with_order_matcher; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/quoting.rb#82 - def lookup_cast_type_from_column(column); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/quoting.rb#12 - def quote(value); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/quoting.rb#57 - def quote_bound_value(value); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/quoting.rb#93 - def quote_column_name(column_name); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/quoting.rb#114 - def quote_default_expression(value, column); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/quoting.rb#88 - def quote_string(s); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/quoting.rb#98 - def quote_table_name(table_name); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/quoting.rb#110 - def quote_table_name_for_assignment(table, attr); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/quoting.rb#163 - def quoted_binary(value); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/quoting.rb#141 - def quoted_date(value); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/quoting.rb#131 - def quoted_false; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/quoting.rb#158 - def quoted_time(value); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/quoting.rb#123 - def quoted_true; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/quoting.rb#167 - def sanitize_as_sql_comment(value); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/quoting.rb#36 - def type_cast(value); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/quoting.rb#135 - def unquoted_false; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/quoting.rb#127 - def unquoted_true; end - - private - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/quoting.rb#244 - def lookup_cast_type(sql_type); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/quoting.rb#234 - def type_casted_binds(binds); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/quoting.rb#248 - def warn_quote_duration_deprecated; end -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/savepoints.rb#6 -module ActiveRecord::ConnectionAdapters::Savepoints - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/savepoints.rb#11 - def create_savepoint(name = T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/savepoints.rb#7 - def current_savepoint_name; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/savepoints.rb#15 - def exec_rollback_to_savepoint(name = T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/savepoints.rb#19 - def release_savepoint(name = T.unsafe(nil)); end -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#8 -module ActiveRecord::ConnectionAdapters::SchemaStatements - include ::ActiveRecord::Migration::JoinTable - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#1031 - def add_belongs_to(table_name, ref_name, **options); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#1262 - def add_check_constraint(table_name, expression, if_not_exists: T.unsafe(nil), **options); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#620 - def add_column(table_name, column_name, type, **options); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#627 - def add_columns(table_name, *column_names, type:, **options); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#1142 - def add_foreign_key(from_table, to_table, **options); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#886 - def add_index(table_name, column_name, **options); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#1438 - def add_index_options(table_name, column_name, name: T.unsafe(nil), if_not_exists: T.unsafe(nil), internal: T.unsafe(nil), **options); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#1031 - def add_reference(table_name, ref_name, **options); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#1421 - def add_timestamps(table_name, **options); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#1327 - def assume_migrated_upto_version(version); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#638 - def build_add_column_definition(table_name, column_name, type, **options); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#722 - def build_change_column_default_definition(table_name, column_name, default_or_changes); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#896 - def build_create_index_definition(table_name, column_name, **options); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#394 - def build_create_join_table_definition(table_1, table_2, column_options: T.unsafe(nil), **options); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#328 - def build_create_table_definition(table_name, id: T.unsafe(nil), primary_key: T.unsafe(nil), force: T.unsafe(nil), **options); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#1517 - def bulk_change_table(table_name, operations); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#695 - def change_column(table_name, column_name, type, **options); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#1499 - def change_column_comment(table_name, column_name, comment_or_changes); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#713 - def change_column_default(table_name, column_name, default_or_changes); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#742 - def change_column_null(table_name, column_name, null, default = T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#496 - def change_table(table_name, base = T.unsafe(nil), **options); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#1489 - def change_table_comment(table_name, comment_or_changes); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#1311 - def check_constraint_exists?(table_name, **options); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#1274 - def check_constraint_options(table_name, expression, options); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#1242 - def check_constraints(table_name); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#132 - def column_exists?(table_name, column_name, type = T.unsafe(nil), **options); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#107 - def columns(table_name); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#1387 - def columns_for_distinct(columns, orders); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#375 - def create_join_table(table_1, table_2, column_options: T.unsafe(nil), **options); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#1503 - def create_schema_dumper(options); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#293 - def create_table(table_name, id: T.unsafe(nil), primary_key: T.unsafe(nil), force: T.unsafe(nil), **options, &block); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#44 - def data_source_exists?(name); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#34 - def data_sources; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#1391 - def distinct_relation_for_primary_key(relation); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#413 - def drop_join_table(table_1, table_2, **options); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#526 - def drop_table(table_name, **options); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#1318 - def dump_schema_information; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#1210 - def foreign_key_column_for(table_name, column_name); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#1206 - def foreign_key_exists?(from_table, to_table = T.unsafe(nil), **options); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#1215 - def foreign_key_options(from_table, to_table, options); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#1072 - def foreign_keys(table_name); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#1466 - def index_algorithm(algorithm); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#102 - def index_exists?(table_name, column_name, **options); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#963 - def index_name(table_name, options); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#978 - def index_name_exists?(table_name, index_name); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#81 - def indexes(table_name); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#1323 - def internal_string_options_for_primary_key; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#1555 - def max_index_name_size; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#14 - def native_database_types; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#1479 - def options_include_default?(options); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#145 - def primary_key(table_name); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#1472 - def quoted_columns_for_index(column_names, options); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#1051 - def remove_belongs_to(table_name, ref_name, foreign_key: T.unsafe(nil), polymorphic: T.unsafe(nil), **options); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#1293 - def remove_check_constraint(table_name, expression = T.unsafe(nil), if_exists: T.unsafe(nil), **options); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#683 - def remove_column(table_name, column_name, type = T.unsafe(nil), **options); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#659 - def remove_columns(table_name, *column_names, type: T.unsafe(nil), **options); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#1183 - def remove_foreign_key(from_table, to_table = T.unsafe(nil), **options); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#937 - def remove_index(table_name, column_name = T.unsafe(nil), **options); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#1051 - def remove_reference(table_name, ref_name, foreign_key: T.unsafe(nil), polymorphic: T.unsafe(nil), **options); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#1430 - def remove_timestamps(table_name, **options); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#750 - def rename_column(table_name, column_name, new_column_name); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#951 - def rename_index(table_name, old_name, new_name); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#510 - def rename_table(table_name, new_name, **_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#1513 - def schema_creation; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#28 - def table_alias_for(table_name); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#23 - def table_comment(table_name); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#59 - def table_exists?(table_name); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#18 - def table_options(table_name); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#51 - def tables; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#1347 - def type_to_sql(type, limit: T.unsafe(nil), precision: T.unsafe(nil), scale: T.unsafe(nil), **_arg4); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#1434 - def update_table_definition(table_name, base); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#1507 - def use_foreign_keys?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#1546 - def valid_column_definition_options; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#1550 - def valid_primary_key_options; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#1542 - def valid_table_definition_options; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#74 - def view_exists?(view_name); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#66 - def views; end - - private - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#1799 - def add_column_for_alter(table_name, column_name, type, **options); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#1584 - def add_index_sort_order(quoted_columns, **options); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#1601 - def add_options_for_index_columns(quoted_columns, **options); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#1822 - def add_timestamps_for_alter(table_name, **options); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#1791 - def can_remove_index_by_name?(column_name, options); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#1805 - def change_column_default_for_alter(table_name, column_name, default_or_changes); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#1759 - def check_constraint_for(table_name, **options); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#1765 - def check_constraint_for!(table_name, expression: T.unsafe(nil), **options); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#1749 - def check_constraint_name(table_name, **options); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#1580 - def column_options_keys; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#1667 - def create_alter_table(name); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#1663 - def create_table_definition(name, **options); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#1852 - def data_source_sql(name = T.unsafe(nil), type: T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#1707 - def expression_column_name?(column_name); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#1737 - def extract_foreign_key_action(specifier); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#1782 - def extract_new_comment_value(default_or_changes); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#1782 - def extract_new_default_value(default_or_changes); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#1679 - def fetch_type_metadata(sql_type); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#1727 - def foreign_key_for(from_table, **options); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#1732 - def foreign_key_for!(from_table, to_table: T.unsafe(nil), **options); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#1717 - def foreign_key_name(table_name, options); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#1745 - def foreign_keys_enabled?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#1560 - def generate_index_name(table_name, column); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#1690 - def index_column_names(column_names); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#1609 - def index_name_for_remove(table_name, column_name, options); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#1698 - def index_name_options(column_names); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#1839 - def insert_versions_sql(versions); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#1591 - def options_for_index_columns(options); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#1856 - def quoted_scope(name = T.unsafe(nil), type: T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#1795 - def reference_name_for_table(table_name); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#1814 - def remove_column_for_alter(table_name, column_name, type = T.unsafe(nil), **options); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#1818 - def remove_columns_for_alter(table_name, *column_names, **options); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#1835 - def remove_timestamps_for_alter(table_name, **options); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#1650 - def rename_column_indexes(table_name, column_name, new_column_name); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#1810 - def rename_column_sql(table_name, column_name, new_column_name); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#1641 - def rename_table_indexes(table_name, new_name); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#1711 - def strip_table_name_prefix_and_suffix(table_name); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#1574 - def validate_change_column_null_argument!(value); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#1671 - def validate_create_table_options!(options); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#1770 - def validate_index_length!(table_name, new_name, internal = T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_adapters/abstract/schema_statements.rb#1776 - def validate_table_length!(table_name); end -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_handling.rb#5 -module ActiveRecord::ConnectionHandling - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_handling.rb#319 - def clear_active_connections!(role = T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_handling.rb#329 - def clear_all_connections!(role = T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_handling.rb#315 - def clear_cache!; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_handling.rb#244 - def clear_query_caches_for_current_thread; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_handling.rb#324 - def clear_reloadable_connections!(role = T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_handling.rb#291 - def connected?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_handling.rb#134 - def connected_to(role: T.unsafe(nil), shard: T.unsafe(nil), prevent_writes: T.unsafe(nil), &blk); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_handling.rb#239 - def connected_to?(role:, shard: T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_handling.rb#163 - def connected_to_many(*classes, role:, shard: T.unsafe(nil), prevent_writes: T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_handling.rb#185 - def connecting_to(role: T.unsafe(nil), shard: T.unsafe(nil), prevent_writes: T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_handling.rb#253 - def connection; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_handling.rb#278 - def connection_db_config; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_handling.rb#282 - def connection_pool; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_handling.rb#260 - def connection_specification_name; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_handling.rb#257 - def connection_specification_name=(_arg0); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_handling.rb#81 - def connects_to(database: T.unsafe(nil), shards: T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_handling.rb#50 - def establish_connection(config_or_env = T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_handling.rb#334 - def flush_idle_connections!(role = T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_handling.rb#267 - def primary_class?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_handling.rb#197 - def prohibit_shard_swapping(enabled = T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_handling.rb#295 - def remove_connection(name = T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_handling.rb#286 - def retrieve_connection; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_handling.rb#206 - def shard_swapping_prohibited?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_handling.rb#221 - def while_preventing_writes(enabled = T.unsafe(nil), &block); end - - private - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_handling.rb#368 - def append_to_connected_to_stack(entry); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_handling.rb#340 - def deprecation_for_delegation(method); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_handling.rb#348 - def resolve_config_for_connection(config_or_env); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_handling.rb#357 - def with_role_and_shard(role, shard, prevent_writes); end -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_handling.rb#7 -ActiveRecord::ConnectionHandling::DEFAULT_ENV = T.let(T.unsafe(nil), Proc) - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/connection_handling.rb#6 -ActiveRecord::ConnectionHandling::RAILS_ENV = T.let(T.unsafe(nil), Proc) - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/core.rb#10 -module ActiveRecord::Core - include ::ActiveModel::Access - extend ::ActiveSupport::Concern -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/core.rb#237 -module ActiveRecord::Core::ClassMethods - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/core.rb#348 - def arel_table; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/core.rb#360 - def cached_find_by_statement(key, &block); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/core.rb#306 - def filter_attributes; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/core.rb#315 - def filter_attributes=(filter_attributes); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/core.rb#242 - def find(*ids); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/core.rb#255 - def find_by(*args); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/core.rb#287 - def find_by!(*args); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/core.rb#295 - def generated_association_methods; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/core.rb#238 - def initialize_find_by_cache; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/core.rb#291 - def initialize_generated_modules; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/core.rb#332 - def inspect; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/core.rb#320 - def inspection_filter; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/core.rb#352 - def predicate_builder; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/core.rb#356 - def type_caster; end - - private - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/core.rb#402 - def cached_find_by(keys, values); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/core.rb#366 - def inherited(subclass); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/core.rb#388 - def relation; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/core.rb#398 - def table_metadata; end -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/counter_cache.rb#5 -module ActiveRecord::CounterCache - extend ::ActiveSupport::Concern -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/counter_cache.rb#12 -module ActiveRecord::CounterCache::ClassMethods - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/counter_cache.rb#180 - def counter_cache_column?(name); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/counter_cache.rb#176 - def decrement_counter(counter_name, id, by: T.unsafe(nil), touch: T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/counter_cache.rb#146 - def increment_counter(counter_name, id, by: T.unsafe(nil), touch: T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/counter_cache.rb#33 - def reset_counters(id, *counters, touch: T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/counter_cache.rb#114 - def update_counters(id, counters); end -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/delegated_type.rb#155 -module ActiveRecord::DelegatedType - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/delegated_type.rb#211 - def delegated_type(role, types:, **options); end - - private - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/delegated_type.rb#217 - def define_delegated_type_methods(role, types:, options:); end -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/delegation.rb#7 -module ActiveRecord::Delegation - extend ::ActiveSupport::Concern -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/delegation.rb#130 -module ActiveRecord::Delegation::ClassMethods - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/delegation.rb#131 - def create(klass, *args, **kwargs); end - - private - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/delegation.rb#136 - def relation_class_for(klass); end -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/delegation.rb#107 -module ActiveRecord::Delegation::ClassSpecificRelation - extend ::ActiveSupport::Concern -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/delegation.rb#25 -module ActiveRecord::Delegation::DelegateCache - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/delegation.rb#50 - def generate_relation_method(method); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/delegation.rb#45 - def inherited(child_class); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/delegation.rb#30 - def initialize_relation_delegate_cache; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/delegation.rb#26 - def relation_delegate_class(klass); end - - protected - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/delegation.rb#55 - def include_relation_methods(delegate); end - - private - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/delegation.rb#61 - def generated_relation_methods; end -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/dynamic_matchers.rb#4 -module ActiveRecord::DynamicMatchers - private - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/dynamic_matchers.rb#15 - def method_missing(name, *arguments, &block); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/dynamic_matchers.rb#6 - def respond_to_missing?(name, _); end -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/dynamic_matchers.rb#93 -class ActiveRecord::DynamicMatchers::FindBy < ::ActiveRecord::DynamicMatchers::Method - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/dynamic_matchers.rb#100 - def finder; end - - class << self - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/dynamic_matchers.rb#96 - def prefix; end - end -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/dynamic_matchers.rb#105 -class ActiveRecord::DynamicMatchers::FindByBang < ::ActiveRecord::DynamicMatchers::Method - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/dynamic_matchers.rb#116 - def finder; end - - class << self - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/dynamic_matchers.rb#108 - def prefix; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/dynamic_matchers.rb#112 - def suffix; end - end -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/dynamic_matchers.rb#26 -class ActiveRecord::DynamicMatchers::Method - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/dynamic_matchers.rb#52 - def initialize(model, method_name); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/dynamic_matchers.rb#50 - def attribute_names; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/dynamic_matchers.rb#63 - def define; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/dynamic_matchers.rb#50 - def model; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/dynamic_matchers.rb#50 - def name; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/dynamic_matchers.rb#59 - def valid?; end - - private - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/dynamic_matchers.rb#84 - def attributes_hash; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/dynamic_matchers.rb#72 - def body; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/dynamic_matchers.rb#88 - def finder; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/dynamic_matchers.rb#78 - def signature; end - - class << self - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/dynamic_matchers.rb#32 - def match(model, name); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/dynamic_matchers.rb#30 - def matchers; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/dynamic_matchers.rb#37 - def pattern; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/dynamic_matchers.rb#41 - def prefix; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/dynamic_matchers.rb#45 - def suffix; end - end -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/encryption.rb#7 -module ActiveRecord::Encryption - include ::ActiveRecord::Encryption::Configurable - include ::ActiveRecord::Encryption::Contexts - extend ::ActiveSupport::Autoload - extend ::ActiveRecord::Encryption::Configurable::ClassMethods - extend ::ActiveRecord::Encryption::Contexts::ClassMethods -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/encryption/cipher.rb#11 -class ActiveRecord::Encryption::Cipher - extend ::ActiveSupport::Autoload -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/encryption/configurable.rb#6 -module ActiveRecord::Encryption::Configurable - extend ::ActiveSupport::Concern -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/encryption/configurable.rb#0 -module ActiveRecord::Encryption::Configurable::ClassMethods - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/encryption/configurable.rb#17 - def cipher(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/encryption/configurable.rb#20 - def configure(primary_key: T.unsafe(nil), deterministic_key: T.unsafe(nil), key_derivation_salt: T.unsafe(nil), **properties); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/encryption/configurable.rb#52 - def encrypted_attribute_was_declared(klass, name); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/encryption/configurable.rb#17 - def encryptor(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/encryption/configurable.rb#17 - def frozen_encryption(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/encryption/configurable.rb#17 - def key_generator(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/encryption/configurable.rb#17 - def key_provider(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/encryption/configurable.rb#17 - def message_serializer(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/encryption/configurable.rb#47 - def on_encrypted_attribute_declared(&block); end -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/encryption/contexts.rb#13 -module ActiveRecord::Encryption::Contexts - extend ::ActiveSupport::Concern -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/encryption/contexts.rb#0 -module ActiveRecord::Encryption::Contexts::ClassMethods - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/encryption/contexts.rb#62 - def context; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/encryption/contexts.rb#66 - def current_custom_context; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/encryption/contexts.rb#57 - def protecting_encrypted_data(&block); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/encryption/contexts.rb#70 - def reset_default_context; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/encryption/contexts.rb#33 - def with_encryption_context(properties); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/encryption/contexts.rb#49 - def without_encryption(&block); end -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/encryption/encryptable_record.rb#7 -module ActiveRecord::Encryption::EncryptableRecord - extend ::ActiveSupport::Concern -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/encryption/encryptable_record.rb#0 -module ActiveRecord::Encryption::EncryptableRecord::ClassMethods - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/encryption/encryptable_record.rb#58 - def deterministic_encrypted_attributes; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/encryption/encryptable_record.rb#49 - def encrypts(*names, key_provider: T.unsafe(nil), key: T.unsafe(nil), deterministic: T.unsafe(nil), support_unencrypted_data: T.unsafe(nil), downcase: T.unsafe(nil), ignore_case: T.unsafe(nil), previous: T.unsafe(nil), **context_properties); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/encryption/encryptable_record.rb#65 - def source_attribute_from_preserved_attribute(attribute_name); end - - private - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/encryption/encryptable_record.rb#132 - def add_length_validation_for_encrypted_columns; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/encryption/encryptable_record.rb#84 - def encrypt_attribute(name, key_provider: T.unsafe(nil), key: T.unsafe(nil), deterministic: T.unsafe(nil), support_unencrypted_data: T.unsafe(nil), downcase: T.unsafe(nil), ignore_case: T.unsafe(nil), previous: T.unsafe(nil), **context_properties); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/encryption/encryptable_record.rb#78 - def global_previous_schemes_for(scheme); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/encryption/encryptable_record.rb#126 - def load_schema!; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/encryption/encryptable_record.rb#109 - def override_accessors_to_preserve_original(name, original_attribute_name); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/encryption/encryptable_record.rb#98 - def preserve_original_encrypted(name); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/encryption/encryptable_record.rb#70 - def scheme_for(key_provider: T.unsafe(nil), key: T.unsafe(nil), deterministic: T.unsafe(nil), support_unencrypted_data: T.unsafe(nil), downcase: T.unsafe(nil), ignore_case: T.unsafe(nil), previous: T.unsafe(nil), **context_properties); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/encryption/encryptable_record.rb#138 - def validate_column_size(attribute_name); end -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/encryption/extended_deterministic_queries.rb#123 -module ActiveRecord::Encryption::ExtendedDeterministicQueries::CoreQueries - extend ::ActiveSupport::Concern -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/enum.rb#165 -module ActiveRecord::Enum - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/enum.rb#225 - def enum(name = T.unsafe(nil), values = T.unsafe(nil), **options); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/enum.rb#170 - def load_schema!; end - - private - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/enum.rb#243 - def _enum(name, values, prefix: T.unsafe(nil), suffix: T.unsafe(nil), scopes: T.unsafe(nil), instance_methods: T.unsafe(nil), validate: T.unsafe(nil), **options); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/enum.rb#332 - def _enum_methods_module; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/enum.rb#340 - def assert_valid_enum_definition_values(values); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/enum.rb#373 - def detect_enum_conflict!(enum_name, method_name, klass_method = T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/enum.rb#397 - def detect_negative_enum_conditions!(method_names); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/enum.rb#238 - def inherited(base); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/enum.rb#387 - def raise_conflict_error(enum_name, method_name, type: T.unsafe(nil), source: T.unsafe(nil)); end - - class << self - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/enum.rb#166 - def extended(base); end - end -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/enum.rb#179 -class ActiveRecord::Enum::EnumType < ::ActiveModel::Type::Value - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/enum.rb#182 - def initialize(name, mapping, subtype, raise_on_invalid_values: T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/enum.rb#211 - def assert_valid_value(value); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/enum.rb#189 - def cast(value); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/enum.rb#199 - def deserialize(value); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/enum.rb#207 - def serializable?(value, &block); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/enum.rb#203 - def serialize(value); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/enum.rb#219 - def subtype; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/enum.rb#180 - def type(*_arg0, **_arg1, &_arg2); end - - private - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/enum.rb#222 - def mapping; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/enum.rb#222 - def name; end -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/explain.rb#6 -module ActiveRecord::Explain - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/explain.rb#9 - def collecting_queries_for_explain; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/explain.rb#19 - def exec_explain(queries, options = T.unsafe(nil)); end - - private - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/explain.rb#54 - def build_explain_clause(options = T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/explain.rb#62 - def connection_explain(sql, binds, options); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/explain.rb#39 - def render_bind(attr); end -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/finder_methods.rb#6 -module ActiveRecord::FinderMethods - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/finder_methods.rb#349 - def exists?(conditions = T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/finder_methods.rb#263 - def fifth; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/finder_methods.rb#269 - def fifth!; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/finder_methods.rb#90 - def find(*args); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/finder_methods.rb#103 - def find_by(arg, *args); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/finder_methods.rb#109 - def find_by!(arg, *args); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/finder_methods.rb#152 - def find_sole_by(arg, *args); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/finder_methods.rb#165 - def first(limit = T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/finder_methods.rb#175 - def first!; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/finder_methods.rb#279 - def forty_two; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/finder_methods.rb#285 - def forty_two!; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/finder_methods.rb#247 - def fourth; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/finder_methods.rb#253 - def fourth!; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/finder_methods.rb#377 - def include?(record); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/finder_methods.rb#194 - def last(limit = T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/finder_methods.rb#205 - def last!; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/finder_methods.rb#377 - def member?(record); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/finder_methods.rb#405 - def raise_record_not_found_exception!(ids = T.unsafe(nil), result_size = T.unsafe(nil), expected_size = T.unsafe(nil), key = T.unsafe(nil), not_found_ids = T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/finder_methods.rb#215 - def second; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/finder_methods.rb#221 - def second!; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/finder_methods.rb#311 - def second_to_last; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/finder_methods.rb#317 - def second_to_last!; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/finder_methods.rb#135 - def sole; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/finder_methods.rb#120 - def take(limit = T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/finder_methods.rb#126 - def take!; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/finder_methods.rb#231 - def third; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/finder_methods.rb#237 - def third!; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/finder_methods.rb#295 - def third_to_last; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/finder_methods.rb#301 - def third_to_last!; end - - private - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/finder_methods.rb#634 - def _order_columns; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/finder_methods.rb#445 - def apply_join_dependency(eager_loading: T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/finder_methods.rb#426 - def construct_relation_for_exists(conditions); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/finder_methods.rb#622 - def find_last(limit); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/finder_methods.rb#584 - def find_nth(index); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/finder_methods.rb#608 - def find_nth_from_last(index); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/finder_methods.rb#589 - def find_nth_with_limit(index, limit); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/finder_methods.rb#506 - def find_one(id); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/finder_methods.rb#527 - def find_some(ids); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/finder_methods.rb#553 - def find_some_ordered(ids); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/finder_methods.rb#568 - def find_take; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/finder_methods.rb#576 - def find_take_with_limit(limit); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/finder_methods.rb#477 - def find_with_ids(*ids); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/finder_methods.rb#626 - def ordered_relation; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/finder_methods.rb#473 - def using_limitable_reflections?(reflections); end -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/finder_methods.rb#7 -ActiveRecord::FinderMethods::ONE_AS_ONE = T.let(T.unsafe(nil), String) - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/inheritance.rb#39 -module ActiveRecord::Inheritance - extend ::ActiveSupport::Concern -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/inheritance.rb#52 -module ActiveRecord::Inheritance::ClassMethods - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/inheritance.rb#164 - def abstract_class; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/inheritance.rb#164 - def abstract_class=(_arg0); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/inheritance.rb#167 - def abstract_class?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/inheritance.rb#115 - def base_class; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/inheritance.rb#119 - def base_class?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/inheritance.rb#82 - def descends_from_active_record?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/inheritance.rb#224 - def dup; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/inheritance.rb#92 - def finder_needs_type_condition?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/inheritance.rb#56 - def new(attributes = T.unsafe(nil), &block); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/inheritance.rb#216 - def polymorphic_class_for(name); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/inheritance.rb#209 - def polymorphic_name; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/inheritance.rb#177 - def primary_abstract_class; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/inheritance.rb#194 - def sti_class_for(type_name); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/inheritance.rb#187 - def sti_name; end - - protected - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/inheritance.rb#240 - def compute_type(type_name); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/inheritance.rb#268 - def set_base_class; end - - private - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/inheritance.rb#297 - def discriminate_class_for_record(record); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/inheritance.rb#309 - def find_sti_class(type_name); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/inheritance.rb#285 - def inherited(subclass); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/inheritance.rb#232 - def initialize_clone(other); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/inheritance.rb#329 - def subclass_from_attributes(attrs); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/inheritance.rb#320 - def type_condition(table = T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/inheritance.rb#305 - def using_single_table_inheritance?(record); end -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/integration.rb#6 -module ActiveRecord::Integration - extend ::ActiveSupport::Concern -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/integration.rb#122 -module ActiveRecord::Integration::ClassMethods - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/integration.rb#163 - def collection_cache_key(collection = T.unsafe(nil), timestamp_column = T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/integration.rb#147 - def to_param(method_name = T.unsafe(nil)); end -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record.rb#143 -module ActiveRecord::Locking - extend ::ActiveSupport::Autoload -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/locking/optimistic.rb#52 -module ActiveRecord::Locking::Optimistic - extend ::ActiveSupport::Concern -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/locking/optimistic.rb#154 -module ActiveRecord::Locking::Optimistic::ClassMethods - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/locking/optimistic.rb#185 - def define_attribute(name, cast_type, **_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/locking/optimistic.rb#171 - def locking_column; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/locking/optimistic.rb#165 - def locking_column=(value); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/locking/optimistic.rb#160 - def locking_enabled?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/locking/optimistic.rb#174 - def reset_locking_column; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/locking/optimistic.rb#180 - def update_counters(id, counters); end - - private - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/locking/optimistic.rb#193 - def inherited(base); end -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/locking/optimistic.rb#155 -ActiveRecord::Locking::Optimistic::ClassMethods::DEFAULT_LOCKING_COLUMN = T.let(T.unsafe(nil), String) - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/locking/pessimistic.rb#64 -module ActiveRecord::Locking::Pessimistic - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/locking/pessimistic.rb#69 - def lock!(lock = T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/locking/pessimistic.rb#92 - def with_lock(*args); end -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/marshalling.rb#23 -module ActiveRecord::Marshalling::Methods - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/marshalling.rb#24 - def _marshal_dump_7_1; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/marshalling.rb#40 - def marshal_load(state); end -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record.rb#161 -module ActiveRecord::Middleware - extend ::ActiveSupport::Autoload -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/migration/command_recorder.rb#45 -class ActiveRecord::Migration::CommandRecorder - include ::ActiveRecord::Migration::JoinTable - include ::ActiveRecord::Migration::CommandRecorder::StraightReversions -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/migration/command_recorder.rb#151 -module ActiveRecord::Migration::CommandRecorder::StraightReversions - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/migration/command_recorder.rb#170 - def invert_add_check_constraint(args, &block); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/migration/command_recorder.rb#170 - def invert_add_column(args, &block); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/migration/command_recorder.rb#170 - def invert_add_exclusion_constraint(args, &block); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/migration/command_recorder.rb#170 - def invert_add_foreign_key(args, &block); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/migration/command_recorder.rb#170 - def invert_add_index(args, &block); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/migration/command_recorder.rb#170 - def invert_add_reference(args, &block); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/migration/command_recorder.rb#170 - def invert_add_timestamps(args, &block); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/migration/command_recorder.rb#170 - def invert_add_unique_constraint(args, &block); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/migration/command_recorder.rb#170 - def invert_create_enum(args, &block); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/migration/command_recorder.rb#170 - def invert_create_join_table(args, &block); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/migration/command_recorder.rb#170 - def invert_create_table(args, &block); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/migration/command_recorder.rb#170 - def invert_disable_extension(args, &block); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/migration/command_recorder.rb#170 - def invert_drop_enum(args, &block); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/migration/command_recorder.rb#170 - def invert_drop_join_table(args, &block); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/migration/command_recorder.rb#170 - def invert_drop_table(args, &block); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/migration/command_recorder.rb#170 - def invert_enable_extension(args, &block); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/migration/command_recorder.rb#170 - def invert_execute_block(args, &block); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/migration/command_recorder.rb#170 - def invert_remove_check_constraint(args, &block); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/migration/command_recorder.rb#170 - def invert_remove_column(args, &block); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/migration/command_recorder.rb#170 - def invert_remove_exclusion_constraint(args, &block); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/migration/command_recorder.rb#170 - def invert_remove_foreign_key(args, &block); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/migration/command_recorder.rb#170 - def invert_remove_index(args, &block); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/migration/command_recorder.rb#170 - def invert_remove_reference(args, &block); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/migration/command_recorder.rb#170 - def invert_remove_timestamps(args, &block); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/migration/command_recorder.rb#170 - def invert_remove_unique_constraint(args, &block); end -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/migration/join_table.rb#5 -module ActiveRecord::Migration::JoinTable - private - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/migration/join_table.rb#7 - def find_join_table_name(table_1, table_2, options = T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/migration/join_table.rb#11 - def join_table_name(table_1, table_2); end -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/model_schema.rb#6 -module ActiveRecord::ModelSchema - extend ::ActiveSupport::Concern -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/model_schema.rb#195 -module ActiveRecord::ModelSchema::ClassMethods - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/model_schema.rb#496 - def _default_attributes; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/model_schema.rb#432 - def _returning_columns_for_insert; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/model_schema.rb#438 - def attribute_types; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/model_schema.rb#414 - def attributes_builder; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/model_schema.rb#491 - def column_defaults; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/model_schema.rb#482 - def column_for_attribute(name); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/model_schema.rb#502 - def column_names; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/model_schema.rb#427 - def columns; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/model_schema.rb#422 - def columns_hash; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/model_schema.rb#513 - def content_columns; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/model_schema.rb#296 - def full_table_name_prefix; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/model_schema.rb#300 - def full_table_name_suffix; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/model_schema.rb#325 - def ignored_columns; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/model_schema.rb#360 - def ignored_columns=(columns); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/model_schema.rb#405 - def next_sequence_value; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/model_schema.rb#399 - def prefetch_primary_key?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/model_schema.rb#306 - def protected_environments; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/model_schema.rb#315 - def protected_environments=(environments); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/model_schema.rb#281 - def quoted_table_name; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/model_schema.rb#319 - def real_inheritance_column=(value); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/model_schema.rb#547 - def reset_column_information; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/model_schema.rb#373 - def reset_sequence_name; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/model_schema.rb#286 - def reset_table_name; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/model_schema.rb#365 - def sequence_name; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/model_schema.rb#392 - def sequence_name=(value); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/model_schema.rb#506 - def symbol_column_to_string(name_symbol); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/model_schema.rb#410 - def table_exists?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/model_schema.rb#255 - def table_name; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/model_schema.rb#265 - def table_name=(value); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/model_schema.rb#458 - def type_for_attribute(attr_name, &block); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/model_schema.rb#443 - def yaml_encoder; end - - protected - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/model_schema.rb#557 - def initialize_load_schema_monitor; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/model_schema.rb#561 - def reload_schema_from_cache(recursive = T.unsafe(nil)); end - - private - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/model_schema.rb#657 - def _convert_type_from_options(type); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/model_schema.rb#641 - def compute_table_name; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/model_schema.rb#584 - def inherited(child_class); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/model_schema.rb#597 - def load_schema; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/model_schema.rb#611 - def load_schema!; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/model_schema.rb#593 - def schema_loaded?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/model_schema.rb#635 - def undecorated_table_name(model_name); end -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/nested_attributes.rb#8 -module ActiveRecord::NestedAttributes - extend ::ActiveSupport::Concern -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/nested_attributes.rb#303 -module ActiveRecord::NestedAttributes::ClassMethods - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/nested_attributes.rb#353 - def accepts_nested_attributes_for(*attr_names); end - - private - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/nested_attributes.rb#388 - def generate_association_writer(association_name, type); end -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/nested_attributes.rb#304 -ActiveRecord::NestedAttributes::ClassMethods::REJECT_ALL_BLANK_PROC = T.let(T.unsafe(nil), Proc) - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/no_touching.rb#5 -module ActiveRecord::NoTouching - extend ::ActiveSupport::Concern -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/no_touching.rb#8 -module ActiveRecord::NoTouching::ClassMethods - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/no_touching.rb#23 - def no_touching(&block); end -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/normalization.rb#4 -module ActiveRecord::Normalization - extend ::ActiveSupport::Concern -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/normalization.rb#31 -module ActiveRecord::Normalization::ClassMethods - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/normalization.rb#100 - def normalize_value_for(name, value); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/normalization.rb#80 - def normalizes(*names, with:, apply_to_nil: T.unsafe(nil)); end -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/normalization.rb#112 -class ActiveRecord::Normalization::NormalizedValueType - include ::ActiveModel::Type::SerializeCastValue - extend ::ActiveModel::Type::SerializeCastValue::ClassMethods -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/persistence.rb#7 -module ActiveRecord::Persistence - extend ::ActiveSupport::Concern -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/persistence.rb#10 -module ActiveRecord::Persistence::ClassMethods - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/persistence.rb#611 - def _delete_record(constraints); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/persistence.rb#569 - def _insert_record(values, returning); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/persistence.rb#594 - def _update_record(values, constraints); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/persistence.rb#82 - def build(attributes = T.unsafe(nil), &block); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/persistence.rb#510 - def composite_query_constraints_list; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/persistence.rb#33 - def create(attributes = T.unsafe(nil), &block); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/persistence.rb#50 - def create!(attributes = T.unsafe(nil), &block); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/persistence.rb#565 - def delete(id_or_array); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/persistence.rb#533 - def destroy(id); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/persistence.rb#495 - def has_query_constraints?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/persistence.rb#96 - def insert(attributes, returning: T.unsafe(nil), unique_by: T.unsafe(nil), record_timestamps: T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/persistence.rb#185 - def insert!(attributes, returning: T.unsafe(nil), record_timestamps: T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/persistence.rb#175 - def insert_all(attributes, returning: T.unsafe(nil), unique_by: T.unsafe(nil), record_timestamps: T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/persistence.rb#242 - def insert_all!(attributes, returning: T.unsafe(nil), record_timestamps: T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/persistence.rb#376 - def instantiate(attributes, column_types = T.unsafe(nil), &block); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/persistence.rb#488 - def query_constraints(*columns_list); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/persistence.rb#499 - def query_constraints_list; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/persistence.rb#408 - def update(id = T.unsafe(nil), attributes); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/persistence.rb#434 - def update!(id = T.unsafe(nil), attributes); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/persistence.rb#252 - def upsert(attributes, **kwargs); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/persistence.rb#362 - def upsert_all(attributes, on_duplicate: T.unsafe(nil), update_only: T.unsafe(nil), returning: T.unsafe(nil), unique_by: T.unsafe(nil), record_timestamps: T.unsafe(nil)); end - - private - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/persistence.rb#655 - def build_default_constraint; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/persistence.rb#648 - def discriminate_class_for_record(record); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/persistence.rb#628 - def inherited(subclass); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/persistence.rb#638 - def instantiate_instance_of(klass, attributes, column_types = T.unsafe(nil), &block); end -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/query_cache.rb#6 -module ActiveRecord::QueryCache::ClassMethods - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/query_cache.rb#9 - def cache(&block); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/query_cache.rb#19 - def uncached(&block); end -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/query_methods.rb#9 -module ActiveRecord::QueryMethods - include ::ActiveModel::ForbiddenAttributesProtection -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#4 -module ActiveRecord::Querying - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#65 - def _load_from_sql(result_set, &block); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#61 - def _query_by_sql(sql, binds = T.unsafe(nil), preparable: T.unsafe(nil), async: T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def and(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def annotate(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def any?(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def async_average(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def async_count(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#106 - def async_count_by_sql(sql); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#55 - def async_find_by_sql(sql, binds = T.unsafe(nil), preparable: T.unsafe(nil), &block); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def async_ids(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def async_maximum(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def async_minimum(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def async_pick(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def async_pluck(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def async_sum(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def average(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def calculate(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def count(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#101 - def count_by_sql(sql); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def create_or_find_by(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def create_or_find_by!(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def create_with(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def delete_all(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def delete_by(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def destroy_all(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def destroy_by(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def distinct(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def eager_load(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def except(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def excluding(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def exists?(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def extending(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def extract_associated(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def fifth(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def fifth!(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def find(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def find_by(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def find_by!(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#50 - def find_by_sql(sql, binds = T.unsafe(nil), preparable: T.unsafe(nil), &block); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def find_each(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def find_in_batches(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def find_or_create_by(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def find_or_create_by!(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def find_or_initialize_by(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def find_sole_by(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def first(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def first!(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def first_or_create(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def first_or_create!(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def first_or_initialize(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def forty_two(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def forty_two!(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def fourth(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def fourth!(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def from(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def group(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def having(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def ids(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def in_batches(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def in_order_of(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def includes(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def invert_where(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def joins(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def last(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def last!(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def left_joins(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def left_outer_joins(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def limit(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def lock(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def many?(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def maximum(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def merge(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def minimum(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def none(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def none?(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def offset(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def one?(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def only(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def optimizer_hints(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def or(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def order(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def pick(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def pluck(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def preload(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def readonly(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def references(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def regroup(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def reorder(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def reselect(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def rewhere(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def second(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def second!(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def second_to_last(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def second_to_last!(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def select(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def sole(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def strict_loading(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def sum(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def take(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def take!(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def third(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def third!(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def third_to_last(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def third_to_last!(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def touch_all(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def unscope(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def update_all(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def where(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def with(*_arg0, **_arg1, &_arg2); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#23 - def without(*_arg0, **_arg1, &_arg2); end -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/querying.rb#5 -ActiveRecord::Querying::QUERYING_METHODS = T.let(T.unsafe(nil), Array) - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/readonly_attributes.rb#7 -module ActiveRecord::ReadonlyAttributes - extend ::ActiveSupport::Concern -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/readonly_attributes.rb#14 -module ActiveRecord::ReadonlyAttributes::ClassMethods - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/readonly_attributes.rb#30 - def attr_readonly(*attributes); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/readonly_attributes.rb#43 - def readonly_attribute?(name); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/readonly_attributes.rb#39 - def readonly_attributes; end -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/reflection.rb#7 -module ActiveRecord::Reflection - extend ::ActiveSupport::Concern - extend ::ActiveStorage::Reflection::ReflectionExtension -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/reflection.rb#59 -module ActiveRecord::Reflection::ClassMethods - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/reflection.rb#121 - def _reflect_on_association(association); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/reflection.rb#130 - def clear_reflections_cache; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/reflection.rb#69 - def reflect_on_aggregation(aggregation); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/reflection.rb#61 - def reflect_on_all_aggregations; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/reflection.rb#106 - def reflect_on_all_associations(macro = T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/reflection.rb#126 - def reflect_on_all_autosave_associations; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/reflection.rb#117 - def reflect_on_association(association); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/reflection.rb#77 - def reflections; end - - private - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/reflection.rb#135 - def inherited(subclass); end -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation.rb#5 -class ActiveRecord::Relation - include ::Enumerable - include ::ActiveRecord::Delegation - include ::ActiveRecord::Explain - include ::ActiveRecord::Batches - include ::ActiveModel::ForbiddenAttributesProtection - include ::ActiveRecord::QueryMethods - include ::ActiveRecord::SpawnMethods - include ::ActiveRecord::Calculations - include ::ActiveRecord::FinderMethods - extend ::ActiveRecord::Delegation::ClassMethods -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/sanitization.rb#4 -module ActiveRecord::Sanitization - extend ::ActiveSupport::Concern -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/sanitization.rb#7 -module ActiveRecord::Sanitization::ClassMethods - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/sanitization.rb#176 - def disallow_raw_sql!(args, permit: T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/sanitization.rb#33 - def sanitize_sql(condition); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/sanitization.rb#163 - def sanitize_sql_array(ary); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/sanitization.rb#68 - def sanitize_sql_for_assignment(assignments, default_table_name = T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/sanitization.rb#33 - def sanitize_sql_for_conditions(condition); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/sanitization.rb#84 - def sanitize_sql_for_order(condition); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/sanitization.rb#107 - def sanitize_sql_hash_for_assignment(attrs, table); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/sanitization.rb#131 - def sanitize_sql_like(string, escape_character = T.unsafe(nil)); end - - private - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/sanitization.rb#227 - def quote_bound_value(value, c = T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/sanitization.rb#241 - def raise_if_bind_arity_mismatch(statement, expected, provided); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/sanitization.rb#205 - def replace_bind_variable(value, c = T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/sanitization.rb#196 - def replace_bind_variables(statement, values); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/sanitization.rb#213 - def replace_named_bind_variables(statement, bind_vars); end -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/schema.rb#33 -module ActiveRecord::Schema::Definition - extend ::ActiveSupport::Concern -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/scoping.rb#6 -module ActiveRecord::Scoping - extend ::ActiveSupport::Concern - extend ::ActiveSupport::Autoload -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/scoping.rb#14 -module ActiveRecord::Scoping::ClassMethods - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/scoping.rb#26 - def current_scope(skip_inherited_scope = T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/scoping.rb#30 - def current_scope=(scope); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/scoping.rb#34 - def global_current_scope(skip_inherited_scope = T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/scoping.rb#38 - def global_current_scope=(scope); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/scoping.rb#17 - def scope_attributes; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/scoping.rb#22 - def scope_attributes?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/scoping.rb#42 - def scope_registry; end -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/scoping/default.rb#14 -module ActiveRecord::Scoping::Default - extend ::ActiveSupport::Concern -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/scoping/default.rb#23 -module ActiveRecord::Scoping::Default::ClassMethods - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/scoping/default.rb#62 - def default_scopes?(all_queries: T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/scoping/default.rb#55 - def scope_attributes?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/scoping/default.rb#50 - def unscoped(&block); end - - private - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/scoping/default.rb#145 - def build_default_scope(relation = T.unsafe(nil), all_queries: T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/scoping/default.rb#129 - def default_scope(scope = T.unsafe(nil), all_queries: T.unsafe(nil), &block); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/scoping/default.rb#192 - def evaluate_default_scope; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/scoping/default.rb#177 - def execute_scope?(all_queries, default_scope_obj); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/scoping/default.rb#185 - def ignore_default_scope=(ignore); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/scoping/default.rb#181 - def ignore_default_scope?; end -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/scoping/named.rb#6 -module ActiveRecord::Scoping::Named - extend ::ActiveSupport::Concern -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/scoping/named.rb#9 -module ActiveRecord::Scoping::Named::ClassMethods - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/scoping/named.rb#22 - def all(all_queries: T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/scoping/named.rb#49 - def default_extensions; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/scoping/named.rb#45 - def default_scoped(scope = T.unsafe(nil), all_queries: T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/scoping/named.rb#154 - def scope(name, body, &block); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/scoping/named.rb#36 - def scope_for_association(scope = T.unsafe(nil)); end - - private - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/scoping/named.rb#192 - def singleton_method_added(name); end -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/secure_password.rb#4 -module ActiveRecord::SecurePassword - extend ::ActiveSupport::Concern -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/secure_password.rb#9 -module ActiveRecord::SecurePassword::ClassMethods - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/secure_password.rb#41 - def authenticate_by(attributes); end -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/secure_token.rb#4 -module ActiveRecord::SecureToken - extend ::ActiveSupport::Concern -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/secure_token.rb#11 -module ActiveRecord::SecureToken::ClassMethods - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/secure_token.rb#61 - def generate_unique_secure_token(length: T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/secure_token.rb#46 - def has_secure_token(attribute = T.unsafe(nil), length: T.unsafe(nil), on: T.unsafe(nil)); end -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/serialization.rb#5 -module ActiveRecord::Serialization - extend ::ActiveSupport::Concern -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/signed_id.rb#5 -module ActiveRecord::SignedId - extend ::ActiveSupport::Concern -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/signed_id.rb#16 -module ActiveRecord::SignedId::ClassMethods - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/signed_id.rb#92 - def combine_signed_id_purposes(purpose); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/signed_id.rb#42 - def find_signed(signed_id, purpose: T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/signed_id.rb#62 - def find_signed!(signed_id, purpose: T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/signed_id.rb#71 - def signed_id_verifier; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/signed_id.rb#87 - def signed_id_verifier=(verifier); end -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/spawn_methods.rb#8 -module ActiveRecord::SpawnMethods - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/spawn_methods.rb#75 - def except(*skips); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/spawn_methods.rb#33 - def merge(other, *rest); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/spawn_methods.rb#43 - def merge!(other, *rest); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/spawn_methods.rb#83 - def only(*onlies); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/spawn_methods.rb#9 - def spawn; end - - private - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/relation/spawn_methods.rb#88 - def relation_with(values); end -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/store.rb#96 -module ActiveRecord::Store - extend ::ActiveSupport::Concern -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/store.rb#105 -module ActiveRecord::Store::ClassMethods - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/store.rb#191 - def _store_accessors_module; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/store.rb#106 - def store(store_attribute, options = T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/store.rb#112 - def store_accessor(store_attribute, *keys, prefix: T.unsafe(nil), suffix: T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/store.rb#199 - def stored_attributes; end -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/suppressor.rb#32 -module ActiveRecord::Suppressor - extend ::ActiveSupport::Concern -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/suppressor.rb#41 -module ActiveRecord::Suppressor::ClassMethods - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/suppressor.rb#42 - def suppress(&block); end -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record.rb#168 -module ActiveRecord::Tasks - extend ::ActiveSupport::Autoload -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/timestamp.rb#43 -module ActiveRecord::Timestamp - extend ::ActiveSupport::Concern -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/timestamp.rb#55 -module ActiveRecord::Timestamp::ClassMethods - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/timestamp.rb#72 - def all_timestamp_attributes_in_model; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/timestamp.rb#77 - def current_time_from_proper_timezone; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/timestamp.rb#62 - def timestamp_attributes_for_create_in_model; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/timestamp.rb#67 - def timestamp_attributes_for_update_in_model; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/timestamp.rb#56 - def touch_attributes_with_time(*names, time: T.unsafe(nil)); end - - protected - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/timestamp.rb#82 - def reload_schema_from_cache(recursive = T.unsafe(nil)); end - - private - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/timestamp.rb#90 - def timestamp_attributes_for_create; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/timestamp.rb#94 - def timestamp_attributes_for_update; end -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/token_for.rb#6 -module ActiveRecord::TokenFor - extend ::ActiveSupport::Concern -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/token_for.rb#38 -module ActiveRecord::TokenFor::ClassMethods - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/token_for.rb#90 - def find_by_token_for(purpose, token); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/token_for.rb#99 - def find_by_token_for!(purpose, token); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/token_for.rb#84 - def generates_token_for(purpose, expires_in: T.unsafe(nil), &block); end -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/touch_later.rb#5 -module ActiveRecord::TouchLater - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/touch_later.rb#6 - def before_committed!; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/touch_later.rb#38 - def touch(*names, time: T.unsafe(nil)); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/touch_later.rb#11 - def touch_later(*names); end - - private - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/touch_later.rb#66 - def has_defer_touch_attrs?; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/touch_later.rb#49 - def init_internals; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/touch_later.rb#54 - def surreptitiously_touch(attr_names); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/touch_later.rb#61 - def touch_deferred_attributes; end -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/transactions.rb#5 -module ActiveRecord::Transactions - extend ::ActiveSupport::Concern -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/transactions.rb#209 -module ActiveRecord::Transactions::ClassMethods - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/transactions.rb#232 - def after_commit(*args, &block); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/transactions.rb#244 - def after_create_commit(*args, &block); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/transactions.rb#256 - def after_destroy_commit(*args, &block); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/transactions.rb#264 - def after_rollback(*args, &block); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/transactions.rb#238 - def after_save_commit(*args, &block); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/transactions.rb#250 - def after_update_commit(*args, &block); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/transactions.rb#215 - def before_commit(*args, &block); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/transactions.rb#211 - def transaction(**options, &block); end - - private - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/transactions.rb#292 - def assert_valid_transaction_action(actions); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/transactions.rb#270 - def prepend_option; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/transactions.rb#278 - def set_options_for_callbacks!(args, enforced_options = T.unsafe(nil)); end -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/translation.rb#4 -module ActiveRecord::Translation - include ::ActiveModel::Naming - include ::ActiveModel::Translation - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/translation.rb#20 - def i18n_scope; end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/translation.rb#8 - def lookup_ancestors; end -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/validations.rb#40 -module ActiveRecord::Validations - extend ::ActiveSupport::Concern -end - -# source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/validations/associated.rb#18 -module ActiveRecord::Validations::ClassMethods - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/validations/absence.rb#20 - def validates_absence_of(*attr_names); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/validations/associated.rb#54 - def validates_associated(*attr_names); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/validations/length.rb#19 - def validates_length_of(*attr_names); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/validations/numericality.rb#31 - def validates_numericality_of(*attr_names); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/validations/presence.rb#40 - def validates_presence_of(*attr_names); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/validations/length.rb#19 - def validates_size_of(*attr_names); end - - # source://activerecord/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_record/validations/uniqueness.rb#286 - def validates_uniqueness_of(*attr_names); end -end - -# source://activestorage/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_storage/gem_version.rb#3 -module ActiveStorage - extend ::ActiveSupport::Autoload -end - -# source://activestorage/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_storage/attached/changes.rb#4 -module ActiveStorage::Attached::Changes - extend ::ActiveSupport::Autoload -end - -# source://activestorage/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_storage/attached/model.rb#9 -module ActiveStorage::Attached::Model - extend ::ActiveSupport::Concern -end - -# source://activestorage/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_storage/attached/model.rb#0 -module ActiveStorage::Attached::Model::ClassMethods - # source://activestorage/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_storage/attached/model.rb#179 - def has_many_attached(name, dependent: T.unsafe(nil), service: T.unsafe(nil), strict_loading: T.unsafe(nil)); end - - # source://activestorage/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_storage/attached/model.rb#94 - def has_one_attached(name, dependent: T.unsafe(nil), service: T.unsafe(nil), strict_loading: T.unsafe(nil)); end - - private - - # source://activestorage/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_storage/attached/model.rb#238 - def validate_global_service_configuration; end - - # source://activestorage/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_storage/attached/model.rb#228 - def validate_service_configuration(association_name, service); end -end - -module ActiveStorage::DisableSession - extend ::ActiveSupport::Concern -end - -# source://activestorage/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_storage/fixture_set.rb#40 -class ActiveStorage::FixtureSet - include ::ActiveSupport::Testing::FileFixtures - include ::ActiveRecord::SecureToken - extend ::ActiveRecord::SecureToken::ClassMethods -end - -# source://activestorage/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_storage/reflection.rb#49 -module ActiveStorage::Reflection::ActiveRecordExtensions - extend ::ActiveSupport::Concern -end - -# source://activestorage/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_storage/reflection.rb#56 -module ActiveStorage::Reflection::ActiveRecordExtensions::ClassMethods - # source://activestorage/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_storage/reflection.rb#59 - def reflect_on_all_attachments; end - - # source://activestorage/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_storage/reflection.rb#68 - def reflect_on_attachment(attachment); end -end - -# source://activestorage/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_storage/reflection.rb#31 -module ActiveStorage::Reflection::ReflectionExtension - # source://activestorage/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_storage/reflection.rb#32 - def add_attachment_reflection(model, name, reflection); end - - private - - # source://activestorage/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_storage/reflection.rb#37 - def reflection_class_for(macro); end -end - -# source://activestorage/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_storage/service.rb#43 -class ActiveStorage::Service - extend ::ActiveSupport::Autoload -end - -module ActiveStorage::SetBlob - extend ::ActiveSupport::Concern -end - -module ActiveStorage::SetCurrent - extend ::ActiveSupport::Concern -end - -module ActiveStorage::Streaming - extend ::ActiveSupport::Concern -end - -# source://activestorage/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_storage.rb#383 -module ActiveStorage::Transformers - extend ::ActiveSupport::Autoload -end - -# source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/deep_mergeable.rb#3 -module ActiveSupport - extend ::ActiveSupport::LazyLoadHooks - extend ::ActiveSupport::Autoload -end - -# source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/actionable_error.rb#11 -module ActiveSupport::ActionableError - extend ::ActiveSupport::Concern -end - -# source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/dependencies/autoload.rb#29 -module ActiveSupport::Autoload - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/dependencies/autoload.rb#42 - def autoload(const_name, path = T.unsafe(nil)); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/dependencies/autoload.rb#63 - def autoload_at(path); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/dependencies/autoload.rb#56 - def autoload_under(path); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/dependencies/autoload.rb#70 - def eager_autoload; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/dependencies/autoload.rb#77 - def eager_load!; end - - class << self - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/dependencies/autoload.rb#30 - def extended(base); end - end -end - -# source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/backtrace_cleaner.rb#33 -class ActiveSupport::BacktraceCleaner - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/backtrace_cleaner.rb#34 - def initialize; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/backtrace_cleaner.rb#80 - def add_filter(&block); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/backtrace_cleaner.rb#89 - def add_silencer(&block); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/backtrace_cleaner.rb#43 - def clean(backtrace, kind = T.unsafe(nil)); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/backtrace_cleaner.rb#59 - def clean_frame(frame, kind = T.unsafe(nil)); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/backtrace_cleaner.rb#43 - def filter(backtrace, kind = T.unsafe(nil)); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/backtrace_cleaner.rb#103 - def remove_filters!; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/backtrace_cleaner.rb#96 - def remove_silencers!; end - - private - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/backtrace_cleaner.rb#110 - def add_gem_filter; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/backtrace_cleaner.rb#119 - def add_gem_silencer; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/backtrace_cleaner.rb#123 - def add_stdlib_silencer; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/backtrace_cleaner.rb#127 - def filter_backtrace(backtrace); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/backtrace_cleaner.rb#143 - def noise(backtrace); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/backtrace_cleaner.rb#135 - def silence(backtrace); end -end - -# source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/backtrace_cleaner.rb#108 -ActiveSupport::BacktraceCleaner::FORMATTED_GEMS_PATTERN = T.let(T.unsafe(nil), Regexp) - -# source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/benchmarkable.rb#8 -module ActiveSupport::Benchmarkable - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/benchmarkable.rb#38 - def benchmark(message = T.unsafe(nil), options = T.unsafe(nil), &block); end -end - -# source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#65 -module ActiveSupport::Callbacks - extend ::ActiveSupport::Concern - include GeneratedInstanceMethods - - mixes_in_class_methods GeneratedClassMethods - mixes_in_class_methods ::ActiveSupport::Callbacks::ClassMethods - mixes_in_class_methods ::ActiveSupport::DescendantsTracker - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#97 - def run_callbacks(kind, type = T.unsafe(nil)); end - - private - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#150 - def halted_callback_hook(filter, name); end - - module GeneratedClassMethods - def __callbacks; end - def __callbacks=(value); end - def __callbacks?; end - end - - module GeneratedInstanceMethods - def __callbacks; end - def __callbacks?; end - end -end - -# source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#73 -ActiveSupport::Callbacks::CALLBACK_FILTER_TYPES = T.let(T.unsafe(nil), Array) - -# source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#378 -module ActiveSupport::Callbacks::CallTemplate - class << self - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#536 - def build(filter, callback); end - end -end - -# source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#437 -class ActiveSupport::Callbacks::CallTemplate::InstanceExec0 - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#438 - def initialize(block); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#442 - def expand(target, value, block); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#452 - def inverted_lambda; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#446 - def make_lambda; end -end - -# source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#459 -class ActiveSupport::Callbacks::CallTemplate::InstanceExec1 - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#460 - def initialize(block); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#464 - def expand(target, value, block); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#474 - def inverted_lambda; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#468 - def make_lambda; end -end - -# source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#481 -class ActiveSupport::Callbacks::CallTemplate::InstanceExec2 - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#482 - def initialize(block); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#486 - def expand(target, value, block); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#498 - def inverted_lambda; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#491 - def make_lambda; end -end - -# source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#379 -class ActiveSupport::Callbacks::CallTemplate::MethodCall - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#380 - def initialize(method); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#397 - def expand(target, value, block); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#407 - def inverted_lambda; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#401 - def make_lambda; end -end - -# source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#414 -class ActiveSupport::Callbacks::CallTemplate::ObjectCall - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#415 - def initialize(target, method); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#420 - def expand(target, value, block); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#430 - def inverted_lambda; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#424 - def make_lambda; end -end - -# source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#506 -class ActiveSupport::Callbacks::CallTemplate::ProcCall - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#507 - def initialize(target); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#511 - def expand(target, value, block); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#521 - def inverted_lambda; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#515 - def make_lambda; end -end - -# source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#283 -class ActiveSupport::Callbacks::Callback - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#298 - def initialize(name, filter, kind, options, chain_config); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#333 - def apply(callback_sequence); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#296 - def chain_config; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#347 - def current_scopes; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#323 - def duplicates?(other); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#296 - def filter; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#295 - def kind; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#295 - def kind=(_arg0); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#319 - def matches?(_kind, _filter); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#307 - def merge_conditional_options(chain, if_option:, unless_option:); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#295 - def name; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#295 - def name=(_arg0); end - - private - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#355 - def check_conditionals(conditionals); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#370 - def conditions_lambdas; end - - class << self - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#284 - def build(chain, filter, kind, options); end - end -end - -# source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#606 -class ActiveSupport::Callbacks::CallbackChain - include ::Enumerable - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#611 - def initialize(name, config); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#671 - def append(*callbacks); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#639 - def clear; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#653 - def compile(type); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#609 - def config; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#633 - def delete(o); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#623 - def each(&block); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#625 - def empty?; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#624 - def index(o); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#627 - def insert(index, o); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#609 - def name; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#675 - def prepend(*callbacks); end - - protected - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#680 - def chain; end - - private - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#683 - def append_one(callback); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#703 - def default_terminator; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#646 - def initialize_copy(other); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#690 - def prepend_one(callback); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#697 - def remove_duplicates(callback); end -end - -# source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#559 -class ActiveSupport::Callbacks::CallbackSequence - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#560 - def initialize(nested = T.unsafe(nil), call_template = T.unsafe(nil), user_conditions = T.unsafe(nil)); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#574 - def after(&after); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#579 - def around(call_template, user_conditions); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#569 - def before(&before); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#593 - def expand_call_template(arg, block); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#589 - def final?; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#601 - def invoke_after(arg); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#597 - def invoke_before(arg); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#587 - def nested; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#583 - def skip?(arg); end -end - -# source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#715 -module ActiveSupport::Callbacks::ClassMethods - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#725 - def __update_callbacks(name); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#940 - def define_callbacks(*names); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#716 - def normalize_callback_params(filters, block); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#850 - def reset_callbacks(name); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#776 - def set_callback(name, *filter_list, &block); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#825 - def skip_callback(name, *filter_list, &block); end - - protected - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#971 - def get_callbacks(name); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#975 - def set_callbacks(name, callbacks); end -end - -# source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#153 -module ActiveSupport::Callbacks::Conditionals; end - -# source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#154 -class ActiveSupport::Callbacks::Conditionals::Value - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#155 - def initialize(&block); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#158 - def call(target, value); end -end - -# source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#162 -module ActiveSupport::Callbacks::Filters; end - -# source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#215 -class ActiveSupport::Callbacks::Filters::After - class << self - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#216 - def build(callback_sequence, user_callback, user_conditions, chain_config); end - - private - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#258 - def conditional(callback_sequence, user_callback, user_conditions); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#247 - def halting(callback_sequence, user_callback); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#232 - def halting_and_conditional(callback_sequence, user_callback, user_conditions); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#272 - def simple(callback_sequence, user_callback); end - end -end - -# source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#165 -class ActiveSupport::Callbacks::Filters::Before - class << self - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#166 - def build(callback_sequence, user_callback, user_conditions, chain_config, filter, name); end - - private - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#195 - def halting(callback_sequence, user_callback, halted_lambda, filter, name); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#176 - def halting_and_conditional(callback_sequence, user_callback, user_conditions, halted_lambda, filter, name); end - end -end - -# source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#163 -class ActiveSupport::Callbacks::Filters::Environment < ::Struct - def halted; end - def halted=(_); end - def target; end - def target=(_); end - def value; end - def value=(_); end - - class << self - def [](*_arg0); end - def inspect; end - def keyword_init?; end - def members; end - def new(*_arg0); end - end -end - -# source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/concern.rb#112 -module ActiveSupport::Concern - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/concern.rb#129 - def append_features(base); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/concern.rb#209 - def class_methods(&class_methods_module_definition); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/concern.rb#158 - def included(base = T.unsafe(nil), &block); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/concern.rb#142 - def prepend_features(base); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/concern.rb#175 - def prepended(base = T.unsafe(nil), &block); end - - class << self - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/concern.rb#125 - def extended(base); end - end -end - -# source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/concern.rb#113 -class ActiveSupport::Concern::MultipleIncludedBlocks < ::StandardError - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/concern.rb#114 - def initialize; end -end - -# source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/concern.rb#119 -class ActiveSupport::Concern::MultiplePrependBlocks < ::StandardError - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/concern.rb#120 - def initialize; end -end - -# source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/configurable.rb#11 -module ActiveSupport::Configurable - extend ::ActiveSupport::Concern -end - -# source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/configurable.rb#29 -module ActiveSupport::Configurable::ClassMethods - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/configurable.rb#30 - def config; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/configurable.rb#39 - def configure; end - - private - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/configurable.rb#111 - def config_accessor(*names, instance_reader: T.unsafe(nil), instance_writer: T.unsafe(nil), instance_accessor: T.unsafe(nil), default: T.unsafe(nil)); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/configurable.rb#132 - def inherited(subclass); end -end - -# source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/core_ext/erb/util.rb#7 -module ActiveSupport::CoreExt::ERBUtil - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/core_ext/erb/util.rb#25 - def h(s); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/core_ext/erb/util.rb#25 - def html_escape(s); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/core_ext/erb/util.rb#10 - def unwrapped_html_escape(s); end -end - -# source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/core_ext/erb/util.rb#31 -module ActiveSupport::CoreExt::ERBUtilPrivate - include ::ActiveSupport::CoreExt::ERBUtil - - private - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/core_ext/erb/util.rb#25 - def h(s); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/core_ext/erb/util.rb#25 - def html_escape(s); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/core_ext/erb/util.rb#10 - def unwrapped_html_escape(s); end -end - -# source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/current_attributes.rb#91 -class ActiveSupport::CurrentAttributes - include ::ActiveSupport::Callbacks - extend ::ActiveSupport::Callbacks::ClassMethods - extend ::ActiveSupport::DescendantsTracker -end - -# source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/deprecation/constant_accessor.rb#27 -module ActiveSupport::Deprecation::DeprecatedConstantAccessor - class << self - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/deprecation/constant_accessor.rb#28 - def included(base); end - end -end - -# source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/descendants_tracker.rb#15 -module ActiveSupport::DescendantsTracker - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/descendants_tracker.rb#109 - def descendants; end - - class << self - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/descendants_tracker.rb#79 - def clear(classes); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/descendants_tracker.rb#104 - def descendants(klass); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/descendants_tracker.rb#70 - def disable_clear!; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/descendants_tracker.rb#90 - def reject!(classes); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/descendants_tracker.rb#100 - def subclasses(klass); end - end -end - -# source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/descendants_tracker.rb#59 -module ActiveSupport::DescendantsTracker::ReloadedClassesFiltering - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/descendants_tracker.rb#64 - def descendants; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/descendants_tracker.rb#60 - def subclasses; end -end - -# source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/descendants_tracker.rb#21 -class ActiveSupport::DescendantsTracker::WeakSet < ::ObjectSpace::WeakMap - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/descendants_tracker.rb#24 - def <<(object); end - - def to_a; end -end - -# source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/execution_wrapper.rb#8 -class ActiveSupport::ExecutionWrapper - include ::ActiveSupport::Callbacks - extend ::ActiveSupport::Callbacks::ClassMethods - extend ::ActiveSupport::DescendantsTracker -end - -# source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/lazy_load_hooks.rb#43 -module ActiveSupport::LazyLoadHooks - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/lazy_load_hooks.rb#60 - def on_load(name, options = T.unsafe(nil), &block); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/lazy_load_hooks.rb#75 - def run_load_hooks(name, base = T.unsafe(nil)); end - - private - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/lazy_load_hooks.rb#91 - def execute_hook(name, base, options, block); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/lazy_load_hooks.rb#83 - def with_execution_control(name, block, once); end - - class << self - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/lazy_load_hooks.rb#44 - def extended(base); end - end -end - -# source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/log_subscriber.rb#63 -class ActiveSupport::LogSubscriber < ::ActiveSupport::Subscriber - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/log_subscriber.rb#130 - def initialize; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/log_subscriber.rb#143 - def call(event); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/log_subscriber.rb#86 - def colorize_logging; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/log_subscriber.rb#86 - def colorize_logging=(val); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/log_subscriber.rb#160 - def debug(progname = T.unsafe(nil), &block); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/log_subscriber.rb#160 - def error(progname = T.unsafe(nil), &block); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/log_subscriber.rb#155 - def event_levels=(_arg0); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/log_subscriber.rb#160 - def fatal(progname = T.unsafe(nil), &block); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/log_subscriber.rb#160 - def info(progname = T.unsafe(nil), &block); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/log_subscriber.rb#135 - def logger; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/log_subscriber.rb#149 - def publish_event(event); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/log_subscriber.rb#139 - def silenced?(event); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/log_subscriber.rb#160 - def unknown(progname = T.unsafe(nil), &block); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/log_subscriber.rb#160 - def warn(progname = T.unsafe(nil), &block); end - - private - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/log_subscriber.rb#169 - def color(text, color, mode_options = T.unsafe(nil)); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/log_subscriber.rb#191 - def log_exception(name, e); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/log_subscriber.rb#177 - def mode_from(options); end - - class << self - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/log_subscriber.rb#96 - def attach_to(*_arg0, **_arg1, &_arg2); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/log_subscriber.rb#86 - def colorize_logging; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/log_subscriber.rb#86 - def colorize_logging=(val); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/log_subscriber.rb#109 - def flush_all!; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/log_subscriber.rb#87 - def log_levels; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/log_subscriber.rb#87 - def log_levels=(value); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/log_subscriber.rb#87 - def log_levels?; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/log_subscriber.rb#104 - def log_subscribers; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/log_subscriber.rb#90 - def logger; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/log_subscriber.rb#102 - def logger=(_arg0); end - - private - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/log_subscriber.rb#114 - def fetch_public_methods(subscriber, inherit_all); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/log_subscriber.rb#118 - def set_event_levels; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/log_subscriber.rb#124 - def subscribe_log_level(method, level); end - end -end - -# source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/log_subscriber.rb#77 -ActiveSupport::LogSubscriber::BLACK = T.let(T.unsafe(nil), String) - -# source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/log_subscriber.rb#81 -ActiveSupport::LogSubscriber::BLUE = T.let(T.unsafe(nil), String) - -# source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/log_subscriber.rb#66 -ActiveSupport::LogSubscriber::BOLD = T.let(T.unsafe(nil), ActiveSupport::Deprecation::DeprecatedObjectProxy) - -# source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/log_subscriber.rb#65 -ActiveSupport::LogSubscriber::CLEAR = T.let(T.unsafe(nil), ActiveSupport::Deprecation::DeprecatedObjectProxy) - -# source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/log_subscriber.rb#83 -ActiveSupport::LogSubscriber::CYAN = T.let(T.unsafe(nil), String) - -# source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/log_subscriber.rb#79 -ActiveSupport::LogSubscriber::GREEN = T.let(T.unsafe(nil), String) - -# source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/log_subscriber.rb#82 -ActiveSupport::LogSubscriber::MAGENTA = T.let(T.unsafe(nil), String) - -# source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/log_subscriber.rb#69 -ActiveSupport::LogSubscriber::MODES = T.let(T.unsafe(nil), Hash) - -# source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/log_subscriber.rb#78 -ActiveSupport::LogSubscriber::RED = T.let(T.unsafe(nil), String) - -# source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/log_subscriber.rb#84 -ActiveSupport::LogSubscriber::WHITE = T.let(T.unsafe(nil), String) - -# source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/log_subscriber.rb#80 -ActiveSupport::LogSubscriber::YELLOW = T.let(T.unsafe(nil), String) - -# source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/logger_silence.rb#8 -module ActiveSupport::LoggerSilence - extend ::ActiveSupport::Concern -end - -# source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/logger_thread_safe_level.rb#7 -module ActiveSupport::LoggerThreadSafeLevel - extend ::ActiveSupport::Concern -end - -# source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/number_helper.rb#4 -module ActiveSupport::NumberHelper - extend ::ActiveSupport::Autoload - extend ::ActiveSupport::NumberHelper -end - -# source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/rescuable.rb#11 -module ActiveSupport::Rescuable - extend ::ActiveSupport::Concern - include GeneratedInstanceMethods - - mixes_in_class_methods GeneratedClassMethods - mixes_in_class_methods ::ActiveSupport::Rescuable::ClassMethods - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/rescuable.rb#172 - def handler_for_rescue(exception); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/rescuable.rb#166 - def rescue_with_handler(exception); end - - module GeneratedClassMethods - def rescue_handlers; end - def rescue_handlers=(value); end - def rescue_handlers?; end - end - - module GeneratedInstanceMethods - def rescue_handlers; end - def rescue_handlers=(value); end - def rescue_handlers?; end - end -end - -# source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/rescuable.rb#18 -module ActiveSupport::Rescuable::ClassMethods - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/rescuable.rb#105 - def handler_for_rescue(exception, object: T.unsafe(nil)); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/rescuable.rb#53 - def rescue_from(*klasses, with: T.unsafe(nil), &block); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/rescuable.rb#90 - def rescue_with_handler(exception, object: T.unsafe(nil), visited_exceptions: T.unsafe(nil)); end - - private - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/rescuable.rb#139 - def constantize_rescue_handler_class(class_or_name); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/rescuable.rb#124 - def find_rescue_handler(exception); end -end - -# source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/subscriber.rb#32 -class ActiveSupport::Subscriber - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/subscriber.rb#130 - def initialize; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/subscriber.rb#135 - def call(event); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/subscriber.rb#128 - def patterns; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/subscriber.rb#140 - def publish_event(event); end - - class << self - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/subscriber.rb#35 - def attach_to(namespace, subscriber = T.unsafe(nil), notifier = T.unsafe(nil), inherit_all: T.unsafe(nil)); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/subscriber.rb#50 - def detach_from(namespace, notifier = T.unsafe(nil)); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/subscriber.rb#69 - def method_added(event); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/subscriber.rb#78 - def subscribers; end - - private - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/subscriber.rb#85 - def add_event_subscriber(event); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/subscriber.rb#123 - def fetch_public_methods(subscriber, inherit_all); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/subscriber.rb#107 - def find_attached_subscriber; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/subscriber.rb#111 - def invalid_event?(event); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/subscriber.rb#83 - def namespace; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/subscriber.rb#83 - def notifier; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/subscriber.rb#119 - def pattern_subscribed?(pattern); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/subscriber.rb#115 - def prepare_pattern(event); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/subscriber.rb#96 - def remove_event_subscriber(event); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/subscriber.rb#83 - def subscriber; end - end -end - -# source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/test_case.rb#20 -class ActiveSupport::TestCase < ::Minitest::Test - include ::ActiveSupport::Testing::SetupAndTeardown - include ::ActiveSupport::Testing::TaggedLogging - include ::ActiveSupport::Callbacks - include ::ActiveSupport::Testing::Assertions - include ::ActiveSupport::Testing::ErrorReporterAssertions - include ::ActiveSupport::Testing::Deprecation - include ::ActiveSupport::Testing::ConstantStubbing - include ::ActiveSupport::Testing::TimeHelpers - include ::ActiveSupport::Testing::FileFixtures - extend ::ActiveSupport::Callbacks::ClassMethods - extend ::ActiveSupport::DescendantsTracker - extend ::ActiveSupport::Testing::SetupAndTeardown::ClassMethods - extend ::ActiveSupport::Testing::Declarative - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#70 - def __callbacks; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#70 - def __callbacks?; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#951 - def _run_setup_callbacks(&block); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#951 - def _run_teardown_callbacks(&block); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#963 - def _setup_callbacks; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#963 - def _teardown_callbacks; end - - # source://minitest/5.20.0lib/minitest/assertions.rb#735 - def assert_no_match(matcher, obj, msg = T.unsafe(nil)); end - - # source://minitest/5.20.0lib/minitest/assertions.rb#664 - def assert_not_empty(obj, msg = T.unsafe(nil)); end - - # source://minitest/5.20.0lib/minitest/assertions.rb#675 - def assert_not_equal(exp, act, msg = T.unsafe(nil)); end - - # source://minitest/5.20.0lib/minitest/assertions.rb#687 - def assert_not_in_delta(exp, act, delta = T.unsafe(nil), msg = T.unsafe(nil)); end - - # source://minitest/5.20.0lib/minitest/assertions.rb#699 - def assert_not_in_epsilon(a, b, epsilon = T.unsafe(nil), msg = T.unsafe(nil)); end - - # source://minitest/5.20.0lib/minitest/assertions.rb#706 - def assert_not_includes(collection, obj, msg = T.unsafe(nil)); end - - # source://minitest/5.20.0lib/minitest/assertions.rb#717 - def assert_not_instance_of(cls, obj, msg = T.unsafe(nil)); end - - # source://minitest/5.20.0lib/minitest/assertions.rb#727 - def assert_not_kind_of(cls, obj, msg = T.unsafe(nil)); end - - # source://minitest/5.20.0lib/minitest/assertions.rb#745 - def assert_not_nil(obj, msg = T.unsafe(nil)); end - - # source://minitest/5.20.0lib/minitest/assertions.rb#780 - def assert_not_operator(o1, op, o2 = T.unsafe(nil), msg = T.unsafe(nil)); end - - # source://minitest/5.20.0lib/minitest/assertions.rb#803 - def assert_not_predicate(o1, op, msg = T.unsafe(nil)); end - - # source://minitest/5.20.0lib/minitest/assertions.rb#811 - def assert_not_respond_to(obj, meth, msg = T.unsafe(nil)); end - - # source://minitest/5.20.0lib/minitest/assertions.rb#820 - def assert_not_same(exp, act, msg = T.unsafe(nil)); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/testing/file_fixtures.rb#20 - def file_fixture_path; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/testing/file_fixtures.rb#20 - def file_fixture_path?; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/test_case.rb#298 - def inspect; end - - # source://minitest/5.20.0lib/minitest.rb#307 - def method_name; end - - class << self - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#70 - def __callbacks; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#70 - def __callbacks=(value); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#70 - def __callbacks?; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#955 - def _setup_callbacks; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#959 - def _setup_callbacks=(value); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#955 - def _teardown_callbacks; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#959 - def _teardown_callbacks=(value); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/testing/file_fixtures.rb#20 - def file_fixture_path; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/testing/file_fixtures.rb#20 - def file_fixture_path=(value); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/testing/file_fixtures.rb#20 - def file_fixture_path?; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/test_case.rb#80 - def parallelize(workers: T.unsafe(nil), with: T.unsafe(nil), threshold: T.unsafe(nil)); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/test_case.rb#100 - def parallelize_setup(&block); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/test_case.rb#117 - def parallelize_teardown(&block); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/test_case.rb#43 - def test_order; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/test_case.rb#33 - def test_order=(new_order); end - end -end - -# source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/test_case.rb#21 -ActiveSupport::TestCase::Assertion = Minitest::Assertion - -# source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/testing/assertions.rb#7 -module ActiveSupport::Testing::Assertions - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/testing/assertions.rb#191 - def assert_changes(expression, message = T.unsafe(nil), from: T.unsafe(nil), to: T.unsafe(nil), &block); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/testing/assertions.rb#101 - def assert_difference(expression, *args, &block); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/testing/assertions.rb#238 - def assert_no_changes(expression, message = T.unsafe(nil), from: T.unsafe(nil), &block); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/testing/assertions.rb#153 - def assert_no_difference(expression, message = T.unsafe(nil), &block); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/testing/assertions.rb#21 - def assert_not(object, message = T.unsafe(nil)); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/testing/assertions.rb#48 - def assert_nothing_raised; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/testing/assertions.rb#34 - def assert_raise(*exp, match: T.unsafe(nil), &block); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/testing/assertions.rb#34 - def assert_raises(*exp, match: T.unsafe(nil), &block); end - - private - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/testing/assertions.rb#265 - def _assert_nothing_raised_or_warn(assertion, &block); end -end - -# source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/testing/assertions.rb#8 -ActiveSupport::Testing::Assertions::UNTRACKED = T.let(T.unsafe(nil), Object) - -# source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/testing/constant_lookup.rb#32 -module ActiveSupport::Testing::ConstantLookup - extend ::ActiveSupport::Concern -end - -# source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/testing/constant_lookup.rb#35 -module ActiveSupport::Testing::ConstantLookup::ClassMethods - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/testing/constant_lookup.rb#36 - def determine_constant_from_test_name(test_name); end -end - -# source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/testing/constant_stubbing.rb#5 -module ActiveSupport::Testing::ConstantStubbing - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/testing/constant_stubbing.rb#21 - def stub_const(mod, constant, new_value); end -end - -# source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/testing/declarative.rb#5 -module ActiveSupport::Testing::Declarative - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/testing/declarative.rb#13 - def test(name, &block); end -end - -# source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/testing/deprecation.rb#7 -module ActiveSupport::Testing::Deprecation - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/testing/deprecation.rb#30 - def assert_deprecated(match = T.unsafe(nil), deprecator = T.unsafe(nil), &block); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/testing/deprecation.rb#54 - def assert_not_deprecated(deprecator = T.unsafe(nil), &block); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/testing/deprecation.rb#72 - def collect_deprecations(deprecator = T.unsafe(nil)); end -end - -# source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/testing/error_reporter_assertions.rb#5 -module ActiveSupport::Testing::ErrorReporterAssertions - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/testing/error_reporter_assertions.rb#88 - def assert_error_reported(error_class = T.unsafe(nil), &block); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/testing/error_reporter_assertions.rb#62 - def assert_no_error_reported(&block); end -end - -# source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/testing/error_reporter_assertions.rb#6 -module ActiveSupport::Testing::ErrorReporterAssertions::ErrorCollector - class << self - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/testing/error_reporter_assertions.rb#16 - def record; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/testing/error_reporter_assertions.rb#29 - def report(error, **kwargs); end - - private - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/testing/error_reporter_assertions.rb#38 - def subscribe; end - end -end - -# source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/testing/error_reporter_assertions.rb#10 -class ActiveSupport::Testing::ErrorReporterAssertions::ErrorCollector::Report < ::Struct - def context; end - def context=(_); end - def error; end - def error=(_); end - def handled; end - def handled=(_); end - def handled?; end - def severity; end - def severity=(_); end - def source; end - def source=(_); end - - class << self - def [](*_arg0); end - def inspect; end - def keyword_init?; end - def members; end - def new(*_arg0); end - end -end - -# source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/testing/file_fixtures.rb#16 -module ActiveSupport::Testing::FileFixtures - extend ::ActiveSupport::Concern -end - -# source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/testing/setup_and_teardown.rb#20 -module ActiveSupport::Testing::SetupAndTeardown - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/testing/setup_and_teardown.rb#44 - def after_teardown; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/testing/setup_and_teardown.rb#39 - def before_setup; end - - class << self - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/testing/setup_and_teardown.rb#21 - def prepended(klass); end - end -end - -# source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/testing/setup_and_teardown.rb#27 -module ActiveSupport::Testing::SetupAndTeardown::ClassMethods - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/testing/setup_and_teardown.rb#29 - def setup(*args, &block); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/testing/setup_and_teardown.rb#34 - def teardown(*args, &block); end -end - -# source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/testing/tagged_logging.rb#7 -module ActiveSupport::Testing::TaggedLogging - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/testing/tagged_logging.rb#10 - def before_setup; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/testing/tagged_logging.rb#8 - def tagged_logger=(_arg0); end - - private - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/testing/tagged_logging.rb#22 - def tagged_logger; end -end - -# source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/testing/time_helpers.rb#68 -module ActiveSupport::Testing::TimeHelpers - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/testing/time_helpers.rb#69 - def after_teardown; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/testing/time_helpers.rb#252 - def freeze_time(with_usec: T.unsafe(nil), &block); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/testing/time_helpers.rb#97 - def travel(duration, with_usec: T.unsafe(nil), &block); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/testing/time_helpers.rb#226 - def travel_back; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/testing/time_helpers.rb#133 - def travel_to(date_or_time, with_usec: T.unsafe(nil)); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/testing/time_helpers.rb#226 - def unfreeze_time; end - - private - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/testing/time_helpers.rb#261 - def in_block; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/testing/time_helpers.rb#261 - def in_block=(_arg0); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/testing/time_helpers.rb#257 - def simple_stubs; end -end - -# source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/core_ext/class/attribute.rb#5 -class Class < ::Module - include ::ActiveSupport::DescendantsTracker::ReloadedClassesFiltering -end - -module ERB::Escape - private - - def html_escape(_arg0); end - - class << self - def html_escape(_arg0); end - end -end - -# source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/core_ext/erb/util.rb#39 -module ERB::Util - include ::ActiveSupport::CoreExt::ERBUtil - include ::ActiveSupport::CoreExt::ERBUtilPrivate - extend ::ActiveSupport::CoreExt::ERBUtil -end - -# source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/gem_version.rb#3 -module Rails - extend ::ActiveSupport::Autoload - extend ::ActiveSupport::Benchmarkable - - class << self - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails.rb#42 - def app_class; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails.rb#42 - def app_class=(_arg0); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails.rb#43 - def application; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails.rb#41 - def application=(_arg0); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails.rb#123 - def autoloaders; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails.rb#54 - def backtrace_cleaner; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails.rb#42 - def cache; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails.rb#42 - def cache=(_arg0); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails.rb#50 - def configuration; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/deprecator.rb#4 - def deprecator; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails.rb#72 - def env; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails.rb#79 - def env=(environment); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails.rb#90 - def error; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/gem_version.rb#5 - def gem_version; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails.rb#103 - def groups(*groups); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails.rb#47 - def initialize!(*_arg0, **_arg1, &_arg2); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails.rb#47 - def initialized?(*_arg0, **_arg1, &_arg2); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails.rb#42 - def logger; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails.rb#42 - def logger=(_arg0); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails.rb#119 - def public_path; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails.rb#63 - def root; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/version.rb#7 - def version; end - end -end - -# source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application.rb#62 -class Rails::Application < ::Rails::Engine - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application.rb#109 - def initialize(initial_variable_values = T.unsafe(nil), &block); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application.rb#100 - def assets; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application.rb#100 - def assets=(_arg0); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application.rb#102 - def autoloaders; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/engine.rb#510 - def build_middleware_stack; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application.rb#434 - def config; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application.rb#438 - def config=(_arg0); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application.rb#271 - def config_for(name, env: T.unsafe(nil)); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application.rb#354 - def console(&blk); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application.rb#499 - def credentials; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application.rb#457 - def credentials=(_arg0); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application.rb#104 - def default_url_options(*_arg0, **_arg1, &_arg2); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application.rb#104 - def default_url_options=(arg); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application.rb#230 - def deprecators; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application.rb#557 - def eager_load!; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application.rb#518 - def encrypted(path, key_path: T.unsafe(nil), env_key: T.unsafe(nil)); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application.rb#300 - def env_config; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application.rb#102 - def executor; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application.rb#360 - def generators(&blk); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application.rb#531 - def helpers_paths; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application.rb#421 - def initialize!(group = T.unsafe(nil)); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application.rb#134 - def initialized?; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application.rb#342 - def initializer(name, opts = T.unsafe(nil), &block); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application.rb#428 - def initializers; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application.rb#371 - def isolate_namespace(mod); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application.rb#161 - def key_generator(secret_key_base = T.unsafe(nil)); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application.rb#551 - def load_generators(app = T.unsafe(nil)); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application.rb#222 - def message_verifier(verifier_name); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application.rb#197 - def message_verifiers; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application.rb#547 - def migration_railties; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application.rb#335 - def rake_tasks(&block); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application.rb#153 - def reload_routes!; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application.rb#102 - def reloader; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application.rb#102 - def reloaders; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application.rb#397 - def require_environment!; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application.rb#402 - def routes_reloader; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application.rb#138 - def run_load_hooks!; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application.rb#348 - def runner(&blk); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application.rb#100 - def sandbox; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application.rb#100 - def sandbox=(_arg0); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application.rb#100 - def sandbox?; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application.rb#475 - def secret_key_base; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application.rb#440 - def secrets; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application.rb#457 - def secrets=(_arg0); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application.rb#366 - def server(&blk); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application.rb#527 - def to_app; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application.rb#409 - def watchable_args; end - - protected - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application.rb#630 - def default_middleware_stack; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application.rb#645 - def ensure_generator_templates_added; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application.rb#596 - def ordered_railties; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application.rb#618 - def railties_initializers(current); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application.rb#585 - def run_console_blocks(app); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application.rb#575 - def run_generators_blocks(app); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application.rb#580 - def run_runner_blocks(app); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application.rb#590 - def run_server_blocks(app); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application.rb#564 - def run_tasks_blocks(app); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application.rb#635 - def validate_secret_key_base(secret_key_base); end - - private - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application.rb#683 - def build_middleware; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application.rb#676 - def build_request(env); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application.rb#687 - def coerce_same_site_protection(protection); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application.rb#691 - def filter_parameters; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application.rb#651 - def generate_local_secret; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application.rb#670 - def secrets_secret_key_base; end - - class << self - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application.rb#390 - def add_lib_to_load_path!(root); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application.rb#84 - def create(initial_variable_values = T.unsafe(nil), &block); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application.rb#88 - def find_root(from); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application.rb#71 - def inherited(base); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application.rb#80 - def instance; end - - def new(*_arg0); end - end -end - -# source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/bootstrap.rb#12 -module Rails::Application::Bootstrap - include ::Rails::Initializable - extend ::Rails::Initializable::ClassMethods -end - -# source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#13 -class Rails::Application::Configuration < ::Rails::Engine::Configuration - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#30 - def initialize(*_arg0); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def add_autoload_paths_to_load_path; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def add_autoload_paths_to_load_path=(_arg0); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def allow_concurrency; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def allow_concurrency=(_arg0); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#534 - def annotations; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#28 - def api_only; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#377 - def api_only=(value); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def asset_host; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def asset_host=(_arg0); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def assume_ssl; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def assume_ssl=(_arg0); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def autoflush_log; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def autoflush_log=(_arg0); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#466 - def autoload_lib(ignore:); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#478 - def autoload_lib_once(ignore:); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def beginning_of_week; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def beginning_of_week=(_arg0); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def cache_classes; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def cache_classes=(_arg0); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def cache_store; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def cache_store=(_arg0); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#490 - def colorize_logging; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#494 - def colorize_logging=(val); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def consider_all_requests_local; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def consider_all_requests_local=(_arg0); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def console; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def console=(_arg0); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#539 - def content_security_policy(&block); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def content_security_policy_nonce_directives; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def content_security_policy_nonce_directives=(_arg0); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def content_security_policy_nonce_generator; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def content_security_policy_nonce_generator=(_arg0); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def content_security_policy_report_only; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def content_security_policy_report_only=(_arg0); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def credentials; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def credentials=(_arg0); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#429 - def database_configuration; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#384 - def debug_exception_response_format; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#388 - def debug_exception_response_format=(_arg0); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#556 - def default_log_file; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def disable_sandbox; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def disable_sandbox=(_arg0); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def dom_testing_default_html_version; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def dom_testing_default_html_version=(_arg0); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def eager_load; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def eager_load=(_arg0); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#359 - def enable_dependency_loading; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#364 - def enable_dependency_loading=(value); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#345 - def enable_reloading; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#349 - def enable_reloading=(value); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#28 - def encoding; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#369 - def encoding=(value); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def exceptions_app; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def exceptions_app=(_arg0); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def file_watcher; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def file_watcher=(_arg0); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def filter_parameters; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def filter_parameters=(_arg0); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def filter_redirect; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def filter_redirect=(_arg0); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def force_ssl; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def force_ssl=(_arg0); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def helpers_paths; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def helpers_paths=(_arg0); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def host_authorization; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def host_authorization=(_arg0); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def hosts; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def hosts=(_arg0); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#568 - def inspect; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#411 - def load_database_yaml; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#92 - def load_defaults(target_version); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#28 - def loaded_config_version; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def log_file_size; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def log_file_size=(_arg0); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def log_formatter; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def log_formatter=(_arg0); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def log_level; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def log_level=(_arg0); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def log_tags; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def log_tags=(_arg0); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def logger; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def logger=(_arg0); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#390 - def paths; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#548 - def permissions_policy(&block); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def precompile_filter_parameters; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def precompile_filter_parameters=(_arg0); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def public_file_server; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def public_file_server=(_arg0); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def railties_order; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def railties_order=(_arg0); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def rake_eager_load; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def rake_eager_load=(_arg0); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def read_encrypted_secrets; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def read_encrypted_secrets=(_arg0); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def relative_url_root; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def relative_url_root=(_arg0); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def reload_classes_only_on_change; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def reload_classes_only_on_change=(_arg0); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#341 - def reloading_enabled?; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def require_master_key; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def require_master_key=(_arg0); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def sandbox_by_default; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def sandbox_by_default=(_arg0); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def secret_key_base; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def secret_key_base=(_arg0); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def server_timing; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def server_timing=(_arg0); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def session_options; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def session_options=(_arg0); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#514 - def session_store(new_session_store = T.unsafe(nil), **options); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#530 - def session_store?; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def ssl_options; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def ssl_options=(_arg0); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def time_zone; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def time_zone=(_arg0); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def x; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#14 - def x=(_arg0); end - - private - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#593 - def credentials_defaults; end -end - -# source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#572 -class Rails::Application::Configuration::Custom - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#573 - def initialize; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#577 - def method_missing(method, *args); end - - private - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/configuration.rb#587 - def respond_to_missing?(symbol, *_arg1); end -end - -# source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/default_middleware_stack.rb#5 -class Rails::Application::DefaultMiddlewareStack - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/default_middleware_stack.rb#8 - def initialize(app, config, paths); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/default_middleware_stack.rb#6 - def app; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/default_middleware_stack.rb#14 - def build_stack; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/default_middleware_stack.rb#6 - def config; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/default_middleware_stack.rb#6 - def paths; end - - private - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/default_middleware_stack.rb#109 - def load_rack_cache; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/default_middleware_stack.rb#131 - def show_exceptions_app; end -end - -# source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/finisher.rb#11 -module Rails::Application::Finisher - include ::Rails::Initializable - extend ::Rails::Initializable::ClassMethods -end - -# source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/finisher.rb#110 -module Rails::Application::Finisher::InterlockHook - class << self - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/finisher.rb#115 - def complete(_state); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/finisher.rb#111 - def run; end - end -end - -# source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/finisher.rb#96 -class Rails::Application::Finisher::MonitorHook - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/finisher.rb#97 - def initialize(monitor = T.unsafe(nil)); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/finisher.rb#105 - def complete(_state); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/finisher.rb#101 - def run; end -end - -# source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application.rb#106 -Rails::Application::INITIAL_VARIABLES = T.let(T.unsafe(nil), Array) - -# source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/routes_reloader.rb#7 -class Rails::Application::RoutesReloader - include ::ActiveSupport::Callbacks - extend ::ActiveSupport::Callbacks::ClassMethods - extend ::ActiveSupport::DescendantsTracker - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/routes_reloader.rb#15 - def initialize; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#70 - def __callbacks; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#70 - def __callbacks?; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/routes_reloader.rb#11 - def eager_load; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/routes_reloader.rb#11 - def eager_load=(_arg0); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/routes_reloader.rb#13 - def execute(*_arg0, **_arg1, &_arg2); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/routes_reloader.rb#13 - def execute_if_updated(*_arg0, **_arg1, &_arg2); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/routes_reloader.rb#10 - def external_routes; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/routes_reloader.rb#10 - def paths; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/routes_reloader.rb#22 - def reload!; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/routes_reloader.rb#10 - def route_sets; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/routes_reloader.rb#12 - def run_after_load_paths=(_arg0); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/routes_reloader.rb#13 - def updated?(*_arg0, **_arg1, &_arg2); end - - private - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/routes_reloader.rb#42 - def clear!; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/routes_reloader.rb#58 - def finalize!; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/routes_reloader.rb#49 - def load_paths; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/routes_reloader.rb#62 - def revert; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/routes_reloader.rb#54 - def run_after_load_paths; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application/routes_reloader.rb#32 - def updater; end - - class << self - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#70 - def __callbacks; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#70 - def __callbacks=(value); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#70 - def __callbacks?; end - end -end - -# source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application_controller.rb#3 -class Rails::ApplicationController < ::ActionController::Base - private - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/layouts.rb#330 - def _layout(lookup_context, formats); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application_controller.rb#25 - def disable_content_security_policy_nonce!; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application_controller.rb#21 - def local_request?; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/application_controller.rb#15 - def require_local!; end - - class << self - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#70 - def __callbacks; end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/layouts.rb#211 - def _layout; end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/layouts.rb#212 - def _layout_conditions; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal.rb#262 - def middleware_stack; end - end -end - -# source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/autoloaders.rb#4 -class Rails::Autoloaders - include ::Enumerable - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/autoloaders.rb#11 - def initialize; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/autoloaders.rb#31 - def each; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/autoloaders.rb#40 - def log!; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/autoloaders.rb#36 - def logger=(logger); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/autoloaders.rb#9 - def main; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/autoloaders.rb#9 - def once; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/autoloaders.rb#44 - def zeitwerk_enabled?; end -end - -# source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/autoloaders/inflector.rb#7 -module Rails::Autoloaders::Inflector - class << self - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/autoloaders/inflector.rb#12 - def camelize(basename, _abspath); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/autoloaders/inflector.rb#16 - def inflect(overrides); end - end -end - -# source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/backtrace_cleaner.rb#7 -class Rails::BacktraceCleaner < ::ActiveSupport::BacktraceCleaner - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/backtrace_cleaner.rb#11 - def initialize; end -end - -# source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/backtrace_cleaner.rb#8 -Rails::BacktraceCleaner::APP_DIRS_PATTERN = T.let(T.unsafe(nil), Regexp) - -# source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/backtrace_cleaner.rb#9 -Rails::BacktraceCleaner::RENDER_TEMPLATE_PATTERN = T.let(T.unsafe(nil), Regexp) - -module Rails::Conductor; end -module Rails::Conductor::ActionMailbox; end -module Rails::Conductor::ActionMailbox::InboundEmails; end - -class Rails::Conductor::ActionMailbox::InboundEmails::SourcesController < ::Rails::Conductor::BaseController - def create; end - def new; end - - private - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/layouts.rb#330 - def _layout(lookup_context, formats); end - - class << self - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal.rb#262 - def middleware_stack; end - end -end - -class Rails::Conductor::ActionMailbox::InboundEmailsController < ::Rails::Conductor::BaseController - def create; end - def index; end - def new; end - def show; end - - private - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/layouts.rb#330 - def _layout(lookup_context, formats); end - - def create_inbound_email(mail); end - def mail_params; end - def new_mail; end - - class << self - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal.rb#262 - def middleware_stack; end - end -end - -class Rails::Conductor::ActionMailbox::IncineratesController < ::Rails::Conductor::BaseController - def create; end - - private - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/layouts.rb#330 - def _layout(lookup_context, formats); end - - class << self - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal.rb#262 - def middleware_stack; end - end -end - -class Rails::Conductor::ActionMailbox::ReroutesController < ::Rails::Conductor::BaseController - def create; end - - private - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/layouts.rb#330 - def _layout(lookup_context, formats); end - - def reroute(inbound_email); end - - class << self - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal.rb#262 - def middleware_stack; end - end -end - -class Rails::Conductor::BaseController < ::ActionController::Base - private - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/layouts.rb#330 - def _layout(lookup_context, formats); end - - def ensure_development_env; end - - class << self - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#70 - def __callbacks; end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/layouts.rb#211 - def _layout; end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/layouts.rb#212 - def _layout_conditions; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal.rb#262 - def middleware_stack; end - end -end - -# source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/configuration.rb#9 -module Rails::Configuration; end - -# source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/configuration.rb#104 -class Rails::Configuration::Generators - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/configuration.rb#108 - def initialize; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/configuration.rb#130 - def after_generate(&block); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/configuration.rb#106 - def after_generate_callbacks; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/configuration.rb#105 - def aliases; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/configuration.rb#105 - def aliases=(_arg0); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/configuration.rb#105 - def api_only; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/configuration.rb#105 - def api_only=(_arg0); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/configuration.rb#105 - def colorize_logging; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/configuration.rb#105 - def colorize_logging=(_arg0); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/configuration.rb#105 - def fallbacks; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/configuration.rb#105 - def fallbacks=(_arg0); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/configuration.rb#106 - def hidden_namespaces; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/configuration.rb#126 - def hide_namespace(namespace); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/configuration.rb#134 - def method_missing(method, *args); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/configuration.rb#105 - def options; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/configuration.rb#105 - def options=(_arg0); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/configuration.rb#105 - def templates; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/configuration.rb#105 - def templates=(_arg0); end - - private - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/configuration.rb#119 - def initialize_copy(source); end -end - -# source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/configuration.rb#46 -class Rails::Configuration::MiddlewareStackProxy - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/configuration.rb#47 - def initialize(operations = T.unsafe(nil), delete_operations = T.unsafe(nil)); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/configuration.rb#96 - def +(other); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/configuration.rb#70 - def delete(*_arg0, **_arg1, &_arg2); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/configuration.rb#52 - def insert(*_arg0, **_arg1, &_arg2); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/configuration.rb#58 - def insert_after(*_arg0, **_arg1, &_arg2); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/configuration.rb#52 - def insert_before(*_arg0, **_arg1, &_arg2); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/configuration.rb#88 - def merge_into(other); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/configuration.rb#74 - def move(*_arg0, **_arg1, &_arg2); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/configuration.rb#80 - def move_after(*_arg0, **_arg1, &_arg2); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/configuration.rb#74 - def move_before(*_arg0, **_arg1, &_arg2); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/configuration.rb#62 - def swap(*_arg0, **_arg1, &_arg2); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/configuration.rb#84 - def unshift(*_arg0, **_arg1, &_arg2); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/configuration.rb#66 - def use(*_arg0, **_arg1, &_arg2); end - - protected - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/configuration.rb#101 - def delete_operations; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/configuration.rb#101 - def operations; end -end - -# source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/engine/railties.rb#4 -class Rails::Engine < ::Rails::Railtie - include ::ActiveSupport::Callbacks - extend ::ActiveSupport::Callbacks::ClassMethods - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/engine.rb#432 - def initialize; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#70 - def __callbacks; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#70 - def __callbacks?; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#963 - def _load_seed_callbacks; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#951 - def _run_load_seed_callbacks(&block); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/engine.rb#510 - def app; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/engine.rb#527 - def call(env); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/engine.rb#546 - def config; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/engine.rb#484 - def eager_load!; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/engine.rb#522 - def endpoint; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/engine.rb#430 - def engine_name(*_arg0, **_arg1, &_arg2); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/engine.rb#533 - def env_config; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/engine.rb#494 - def helpers; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/engine.rb#505 - def helpers_paths; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/engine.rb#430 - def isolated?(&block); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/engine.rb#446 - def load_console(app = T.unsafe(nil)); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/engine.rb#470 - def load_generators(app = T.unsafe(nil)); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/engine.rb#455 - def load_runner(app = T.unsafe(nil)); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/engine.rb#554 - def load_seed; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/engine.rb#479 - def load_server(app = T.unsafe(nil)); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/engine.rb#462 - def load_tasks(app = T.unsafe(nil)); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/engine.rb#429 - def middleware(*_arg0, **_arg1, &_arg2); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/engine.rb#429 - def paths(*_arg0, **_arg1, &_arg2); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/engine.rb#489 - def railties; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/engine.rb#429 - def root(*_arg0, **_arg1, &_arg2); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/engine.rb#539 - def routes(&block); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/engine.rb#670 - def routes?; end - - protected - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/engine.rb#675 - def run_tasks_blocks(*_arg0); end - - private - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/engine.rb#707 - def _all_autoload_once_paths; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/engine.rb#711 - def _all_autoload_paths; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/engine.rb#720 - def _all_load_paths(add_autoload_paths_to_load_path); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/engine.rb#744 - def build_middleware; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/engine.rb#736 - def build_request(env); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/engine.rb#703 - def default_middleware_stack; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/engine.rb#731 - def fixtures_in_root_and_not_in_vendor?(fixtures); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/engine.rb#687 - def has_migrations?; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/engine.rb#681 - def load_config_initializer(initializer); end - - class << self - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#70 - def __callbacks; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#70 - def __callbacks=(value); end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#70 - def __callbacks?; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#955 - def _load_seed_callbacks; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#959 - def _load_seed_callbacks=(value); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/engine.rb#353 - def called_from; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/engine.rb#353 - def called_from=(_arg0); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/engine.rb#358 - def eager_load!(*_arg0, **_arg1, &_arg2); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/engine.rb#378 - def endpoint(endpoint = T.unsafe(nil)); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/railtie.rb#176 - def engine_name(name = T.unsafe(nil)); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/engine.rb#416 - def find(path); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/engine.rb#374 - def find_root(from); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/engine.rb#691 - def find_root_with_flag(flag, root_path, default = T.unsafe(nil)); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/engine.rb#360 - def inherited(base); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/engine.rb#384 - def isolate_namespace(mod); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/engine.rb#353 - def isolated; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/engine.rb#353 - def isolated=(_arg0); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/engine.rb#353 - def isolated?; end - end -end - -# source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/engine/configuration.rb#7 -class Rails::Engine::Configuration < ::Rails::Railtie::Configuration - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/engine/configuration.rb#12 - def initialize(root = T.unsafe(nil)); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/engine/configuration.rb#88 - def autoload_once_paths; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/engine/configuration.rb#10 - def autoload_once_paths=(_arg0); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/engine/configuration.rb#92 - def autoload_paths; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/engine/configuration.rb#10 - def autoload_paths=(_arg0); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/engine/configuration.rb#84 - def eager_load_paths; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/engine/configuration.rb#10 - def eager_load_paths=(_arg0); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/engine/configuration.rb#32 - def generators; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/engine/configuration.rb#9 - def javascript_path; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/engine/configuration.rb#9 - def javascript_path=(_arg0); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/engine/configuration.rb#9 - def middleware; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/engine/configuration.rb#9 - def middleware=(_arg0); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/engine/configuration.rb#38 - def paths; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/engine/configuration.rb#8 - def root; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/engine/configuration.rb#80 - def root=(value); end -end - -# source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/engine/railties.rb#5 -class Rails::Engine::Railties - include ::Enumerable - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/engine/railties.rb#9 - def initialize; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/engine/railties.rb#18 - def -(others); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/engine/railties.rb#7 - def _all; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/engine/railties.rb#14 - def each(*args, &block); end -end - -# source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/health_controller.rb#35 -class Rails::HealthController < ::ActionController::Base - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/health_controller.rb#38 - def show; end - - private - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/layouts.rb#330 - def _layout(lookup_context, formats); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/health_controller.rb#51 - def html_status(color:); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/health_controller.rb#47 - def render_down; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/health_controller.rb#43 - def render_up; end - - class << self - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal.rb#262 - def middleware_stack; end - - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/rescuable.rb#15 - def rescue_handlers; end - end -end - -# source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/info.rb#9 -module Rails::Info - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/info.rb#10 - def properties; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/info.rb#10 - def properties=(val); end - - class << self - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/info.rb#31 - def inspect; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/info.rb#10 - def properties; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/info.rb#10 - def properties=(val); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/info.rb#25 - def property(name, value = T.unsafe(nil)); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/info.rb#43 - def to_html; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/info.rb#31 - def to_s; end - end -end - -# source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/info_controller.rb#6 -class Rails::InfoController < ::Rails::ApplicationController - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/info_controller.rb#12 - def index; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/info_controller.rb#16 - def properties; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/info_controller.rb#21 - def routes; end - - private - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/layouts.rb#330 - def _layout(lookup_context, formats); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/info_controller.rb#8 - def _layout_from_proc; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/info_controller.rb#36 - def matching_routes(query:, exact_match:); end - - class << self - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#70 - def __callbacks; end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/layouts.rb#211 - def _layout; end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/layouts.rb#212 - def _layout_conditions; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal.rb#262 - def middleware_stack; end - end -end - -# source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/initializable.rb#6 -module Rails::Initializable - mixes_in_class_methods ::Rails::Initializable::ClassMethods - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/initializable.rb#66 - def initializers; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/initializable.rb#58 - def run_initializers(group = T.unsafe(nil), *args); end - - class << self - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/initializable.rb#7 - def included(base); end - end -end - -# source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/initializable.rb#70 -module Rails::Initializable::ClassMethods - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/initializable.rb#88 - def initializer(name, opts = T.unsafe(nil), &blk); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/initializable.rb#71 - def initializers; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/initializable.rb#75 - def initializers_chain; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/initializable.rb#84 - def initializers_for(binding); end -end - -# source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/initializable.rb#45 -class Rails::Initializable::Collection < ::Array - include ::TSort - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/initializable.rb#53 - def +(other); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/initializable.rb#49 - def tsort_each_child(initializer, &block); end - - def tsort_each_node; end -end - -# source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/initializable.rb#11 -class Rails::Initializable::Initializer - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/initializable.rb#14 - def initialize(name, context, options, &block); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/initializable.rb#23 - def after; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/initializable.rb#19 - def before; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/initializable.rb#27 - def belongs_to?(group); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/initializable.rb#35 - def bind(context); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/initializable.rb#12 - def block; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/initializable.rb#40 - def context_class; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/initializable.rb#12 - def name; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/initializable.rb#31 - def run(*args); end -end - -# source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/test_unit/line_filtering.rb#6 -module Rails::LineFiltering - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/test_unit/line_filtering.rb#7 - def run(reporter, options = T.unsafe(nil)); end -end - -# source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/mailers_controller.rb#5 -class Rails::MailersController < ::Rails::ApplicationController - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/mailers_controller.rb#21 - def download; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/mailers_controller.rb#16 - def index; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/mailers_controller.rb#31 - def preview; end - - private - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/layouts.rb#330 - def _layout(lookup_context, formats); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/mailers_controller.rb#90 - def find_part(format); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/mailers_controller.rb#78 - def find_preferred_part(*formats); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/mailers_controller.rb#66 - def find_preview; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/mailers_controller.rb#102 - def locale_query(locale); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/mailers_controller.rb#98 - def part_query(mime_type); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/mailers_controller.rb#106 - def set_locale(&block); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/mailers_controller.rb#62 - def show_previews?; end - - class << self - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#70 - def __callbacks; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/abstract_controller/helpers.rb#12 - def _helper_methods; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal.rb#262 - def middleware_stack; end - end -end - -# source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/mailers_controller.rb#0 -module Rails::MailersController::HelperMethods - include ::ActionText::ContentHelper - include ::ActionText::TagHelper - include ::ActionController::Base::HelperMethods - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/mailers_controller.rb#12 - def locale_query(*args, **_arg1, &block); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/mailers_controller.rb#12 - def part_query(*args, **_arg1, &block); end -end - -# source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/paths.rb#6 -module Rails::Paths; end - -# source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/paths.rb#114 -class Rails::Paths::Path - include ::Enumerable - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/paths.rb#119 - def initialize(root, current, paths, options = T.unsafe(nil)); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/paths.rb#171 - def <<(path); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/paths.rb#132 - def absolute_current; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/paths.rb#153 - def autoload!; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/paths.rb#161 - def autoload?; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/paths.rb#153 - def autoload_once!; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/paths.rb#161 - def autoload_once?; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/paths.rb#136 - def children; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/paths.rb#176 - def concat(paths); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/paths.rb#167 - def each(&block); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/paths.rb#153 - def eager_load!; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/paths.rb#161 - def eager_load?; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/paths.rb#220 - def existent; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/paths.rb#231 - def existent_directories; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/paths.rb#201 - def expanded; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/paths.rb#196 - def extensions; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/paths.rb#143 - def first; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/paths.rb#117 - def glob; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/paths.rb#117 - def glob=(_arg0); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/paths.rb#147 - def last; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/paths.rb#153 - def load_path!; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/paths.rb#161 - def load_path?; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/paths.rb#188 - def paths; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/paths.rb#171 - def push(path); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/paths.rb#157 - def skip_autoload!; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/paths.rb#157 - def skip_autoload_once!; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/paths.rb#157 - def skip_eager_load!; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/paths.rb#157 - def skip_load_path!; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/paths.rb#201 - def to_a; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/paths.rb#184 - def to_ary; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/paths.rb#180 - def unshift(*paths); end - - private - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/paths.rb#238 - def files_in(path); end -end - -# source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/paths.rb#51 -class Rails::Paths::Root - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/paths.rb#54 - def initialize(path); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/paths.rb#69 - def [](path); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/paths.rb#59 - def []=(path, value); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/paths.rb#64 - def add(path, options = T.unsafe(nil)); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/paths.rb#85 - def all_paths; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/paths.rb#89 - def autoload_once; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/paths.rb#97 - def autoload_paths; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/paths.rb#93 - def eager_load; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/paths.rb#77 - def keys; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/paths.rb#101 - def load_paths; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/paths.rb#52 - def path; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/paths.rb#52 - def path=(_arg0); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/paths.rb#73 - def values; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/paths.rb#81 - def values_at(*list); end - - private - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/paths.rb#106 - def filter_by(&block); end -end - -# source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/rack.rb#4 -module Rails::Rack; end - -# source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/rack/logger.rb#14 -class Rails::Rack::Logger < ::ActiveSupport::LogSubscriber - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/rack/logger.rb#15 - def initialize(app, taggers = T.unsafe(nil)); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/rack/logger.rb#20 - def call(env); end - - private - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/rack/logger.rb#31 - def call_app(request, env); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/rack/logger.rb#62 - def compute_tags(request); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/rack/logger.rb#75 - def logger; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/rack/logger.rb#54 - def started_request_message(request); end -end - -# source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/railtie.rb#136 -class Rails::Railtie - include ::Rails::Initializable - extend ::ActiveSupport::DescendantsTracker - extend ::Rails::Initializable::ClassMethods - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/railtie.rb#246 - def initialize; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/railtie.rb#263 - def config; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/railtie.rb#256 - def configure(&block); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/railtie.rb#252 - def inspect; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/railtie.rb#244 - def railtie_name(*_arg0, **_arg1, &_arg2); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/railtie.rb#267 - def railtie_namespace; end - - protected - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/railtie.rb#272 - def run_console_blocks(app); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/railtie.rb#276 - def run_generators_blocks(app); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/railtie.rb#280 - def run_runner_blocks(app); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/railtie.rb#289 - def run_server_blocks(app); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/railtie.rb#284 - def run_tasks_blocks(app); end - - private - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/railtie.rb#295 - def each_registered_block(type, &block); end - - class << self - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/railtie.rb#194 - def <=>(other); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/railtie.rb#172 - def abstract_railtie?; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/railtie.rb#146 - def config(*_arg0, **_arg1, &_arg2); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/railtie.rb#190 - def configure(&block); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/railtie.rb#156 - def console(&blk); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/railtie.rb#164 - def generators(&blk); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/railtie.rb#198 - def inherited(subclass); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/railtie.rb#183 - def instance; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/railtie.rb#176 - def railtie_name(name = T.unsafe(nil)); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/railtie.rb#152 - def rake_tasks(&blk); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/railtie.rb#160 - def runner(&blk); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/railtie.rb#168 - def server(&blk); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/railtie.rb#148 - def subclasses; end - - protected - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/railtie.rb#206 - def increment_load_index; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/railtie.rb#204 - def load_index; end - - private - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/railtie.rb#212 - def generate_railtie_name(string); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/railtie.rb#224 - def method_missing(name, *args, **_arg2, &block); end - - def new(*_arg0); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/railtie.rb#236 - def register_block_for(type, &blk); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/railtie.rb#216 - def respond_to_missing?(name, _); end - end -end - -# source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/railtie.rb#142 -Rails::Railtie::ABSTRACT_RAILTIES = T.let(T.unsafe(nil), Array) - -# source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/railtie/configuration.rb#7 -class Rails::Railtie::Configuration - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/railtie/configuration.rb#8 - def initialize; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/railtie/configuration.rb#70 - def after_initialize(&block); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/railtie/configuration.rb#75 - def after_routes_loaded(&block); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/railtie/configuration.rb#47 - def app_generators; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/railtie/configuration.rb#39 - def app_middleware; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/railtie/configuration.rb#54 - def before_configuration(&block); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/railtie/configuration.rb#60 - def before_eager_load(&block); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/railtie/configuration.rb#65 - def before_initialize(&block); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/railtie/configuration.rb#18 - def eager_load_namespaces; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/railtie/configuration.rb#90 - def respond_to?(name, include_private = T.unsafe(nil)); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/railtie/configuration.rb#86 - def to_prepare(&blk); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/railtie/configuration.rb#80 - def to_prepare_blocks; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/railtie/configuration.rb#30 - def watchable_dirs; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/railtie/configuration.rb#23 - def watchable_files; end - - private - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/railtie/configuration.rb#95 - def actual_method?(key); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/railtie/configuration.rb#99 - def method_missing(name, *args, &blk); end - - class << self - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/railtie/configuration.rb#13 - def eager_load_namespaces; end - end -end - -# source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/secrets.rb#9 -class Rails::Secrets - class << self - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/secrets.rb#46 - def decrypt(data); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/secrets.rb#42 - def encrypt(data); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/secrets.rb#38 - def key; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/secrets.rb#25 - def parse(paths, env:); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/secrets.rb#50 - def read; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/secrets.rb#59 - def read_for_editing(&block); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/secrets.rb#23 - def root=(_arg0); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/secrets.rb#54 - def write(contents); end - - private - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/secrets.rb#105 - def encryptor; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/secrets.rb#64 - def handle_missing_key; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/secrets.rb#74 - def key_path; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/secrets.rb#78 - def path; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/secrets.rb#82 - def preprocess(path); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/secrets.rb#68 - def read_key_file; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/secrets.rb#90 - def writing(contents); end - end -end - -# source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/secrets.rb#10 -class Rails::Secrets::MissingKeyError < ::RuntimeError - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/secrets.rb#11 - def initialize; end -end - -# source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/source_annotation_extractor.rb#15 -class Rails::SourceAnnotationExtractor - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/source_annotation_extractor.rb#137 - def initialize(tag); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/source_annotation_extractor.rb#186 - def display(results, options = T.unsafe(nil)); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/source_annotation_extractor.rb#143 - def find(dirs); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/source_annotation_extractor.rb#151 - def find_in(dir); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/source_annotation_extractor.rb#135 - def tag; end - - class << self - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/source_annotation_extractor.rb#128 - def enumerate(tag = T.unsafe(nil), options = T.unsafe(nil)); end - end -end - -# source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/source_annotation_extractor.rb#54 -class Rails::SourceAnnotationExtractor::Annotation < ::Struct - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/source_annotation_extractor.rb#107 - def to_s(options = T.unsafe(nil)); end - - class << self - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/source_annotation_extractor.rb#55 - def directories; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/source_annotation_extractor.rb#75 - def extensions; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/source_annotation_extractor.rb#61 - def register_directories(*dirs); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/source_annotation_extractor.rb#81 - def register_extensions(*exts, &block); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/source_annotation_extractor.rb#71 - def register_tags(*additional_tags); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/source_annotation_extractor.rb#65 - def tags; end - end -end - -# source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/source_annotation_extractor.rb#18 -class Rails::SourceAnnotationExtractor::ParserExtractor < ::Struct - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/source_annotation_extractor.rb#33 - def annotations(file); end -end - -# source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/source_annotation_extractor.rb#19 -class Rails::SourceAnnotationExtractor::ParserExtractor::Parser < ::Ripper - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/source_annotation_extractor.rb#22 - def initialize(source, pattern:); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/source_annotation_extractor.rb#20 - def comments; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/source_annotation_extractor.rb#28 - def on_comment(value); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/source_annotation_extractor.rb#20 - def pattern; end -end - -# source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/source_annotation_extractor.rb#42 -class Rails::SourceAnnotationExtractor::PatternExtractor < ::Struct - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/source_annotation_extractor.rb#43 - def annotations(file); end -end - -# source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/test_unit/test_parser.rb#6 -module Rails::TestUnit; end - -# source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/test_unit/runner.rb#122 -class Rails::TestUnit::CompositeFilter - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/test_unit/runner.rb#125 - def initialize(runnable, filter, patterns); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/test_unit/runner.rb#132 - def ===(method); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/test_unit/runner.rb#123 - def named_filter; end - - private - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/test_unit/runner.rb#147 - def derive_line_filters(patterns); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/test_unit/runner.rb#137 - def derive_named_filter(filter); end -end - -# source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/test_unit/runner.rb#158 -class Rails::TestUnit::Filter - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/test_unit/runner.rb#159 - def initialize(runnable, file, line_or_range); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/test_unit/runner.rb#168 - def ===(method); end - - private - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/test_unit/runner.rb#180 - def definition_for(method); end -end - -# source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/test_unit/runner.rb#12 -class Rails::TestUnit::Runner - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/test_unit/runner.rb#15 - def filters; end - - class << self - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/test_unit/runner.rb#18 - def attach_before_load_options(opts); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/test_unit/runner.rb#54 - def compose_filter(runnable, filter); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/test_unit/runner.rb#15 - def filters; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/test_unit/runner.rb#48 - def load_tests(argv); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/test_unit/runner.rb#23 - def parse_options(argv); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/test_unit/runner.rb#42 - def run(argv = T.unsafe(nil)); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/test_unit/runner.rb#36 - def run_from_rake(test_command, argv = T.unsafe(nil)); end - - private - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/test_unit/runner.rb#89 - def default_test_exclude_glob; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/test_unit/runner.rb#85 - def default_test_glob; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/test_unit/runner.rb#65 - def extract_filters(argv); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/test_unit/runner.rb#101 - def list_tests(patterns); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/test_unit/runner.rb#107 - def normalize_declarative_test_filter(filter); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/test_unit/runner.rb#97 - def path_argument?(arg); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/test_unit/runner.rb#93 - def regexp_filter?(arg); end - end -end - -# source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/test_unit/runner.rb#14 -Rails::TestUnit::Runner::PATH_ARGUMENT_PATTERN = T.let(T.unsafe(nil), Regexp) - -# source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/test_unit/runner.rb#13 -Rails::TestUnit::Runner::TEST_FOLDERS = T.let(T.unsafe(nil), Array) - -# source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/test_unit/test_parser.rb#11 -class Rails::TestUnit::TestParser < ::Ripper - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/test_unit/test_parser.rb#19 - def initialize(*_arg0); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/test_unit/test_parser.rb#56 - def first_arg(arg, *_arg1); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/test_unit/test_parser.rb#60 - def just_lineno(*_arg0); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/test_unit/test_parser.rb#56 - def on_arg_paren(arg, *_arg1); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/test_unit/test_parser.rb#79 - def on_args_add(parts, part); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/test_unit/test_parser.rb#83 - def on_args_add_block(args, *rest); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/test_unit/test_parser.rb#75 - def on_args_new; end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/test_unit/test_parser.rb#56 - def on_bodystmt(arg, *_arg1); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/test_unit/test_parser.rb#60 - def on_brace_block(*_arg0); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/test_unit/test_parser.rb#56 - def on_command(arg, *_arg1); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/test_unit/test_parser.rb#52 - def on_command_call(*_arg0, begin_lineno, _args); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/test_unit/test_parser.rb#34 - def on_def(begin_line, *_arg1); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/test_unit/test_parser.rb#60 - def on_do_block(*_arg0); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/test_unit/test_parser.rb#60 - def on_ident(*_arg0); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/test_unit/test_parser.rb#56 - def on_method_add_arg(arg, *_arg1); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/test_unit/test_parser.rb#46 - def on_method_add_block(begin_line, end_line); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/test_unit/test_parser.rb#56 - def on_stmts_add(arg, *_arg1); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/test_unit/test_parser.rb#60 - def on_stmts_new(*_arg0); end - - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/test_unit/test_parser.rb#25 - def parse; end - - class << self - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/test_unit/test_parser.rb#12 - def definition_for(method_obj); end - end -end - -# source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/test_unit/railtie.rb#6 -class Rails::TestUnitRailtie < ::Rails::Railtie; end - -# source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/gem_version.rb#9 -module Rails::VERSION; end - -# source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/gem_version.rb#10 -Rails::VERSION::MAJOR = T.let(T.unsafe(nil), Integer) - -# source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/gem_version.rb#11 -Rails::VERSION::MINOR = T.let(T.unsafe(nil), Integer) - -# source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/gem_version.rb#13 -Rails::VERSION::PRE = T.let(T.unsafe(nil), String) - -# source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/gem_version.rb#15 -Rails::VERSION::STRING = T.let(T.unsafe(nil), String) - -# source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/gem_version.rb#12 -Rails::VERSION::TINY = T.let(T.unsafe(nil), Integer) - -# source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/welcome_controller.rb#5 -class Rails::WelcomeController < ::Rails::ApplicationController - # source://railties/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/rails/welcome_controller.rb#9 - def index; end - - private - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/layouts.rb#330 - def _layout(lookup_context, formats); end - - class << self - # source://activesupport/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/active_support/callbacks.rb#70 - def __callbacks; end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/layouts.rb#211 - def _layout; end - - # source://actionview/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_view/layouts.rb#212 - def _layout_conditions; end - - # source://actionpack/7.2.0.alpha-5de585eae081be5f7b4484459fe0a2b737a9babclib/action_controller/metal.rb#262 - def middleware_stack; end - end -end +# THIS IS AN EMPTY RBI FILE. +# see https://github.com/Shopify/tapioca#manually-requiring-parts-of-a-gem diff --git a/sorbet/rbi/gems/ruby-lsp@0.10.1.rbi b/sorbet/rbi/gems/ruby-lsp@0.11.0.rbi similarity index 69% rename from sorbet/rbi/gems/ruby-lsp@0.10.1.rbi rename to sorbet/rbi/gems/ruby-lsp@0.11.0.rbi index 4ef5a5b1..58dc45c9 100644 --- a/sorbet/rbi/gems/ruby-lsp@0.10.1.rbi +++ b/sorbet/rbi/gems/ruby-lsp@0.11.0.rbi @@ -19,27 +19,31 @@ class RubyIndexer::Configuration sig { void } def initialize; end - # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/configuration.rb#65 + # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/configuration.rb#61 sig { returns(T::Array[::RubyIndexer::IndexablePath]) } def indexables; end - # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/configuration.rb#51 + # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/configuration.rb#47 sig { void } def load_config; end - # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/configuration.rb#148 + # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/configuration.rb#144 sig { returns(::Regexp) } def magic_comment_regex; end private - # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/configuration.rb#170 + # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/configuration.rb#166 sig { params(config: T::Hash[::String, T.untyped]).void } def apply_config(config); end + # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/configuration.rb#175 + sig { returns(T::Array[::String]) } + def initial_excluded_gems; end + # @raise [ArgumentError] # - # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/configuration.rb#155 + # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/configuration.rb#151 sig { params(config: T::Hash[::String, T.untyped]).void } def validate_config!(config); end end @@ -49,33 +53,48 @@ RubyIndexer::Configuration::CONFIGURATION_SCHEMA = T.let(T.unsafe(nil), Hash) # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/index.rb#5 class RubyIndexer::Index - # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/index.rb#12 + # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/index.rb#14 sig { void } def initialize; end - # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/index.rb#63 + # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/index.rb#65 sig { params(entry: ::RubyIndexer::Index::Entry).void } def <<(entry); end - # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/index.rb#72 + # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/index.rb#74 sig { params(fully_qualified_name: ::String).returns(T.nilable(T::Array[::RubyIndexer::Index::Entry])) } def [](fully_qualified_name); end - # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/index.rb#35 + # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/index.rb#37 sig { params(indexable: ::RubyIndexer::IndexablePath).void } def delete(indexable); end + # Follows aliases in a namespace. The algorithm keeps checking if the name is an alias and then recursively follows + # it. The idea is that we test the name in parts starting from the complete name to the first namespace. For + # `Foo::Bar::Baz`, we would test: + # 1. Is `Foo::Bar::Baz` an alias? Get the target and recursively follow its target + # 2. Is `Foo::Bar` an alias? Get the target and recursively follow its target + # 3. Is `Foo` an alias? Get the target and recursively follow its target + # + # If we find an alias, then we want to follow its target. In the same example, if `Foo::Bar` is an alias to + # `Something::Else`, then we first discover `Something::Else::Baz`. But `Something::Else::Baz` might contain other + # aliases, so we have to invoke `follow_aliased_namespace` again to check until we only return a real name + # + # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/index.rb#184 + sig { params(name: ::String).returns(::String) } + def follow_aliased_namespace(name); end + # Fuzzy searches index entries based on Jaro-Winkler similarity. If no query is provided, all entries are returned # - # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/index.rb#108 + # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/index.rb#110 sig { params(query: T.nilable(::String)).returns(T::Array[::RubyIndexer::Index::Entry]) } def fuzzy_search(query); end - # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/index.rb#139 + # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/index.rb#157 sig { params(indexable_paths: T::Array[::RubyIndexer::IndexablePath]).void } def index_all(indexable_paths: T.unsafe(nil)); end - # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/index.rb#144 + # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/index.rb#162 sig { params(indexable_path: ::RubyIndexer::IndexablePath, source: T.nilable(::String)).void } def index_single(indexable_path, source = T.unsafe(nil)); end @@ -93,7 +112,7 @@ class RubyIndexer::Index # ] # ``` # - # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/index.rb#95 + # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/index.rb#97 sig { params(query: ::String, nesting: T::Array[::String]).returns(T::Array[T::Array[::RubyIndexer::Index::Entry]]) } def prefix_search(query, nesting); end @@ -103,63 +122,136 @@ class RubyIndexer::Index # 2. Foo::Baz # 3. Baz # - # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/index.rb#127 + # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/index.rb#129 sig { params(name: ::String, nesting: T::Array[::String]).returns(T.nilable(T::Array[::RubyIndexer::Index::Entry])) } def resolve(name, nesting); end - # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/index.rb#77 + # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/index.rb#79 sig { params(query: ::String).returns(T::Array[::RubyIndexer::IndexablePath]) } def search_require_paths(query); end + + private + + # Attempts to resolve an UnresolvedAlias into a resolved Alias. If the unresolved alias is pointing to a constant + # that doesn't exist, then we return the same UnresolvedAlias + # + # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/index.rb#218 + sig do + params( + entry: ::RubyIndexer::Index::Entry::UnresolvedAlias + ).returns(T.any(::RubyIndexer::Index::Entry::Alias, ::RubyIndexer::Index::Entry::UnresolvedAlias)) + end + def resolve_alias(entry); end end # The minimum Jaro-Winkler similarity score for an entry to be considered a match for a given fuzzy search query # -# source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/index.rb#9 +# source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/index.rb#11 RubyIndexer::Index::ENTRY_SIMILARITY_THRESHOLD = T.let(T.unsafe(nil), Float) -# source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/index.rb#155 +# source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/index.rb#235 class RubyIndexer::Index::Entry - # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/index.rb#171 + # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/index.rb#254 sig { params(name: ::String, file_path: ::String, location: ::YARP::Location, comments: T::Array[::String]).void } def initialize(name, file_path, location, comments); end - # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/index.rb#168 + # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/index.rb#248 sig { returns(T::Array[::String]) } def comments; end - # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/index.rb#179 + # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/index.rb#263 sig { returns(::String) } def file_name; end - # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/index.rb#162 + # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/index.rb#242 sig { returns(::String) } def file_path; end - # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/index.rb#165 + # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/index.rb#245 sig { returns(::YARP::Location) } def location; end - # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/index.rb#159 + # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/index.rb#239 sig { returns(::String) } def name; end + + # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/index.rb#251 + sig { returns(::Symbol) } + def visibility; end + + # @return [Symbol] + # + # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/index.rb#251 + def visibility=(_arg0); end end -# source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/index.rb#193 +# Alias represents a resolved alias, which points to an existing constant target +# +# source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/index.rb#321 +class RubyIndexer::Index::Entry::Alias < ::RubyIndexer::Index::Entry + # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/index.rb#328 + sig { params(target: ::String, unresolved_alias: ::RubyIndexer::Index::Entry::UnresolvedAlias).void } + def initialize(target, unresolved_alias); end + + # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/index.rb#325 + sig { returns(::String) } + def target; end +end + +# source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/index.rb#277 class RubyIndexer::Index::Entry::Class < ::RubyIndexer::Index::Entry::Namespace; end -# source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/index.rb#196 +# source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/index.rb#280 class RubyIndexer::Index::Entry::Constant < ::RubyIndexer::Index::Entry; end -# source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/index.rb#190 +# source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/index.rb#274 class RubyIndexer::Index::Entry::Module < ::RubyIndexer::Index::Entry::Namespace; end -# source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/index.rb#183 +# source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/index.rb#267 class RubyIndexer::Index::Entry::Namespace < ::RubyIndexer::Index::Entry - # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/index.rb#185 + # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/index.rb#269 sig { returns(::String) } def short_name; end end +# An UnresolvedAlias points to a constant alias with a right hand side that has not yet been resolved. For +# example, if we find +# +# ```ruby +# CONST = Foo +# ``` +# Before we have discovered `Foo`, there's no way to eagerly resolve this alias to the correct target constant. +# All aliases are inserted as UnresolvedAlias in the index first and then we lazily resolve them to the correct +# target in [rdoc-ref:Index#resolve]. If the right hand side contains a constant that doesn't exist, then it's not +# possible to resolve the alias and it will remain an UnresolvedAlias until the right hand side constant exists +# +# source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/index.rb#293 +class RubyIndexer::Index::Entry::UnresolvedAlias < ::RubyIndexer::Index::Entry + # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/index.rb#312 + sig do + params( + target: ::String, + nesting: T::Array[::String], + name: ::String, + file_path: ::String, + location: ::YARP::Location, + comments: T::Array[::String] + ).void + end + def initialize(target, nesting, name, file_path, location, comments); end + + # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/index.rb#300 + sig { returns(T::Array[::String]) } + def nesting; end + + # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/index.rb#297 + sig { returns(::String) } + def target; end +end + +# source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/index.rb#8 +class RubyIndexer::Index::UnresolvableAliasError < ::StandardError; end + # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/visitor.rb#5 class RubyIndexer::IndexVisitor < ::YARP::Visitor # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/visitor.rb#9 @@ -176,31 +268,36 @@ class RubyIndexer::IndexVisitor < ::YARP::Visitor # Override to avoid using `map` instead of `each` # - # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/visitor.rb#47 + # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/visitor.rb#57 sig { params(nodes: T::Array[T.nilable(::YARP::Node)]).void } def visit_all(nodes); end private - # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/visitor.rb#58 - sig { params(node: T.any(::YARP::ConstantOrWriteNode, ::YARP::ConstantWriteNode)).void } - def add_constant(node); end - - # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/visitor.rb#68 - sig { params(node: T.any(::YARP::ConstantPathOrWriteNode, ::YARP::ConstantPathWriteNode)).void } - def add_constant_with_path(node); end + # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/visitor.rb#101 + sig do + params( + node: T.any(::YARP::ConstantOrWriteNode, ::YARP::ConstantPathAndWriteNode, ::YARP::ConstantPathOperatorWriteNode, ::YARP::ConstantPathOrWriteNode, ::YARP::ConstantPathWriteNode, ::YARP::ConstantWriteNode), + name: ::String + ).void + end + def add_constant(node, name); end - # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/visitor.rb#78 + # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/visitor.rb#126 sig { params(node: T.any(::YARP::ClassNode, ::YARP::ModuleNode), klass: T.class_of(RubyIndexer::Index::Entry)).void } def add_index_entry(node, klass); end - # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/visitor.rb#93 + # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/visitor.rb#141 sig { params(node: ::YARP::Node).returns(T::Array[::String]) } def collect_comments(node); end - # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/visitor.rb#115 + # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/visitor.rb#163 sig { params(name: ::String).returns(::String) } def fully_qualify_name(name); end + + # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/visitor.rb#64 + sig { params(node: ::YARP::CallNode).void } + def handle_private_constant(node); end end # source://ruby-lsp/lib/ruby_indexer/lib/ruby_indexer/indexable_path.rb#5 @@ -345,46 +442,214 @@ end # source://ruby-lsp/lib/ruby-lsp.rb#4 module RubyLsp; end +# To register an addon, inherit from this class and implement both `name` and `activate` +# +# # Example +# +# ```ruby +# module MyGem +# class MyAddon < Addon +# def activate +# # Perform any relevant initialization +# end +# +# def name +# "My addon name" +# end +# end +# end +# ``` +# +# @abstract It cannot be directly instantiated. Subclasses must implement the `abstract` methods below. +# +# source://ruby-lsp/lib/ruby_lsp/addon.rb#22 +class RubyLsp::Addon + abstract! + + # source://ruby-lsp/lib/ruby_lsp/addon.rb#67 + sig { void } + def initialize; end + + # Each addon should implement `MyAddon#activate` and use to perform any sort of initialization, such as + # reading information into memory or even spawning a separate process + # + # @abstract + # + # source://ruby-lsp/lib/ruby_lsp/addon.rb#98 + sig { abstract.void } + def activate; end + + # source://ruby-lsp/lib/ruby_lsp/addon.rb#72 + sig { params(error: ::StandardError).returns(T.self_type) } + def add_error(error); end + + # source://ruby-lsp/lib/ruby_lsp/addon.rb#91 + sig { returns(::String) } + def backtraces; end + + # Creates a new CodeLens listener. This method is invoked on every CodeLens request + # + # source://ruby-lsp/lib/ruby_lsp/addon.rb#117 + sig do + overridable + .params( + uri: ::URI::Generic, + emitter: ::RubyLsp::EventEmitter, + message_queue: ::Thread::Queue + ).returns(T.nilable(RubyLsp::Listener[T::Array[::LanguageServer::Protocol::Interface::CodeLens]])) + end + def create_code_lens_listener(uri, emitter, message_queue); end + + # Creates a new Definition listener. This method is invoked on every Definition request + # + # source://ruby-lsp/lib/ruby_lsp/addon.rb#149 + sig do + overridable + .params( + uri: ::URI::Generic, + nesting: T::Array[::String], + index: ::RubyIndexer::Index, + emitter: ::RubyLsp::EventEmitter, + message_queue: ::Thread::Queue + ).returns(T.nilable(RubyLsp::Listener[T.nilable(T.any(::LanguageServer::Protocol::Interface::Location, T::Array[::LanguageServer::Protocol::Interface::Location]))])) + end + def create_definition_listener(uri, nesting, index, emitter, message_queue); end + + # Creates a new DocumentSymbol listener. This method is invoked on every DocumentSymbol request + # + # source://ruby-lsp/lib/ruby_lsp/addon.rb#137 + sig do + overridable + .params( + emitter: ::RubyLsp::EventEmitter, + message_queue: ::Thread::Queue + ).returns(T.nilable(RubyLsp::Listener[T::Array[::LanguageServer::Protocol::Interface::DocumentSymbol]])) + end + def create_document_symbol_listener(emitter, message_queue); end + + # Creates a new Hover listener. This method is invoked on every Hover request + # + # source://ruby-lsp/lib/ruby_lsp/addon.rb#128 + sig do + overridable + .params( + nesting: T::Array[::String], + index: ::RubyIndexer::Index, + emitter: ::RubyLsp::EventEmitter, + message_queue: ::Thread::Queue + ).returns(T.nilable(RubyLsp::Listener[T.nilable(::LanguageServer::Protocol::Interface::Hover)])) + end + def create_hover_listener(nesting, index, emitter, message_queue); end + + # Each addon should implement `MyAddon#deactivate` and use to perform any clean up, like shutting down a + # child process + # + # @abstract + # + # source://ruby-lsp/lib/ruby_lsp/addon.rb#103 + sig { abstract.void } + def deactivate; end + + # source://ruby-lsp/lib/ruby_lsp/addon.rb#78 + sig { returns(T::Boolean) } + def error?; end + + # source://ruby-lsp/lib/ruby_lsp/addon.rb#83 + sig { returns(::String) } + def formatted_errors; end + + # Addons should override the `name` method to return the addon name + # + # @abstract + # + # source://ruby-lsp/lib/ruby_lsp/addon.rb#107 + sig { abstract.returns(::String) } + def name; end + + class << self + # source://ruby-lsp/lib/ruby_lsp/addon.rb#39 + sig { returns(T::Array[::RubyLsp::Addon]) } + def addons; end + + # Automatically track and instantiate addon classes + # + # source://ruby-lsp/lib/ruby_lsp/addon.rb#33 + sig { params(child_class: T.class_of(RubyLsp::Addon)).void } + def inherited(child_class); end + + # Discovers and loads all addons. Returns the list of activated addons + # + # source://ruby-lsp/lib/ruby_lsp/addon.rb#45 + sig { returns(T::Array[::RubyLsp::Addon]) } + def load_addons; end + end +end + # source://ruby-lsp/lib/ruby_lsp/server.rb#7 RubyLsp::Constant = LanguageServer::Protocol::Constant -# source://ruby-lsp/lib/ruby_lsp/requests/support/dependency_detector.rb#5 -module RubyLsp::DependencyDetector - class << self - # source://ruby-lsp/lib/ruby_lsp/requests/support/dependency_detector.rb#10 - sig { returns(::String) } - def detected_formatter; end +# source://ruby-lsp/lib/ruby_lsp/requests/support/dependency_detector.rb#7 +class RubyLsp::DependencyDetector + include ::Singleton + extend ::Singleton::SingletonClassMethods + + # source://ruby-lsp/lib/ruby_lsp/requests/support/dependency_detector.rb#21 + sig { void } + def initialize; end + + # source://ruby-lsp/lib/ruby_lsp/requests/support/dependency_detector.rb#68 + sig { returns(T::Array[::String]) } + def dependency_keys; end + + # source://ruby-lsp/lib/ruby_lsp/requests/support/dependency_detector.rb#28 + sig { returns(::String) } + def detect_formatter; end + + # source://ruby-lsp/lib/ruby_lsp/requests/support/dependency_detector.rb#40 + sig { returns(::String) } + def detect_test_library; end + + # source://ruby-lsp/lib/ruby_lsp/requests/support/dependency_detector.rb#63 + sig { returns(T::Boolean) } + def detect_typechecker; end - # source://ruby-lsp/lib/ruby_lsp/requests/support/dependency_detector.rb#22 - sig { returns(::String) } - def detected_test_library; end + # source://ruby-lsp/lib/ruby_lsp/requests/support/dependency_detector.rb#12 + sig { returns(::String) } + def detected_formatter; end + + # source://ruby-lsp/lib/ruby_lsp/requests/support/dependency_detector.rb#15 + sig { returns(::String) } + def detected_test_library; end - # source://ruby-lsp/lib/ruby_lsp/requests/support/dependency_detector.rb#45 - sig { params(gem_pattern: ::Regexp).returns(T::Boolean) } - def direct_dependency?(gem_pattern); end + # source://ruby-lsp/lib/ruby_lsp/requests/support/dependency_detector.rb#58 + sig { params(gem_pattern: ::Regexp).returns(T::Boolean) } + def direct_dependency?(gem_pattern); end - # source://ruby-lsp/lib/ruby_lsp/requests/support/dependency_detector.rb#40 - sig { returns(T::Boolean) } - def typechecker?; end + # source://ruby-lsp/lib/ruby_lsp/requests/support/dependency_detector.rb#18 + sig { returns(T::Boolean) } + def typechecker; end + + class << self + private + + def allocate; end + def new(*_arg0); end end end -# source://ruby-lsp/lib/ruby_lsp/requests/support/dependency_detector.rb#53 -RubyLsp::DependencyDetector::HAS_TYPECHECKER = T.let(T.unsafe(nil), TrueClass) - # source://ruby-lsp/lib/ruby_lsp/document.rb#5 class RubyLsp::Document # source://ruby-lsp/lib/ruby_lsp/document.rb#25 sig { params(source: ::String, version: ::Integer, uri: ::URI::Generic, encoding: ::String).void } def initialize(source:, version:, uri:, encoding: T.unsafe(nil)); end - # source://ruby-lsp/lib/ruby_lsp/document.rb#39 + # source://ruby-lsp/lib/ruby_lsp/document.rb#46 sig { params(other: ::RubyLsp::Document).returns(T::Boolean) } def ==(other); end # TODO: remove this method once all nonpositional requests have been migrated to the listener pattern # - # source://ruby-lsp/lib/ruby_lsp/document.rb#51 + # source://ruby-lsp/lib/ruby_lsp/document.rb#58 sig do type_parameters(:T) .params( @@ -394,46 +659,50 @@ class RubyLsp::Document end def cache_fetch(request_name, &block); end - # source://ruby-lsp/lib/ruby_lsp/document.rb#66 + # source://ruby-lsp/lib/ruby_lsp/document.rb#73 sig { params(request_name: ::String).returns(T.untyped) } def cache_get(request_name); end - # source://ruby-lsp/lib/ruby_lsp/document.rb#61 + # source://ruby-lsp/lib/ruby_lsp/document.rb#68 sig { type_parameters(:T).params(request_name: ::String, value: T.type_parameter(:T)).returns(T.type_parameter(:T)) } def cache_set(request_name, value); end - # source://ruby-lsp/lib/ruby_lsp/document.rb#109 + # source://ruby-lsp/lib/ruby_lsp/document.rb#41 + sig { returns(T::Array[::YARP::Comment]) } + def comments; end + + # source://ruby-lsp/lib/ruby_lsp/document.rb#108 sig { returns(::RubyLsp::Document::Scanner) } def create_scanner; end - # source://ruby-lsp/lib/ruby_lsp/document.rb#132 + # source://ruby-lsp/lib/ruby_lsp/document.rb#129 sig do params( - node: ::SyntaxTree::Node, + node: ::YARP::Node, char_position: ::Integer, - node_types: T::Array[T.class_of(SyntaxTree::Node)] - ).returns([T.nilable(::SyntaxTree::Node), T.nilable(::SyntaxTree::Node), T::Array[::String]]) + node_types: T::Array[T.class_of(YARP::Node)] + ).returns([T.nilable(::YARP::Node), T.nilable(::YARP::Node), T::Array[::String]]) end def locate(node, char_position, node_types: T.unsafe(nil)); end - # source://ruby-lsp/lib/ruby_lsp/document.rb#119 + # source://ruby-lsp/lib/ruby_lsp/document.rb#118 sig do params( position: {line: ::Integer, character: ::Integer}, - node_types: T::Array[T.class_of(SyntaxTree::Node)] - ).returns([T.nilable(::SyntaxTree::Node), T.nilable(::SyntaxTree::Node), T::Array[::String]]) + node_types: T::Array[T.class_of(YARP::Node)] + ).returns([T.nilable(::YARP::Node), T.nilable(::YARP::Node), T::Array[::String]]) end def locate_node(position, node_types: T.unsafe(nil)); end - # source://ruby-lsp/lib/ruby_lsp/document.rb#88 + # source://ruby-lsp/lib/ruby_lsp/document.rb#95 sig { void } def parse; end - # source://ruby-lsp/lib/ruby_lsp/document.rb#104 - sig { returns(T::Boolean) } - def parsed?; end + # source://ruby-lsp/lib/ruby_lsp/document.rb#13 + sig { returns(::YARP::ParseResult) } + def parse_result; end - # source://ruby-lsp/lib/ruby_lsp/document.rb#71 + # source://ruby-lsp/lib/ruby_lsp/document.rb#78 sig do params( edits: T::Array[{range: {start: {line: ::Integer, character: ::Integer}, end: {line: ::Integer, character: ::Integer}}, text: ::String}], @@ -446,12 +715,12 @@ class RubyLsp::Document sig { returns(::String) } def source; end - # source://ruby-lsp/lib/ruby_lsp/document.rb#99 + # source://ruby-lsp/lib/ruby_lsp/document.rb#103 sig { returns(T::Boolean) } def syntax_error?; end - # source://ruby-lsp/lib/ruby_lsp/document.rb#13 - sig { returns(T.nilable(::SyntaxTree::Node)) } + # source://ruby-lsp/lib/ruby_lsp/document.rb#36 + sig { returns(::YARP::ProgramNode) } def tree; end # source://ruby-lsp/lib/ruby_lsp/document.rb#22 @@ -472,35 +741,35 @@ RubyLsp::Document::PositionShape = T.type_alias { {line: ::Integer, character: : # source://ruby-lsp/lib/ruby_lsp/document.rb#9 RubyLsp::Document::RangeShape = T.type_alias { {start: {line: ::Integer, character: ::Integer}, end: {line: ::Integer, character: ::Integer}} } -# source://ruby-lsp/lib/ruby_lsp/document.rb#182 +# source://ruby-lsp/lib/ruby_lsp/document.rb#179 class RubyLsp::Document::Scanner - # source://ruby-lsp/lib/ruby_lsp/document.rb#190 + # source://ruby-lsp/lib/ruby_lsp/document.rb#187 sig { params(source: ::String, encoding: ::String).void } def initialize(source, encoding); end # Finds the character index inside the source string for a given line and column # - # source://ruby-lsp/lib/ruby_lsp/document.rb#199 + # source://ruby-lsp/lib/ruby_lsp/document.rb#196 sig { params(position: {line: ::Integer, character: ::Integer}).returns(::Integer) } def find_char_position(position); end # Subtract 1 for each character after 0xFFFF in the current line from the column position, so that we hit the # right character in the UTF-8 representation # - # source://ruby-lsp/lib/ruby_lsp/document.rb#221 + # source://ruby-lsp/lib/ruby_lsp/document.rb#218 sig { params(current_position: ::Integer, requested_position: ::Integer).returns(::Integer) } def utf_16_character_position_correction(current_position, requested_position); end end -# source://ruby-lsp/lib/ruby_lsp/document.rb#185 +# source://ruby-lsp/lib/ruby_lsp/document.rb#182 RubyLsp::Document::Scanner::LINE_BREAK = T.let(T.unsafe(nil), Integer) # After character 0xFFFF, UTF-16 considers characters to have length 2 and we have to account for that # -# source://ruby-lsp/lib/ruby_lsp/document.rb#187 +# source://ruby-lsp/lib/ruby_lsp/document.rb#184 RubyLsp::Document::Scanner::SURROGATE_PAIR_START = T.let(T.unsafe(nil), Integer) -# EventEmitter is an intermediary between our requests and Syntax Tree visitors. It's used to visit the document's AST +# EventEmitter is an intermediary between our requests and YARP visitors. It's used to visit the document's AST # and emit events that the requests can listen to for providing functionality. Usages: # # - For positional requests, locate the target node and use `emit_for_target` to fire events for each listener @@ -518,110 +787,216 @@ RubyLsp::Document::Scanner::SURROGATE_PAIR_START = T.let(T.unsafe(nil), Integer) # ``` # # source://ruby-lsp/lib/ruby_lsp/event_emitter.rb#21 -class RubyLsp::EventEmitter < ::SyntaxTree::Visitor - include ::SyntaxTree::WithScope - - # source://ruby-lsp/lib/ruby_lsp/event_emitter.rb#26 +class RubyLsp::EventEmitter < ::YARP::Visitor + # source://ruby-lsp/lib/ruby_lsp/event_emitter.rb#25 sig { void } def initialize; end # Emit events for a specific node. This is similar to the regular `visit` method, but avoids going deeper into the # tree for performance # - # source://ruby-lsp/lib/ruby_lsp/event_emitter.rb#39 - sig { params(node: T.nilable(::SyntaxTree::Node)).void } + # source://ruby-lsp/lib/ruby_lsp/event_emitter.rb#38 + sig { params(node: T.nilable(::YARP::Node)).void } def emit_for_target(node); end - # source://ruby-lsp/lib/ruby_lsp/event_emitter.rb#32 + # source://ruby-lsp/lib/ruby_lsp/event_emitter.rb#31 sig { params(listener: RubyLsp::Listener[T.untyped], events: ::Symbol).void } def register(listener, *events); end # Visit dispatchers are below. Notice that for nodes that create a new scope (e.g.: classes, modules, method defs) # we need both an `on_*` and `after_*` event. This is because some requests must know when we exit the scope # - # source://ruby-lsp/lib/ruby_lsp/event_emitter.rb#59 - sig { override.params(node: T.nilable(::SyntaxTree::Node)).void } + # source://ruby-lsp/lib/ruby_lsp/event_emitter.rb#60 + sig { override.params(node: T.nilable(::YARP::Node)).void } def visit(node); end + # source://ruby-lsp/lib/ruby_lsp/event_emitter.rb#66 + sig { params(nodes: T::Array[T.nilable(::YARP::Node)]).void } + def visit_all(nodes); end + + # source://ruby-lsp/lib/ruby_lsp/event_emitter.rb#280 + sig { override.params(node: ::YARP::ArrayNode).void } + def visit_array_node(node); end + + # source://ruby-lsp/lib/ruby_lsp/event_emitter.rb#340 + sig { override.params(node: ::YARP::BeginNode).void } + def visit_begin_node(node); end + + # source://ruby-lsp/lib/ruby_lsp/event_emitter.rb#250 + sig { override.params(node: ::YARP::BlockLocalVariableNode).void } + def visit_block_local_variable_node(node); end + + # source://ruby-lsp/lib/ruby_lsp/event_emitter.rb#111 + sig { override.params(node: ::YARP::BlockNode).void } + def visit_block_node(node); end + + # source://ruby-lsp/lib/ruby_lsp/event_emitter.rb#130 + sig { override.params(node: ::YARP::BlockParameterNode).void } + def visit_block_parameter_node(node); end + + # source://ruby-lsp/lib/ruby_lsp/event_emitter.rb#85 + sig { override.params(node: ::YARP::CallNode).void } + def visit_call_node(node); end + + # source://ruby-lsp/lib/ruby_lsp/event_emitter.rb#286 + sig { override.params(node: ::YARP::CaseNode).void } + def visit_case_node(node); end + + # source://ruby-lsp/lib/ruby_lsp/event_emitter.rb#71 + sig { override.params(node: ::YARP::ClassNode).void } + def visit_class_node(node); end + + # source://ruby-lsp/lib/ruby_lsp/event_emitter.rb#98 + sig { override.params(node: ::YARP::ClassVariableWriteNode).void } + def visit_class_variable_write_node(node); end + + # source://ruby-lsp/lib/ruby_lsp/event_emitter.rb#190 + sig { override.params(node: ::YARP::ConstantAndWriteNode).void } + def visit_constant_and_write_node(node); end + + # source://ruby-lsp/lib/ruby_lsp/event_emitter.rb#196 + sig { override.params(node: ::YARP::ConstantOperatorWriteNode).void } + def visit_constant_operator_write_node(node); end + + # source://ruby-lsp/lib/ruby_lsp/event_emitter.rb#202 + sig { override.params(node: ::YARP::ConstantOrWriteNode).void } + def visit_constant_or_write_node(node); end + + # source://ruby-lsp/lib/ruby_lsp/event_emitter.rb#172 + sig { override.params(node: ::YARP::ConstantPathNode).void } + def visit_constant_path_node(node); end + # source://ruby-lsp/lib/ruby_lsp/event_emitter.rb#178 - sig { override.params(node: ::SyntaxTree::Binary).void } - def visit_binary(node); end + sig { override.params(node: ::YARP::ConstantPathWriteNode).void } + def visit_constant_path_write_node(node); end # source://ruby-lsp/lib/ruby_lsp/event_emitter.rb#166 - sig { override.params(node: ::SyntaxTree::BlockVar).void } - def visit_block_var(node); end + sig { override.params(node: ::YARP::ConstantReadNode).void } + def visit_constant_read_node(node); end - # source://ruby-lsp/lib/ruby_lsp/event_emitter.rb#92 - sig { override.params(node: ::SyntaxTree::CallNode).void } - def visit_call(node); end + # source://ruby-lsp/lib/ruby_lsp/event_emitter.rb#208 + sig { override.params(node: ::YARP::ConstantTargetNode).void } + def visit_constant_target_node(node); end - # source://ruby-lsp/lib/ruby_lsp/event_emitter.rb#65 - sig { override.params(node: ::SyntaxTree::ClassDeclaration).void } - def visit_class(node); end + # source://ruby-lsp/lib/ruby_lsp/event_emitter.rb#184 + sig { override.params(node: ::YARP::ConstantWriteNode).void } + def visit_constant_write_node(node); end - # source://ruby-lsp/lib/ruby_lsp/event_emitter.rb#79 - sig { override.params(node: ::SyntaxTree::Command).void } - def visit_command(node); end + # source://ruby-lsp/lib/ruby_lsp/event_emitter.rb#104 + sig { override.params(node: ::YARP::DefNode).void } + def visit_def_node(node); end - # source://ruby-lsp/lib/ruby_lsp/event_emitter.rb#86 - sig { override.params(node: ::SyntaxTree::CommandCall).void } - def visit_command_call(node); end + # source://ruby-lsp/lib/ruby_lsp/event_emitter.rb#328 + sig { override.params(node: ::YARP::ElseNode).void } + def visit_else_node(node); end - # source://ruby-lsp/lib/ruby_lsp/event_emitter.rb#130 - sig { override.params(node: ::SyntaxTree::Comment).void } - def visit_comment(node); end + # source://ruby-lsp/lib/ruby_lsp/event_emitter.rb#334 + sig { override.params(node: ::YARP::EnsureNode).void } + def visit_ensure_node(node); end - # source://ruby-lsp/lib/ruby_lsp/event_emitter.rb#184 - sig { override.params(node: ::SyntaxTree::Const).void } - def visit_const(node); end + # source://ruby-lsp/lib/ruby_lsp/event_emitter.rb#292 + sig { override.params(node: ::YARP::ForNode).void } + def visit_for_node(node); end - # source://ruby-lsp/lib/ruby_lsp/event_emitter.rb#105 - sig { override.params(node: ::SyntaxTree::ConstPathField).void } - def visit_const_path_field(node); end + # source://ruby-lsp/lib/ruby_lsp/event_emitter.rb#298 + sig { override.params(node: ::YARP::HashNode).void } + def visit_hash_node(node); end - # source://ruby-lsp/lib/ruby_lsp/event_emitter.rb#117 - sig { override.params(node: ::SyntaxTree::DefNode).void } - def visit_def(node); end + # source://ruby-lsp/lib/ruby_lsp/event_emitter.rb#256 + sig { override.params(node: ::YARP::IfNode).void } + def visit_if_node(node); end - # source://ruby-lsp/lib/ruby_lsp/event_emitter.rb#154 - sig { override.params(node: ::SyntaxTree::Field).void } - def visit_field(node); end + # source://ruby-lsp/lib/ruby_lsp/event_emitter.rb#262 + sig { override.params(node: ::YARP::InNode).void } + def visit_in_node(node); end + + # source://ruby-lsp/lib/ruby_lsp/event_emitter.rb#92 + sig { override.params(node: ::YARP::InstanceVariableWriteNode).void } + def visit_instance_variable_write_node(node); end + + # source://ruby-lsp/lib/ruby_lsp/event_emitter.rb#274 + sig { override.params(node: ::YARP::InterpolatedStringNode).void } + def visit_interpolated_string_node(node); end + + # source://ruby-lsp/lib/ruby_lsp/event_emitter.rb#136 + sig { override.params(node: ::YARP::KeywordParameterNode).void } + def visit_keyword_parameter_node(node); end # source://ruby-lsp/lib/ruby_lsp/event_emitter.rb#142 - sig { override.params(node: ::SyntaxTree::Kw).void } - def visit_kw(node); end + sig { override.params(node: ::YARP::KeywordRestParameterNode).void } + def visit_keyword_rest_parameter_node(node); end - # source://ruby-lsp/lib/ruby_lsp/event_emitter.rb#172 - sig { override.params(node: ::SyntaxTree::LambdaVar).void } - def visit_lambda_var(node); end + # source://ruby-lsp/lib/ruby_lsp/event_emitter.rb#226 + sig { override.params(node: ::YARP::LocalVariableAndWriteNode).void } + def visit_local_variable_and_write_node(node); end - # source://ruby-lsp/lib/ruby_lsp/event_emitter.rb#72 - sig { override.params(node: ::SyntaxTree::ModuleDeclaration).void } - def visit_module(node); end + # source://ruby-lsp/lib/ruby_lsp/event_emitter.rb#232 + sig { override.params(node: ::YARP::LocalVariableOperatorWriteNode).void } + def visit_local_variable_operator_write_node(node); end - # source://ruby-lsp/lib/ruby_lsp/event_emitter.rb#148 - sig { override.params(node: ::SyntaxTree::Params).void } - def visit_params(node); end + # source://ruby-lsp/lib/ruby_lsp/event_emitter.rb#238 + sig { override.params(node: ::YARP::LocalVariableOrWriteNode).void } + def visit_local_variable_or_write_node(node); end - # source://ruby-lsp/lib/ruby_lsp/event_emitter.rb#136 - sig { override.params(node: ::SyntaxTree::Rescue).void } - def visit_rescue(node); end + # source://ruby-lsp/lib/ruby_lsp/event_emitter.rb#220 + sig { override.params(node: ::YARP::LocalVariableReadNode).void } + def visit_local_variable_read_node(node); end - # source://ruby-lsp/lib/ruby_lsp/event_emitter.rb#111 - sig { override.params(node: ::SyntaxTree::TopConstField).void } - def visit_top_const_field(node); end + # source://ruby-lsp/lib/ruby_lsp/event_emitter.rb#244 + sig { override.params(node: ::YARP::LocalVariableTargetNode).void } + def visit_local_variable_target_node(node); end + + # source://ruby-lsp/lib/ruby_lsp/event_emitter.rb#214 + sig { override.params(node: ::YARP::LocalVariableWriteNode).void } + def visit_local_variable_write_node(node); end + + # source://ruby-lsp/lib/ruby_lsp/event_emitter.rb#78 + sig { override.params(node: ::YARP::ModuleNode).void } + def visit_module_node(node); end + + # source://ruby-lsp/lib/ruby_lsp/event_emitter.rb#148 + sig { override.params(node: ::YARP::OptionalParameterNode).void } + def visit_optional_parameter_node(node); end + + # source://ruby-lsp/lib/ruby_lsp/event_emitter.rb#154 + sig { override.params(node: ::YARP::RequiredParameterNode).void } + def visit_required_parameter_node(node); end # source://ruby-lsp/lib/ruby_lsp/event_emitter.rb#124 - sig { override.params(node: ::SyntaxTree::VarField).void } - def visit_var_field(node); end + sig { override.params(node: ::YARP::RescueNode).void } + def visit_rescue_node(node); end # source://ruby-lsp/lib/ruby_lsp/event_emitter.rb#160 - sig { override.params(node: ::SyntaxTree::VarRef).void } - def visit_var_ref(node); end + sig { override.params(node: ::YARP::RestParameterNode).void } + def visit_rest_parameter_node(node); end + + # source://ruby-lsp/lib/ruby_lsp/event_emitter.rb#118 + sig { override.params(node: ::YARP::SelfNode).void } + def visit_self_node(node); end - # source://ruby-lsp/lib/ruby_lsp/event_emitter.rb#99 - sig { override.params(node: ::SyntaxTree::VCall).void } - def visit_vcall(node); end + # source://ruby-lsp/lib/ruby_lsp/event_emitter.rb#304 + sig { override.params(node: ::YARP::SingletonClassNode).void } + def visit_singleton_class_node(node); end + + # source://ruby-lsp/lib/ruby_lsp/event_emitter.rb#346 + sig { override.params(node: ::YARP::StringConcatNode).void } + def visit_string_concat_node(node); end + + # source://ruby-lsp/lib/ruby_lsp/event_emitter.rb#310 + sig { override.params(node: ::YARP::UnlessNode).void } + def visit_unless_node(node); end + + # source://ruby-lsp/lib/ruby_lsp/event_emitter.rb#316 + sig { override.params(node: ::YARP::UntilNode).void } + def visit_until_node(node); end + + # source://ruby-lsp/lib/ruby_lsp/event_emitter.rb#268 + sig { override.params(node: ::YARP::WhenNode).void } + def visit_when_node(node); end + + # source://ruby-lsp/lib/ruby_lsp/event_emitter.rb#322 + sig { override.params(node: ::YARP::WhileNode).void } + def visit_while_node(node); end end # This class dispatches a request execution to the right request class. No IO should happen anywhere here! @@ -632,21 +1007,21 @@ class RubyLsp::Executor sig { params(store: ::RubyLsp::Store, message_queue: ::Thread::Queue).void } def initialize(store, message_queue); end - # source://ruby-lsp/lib/ruby_lsp/executor.rb#22 + # source://ruby-lsp/lib/ruby_lsp/executor.rb#21 sig { params(request: T::Hash[::Symbol, T.untyped]).returns(::RubyLsp::Result) } def execute(request); end private - # source://ruby-lsp/lib/ruby_lsp/executor.rb#527 + # source://ruby-lsp/lib/ruby_lsp/executor.rb#517 sig { params(id: ::String, title: ::String).void } def begin_progress(id, title); end - # source://ruby-lsp/lib/ruby_lsp/executor.rb#721 + # source://ruby-lsp/lib/ruby_lsp/executor.rb#711 sig { void } def check_formatter_is_available; end - # source://ruby-lsp/lib/ruby_lsp/executor.rb#404 + # source://ruby-lsp/lib/ruby_lsp/executor.rb#396 sig do params( uri: ::URI::Generic, @@ -656,11 +1031,11 @@ class RubyLsp::Executor end def code_action(uri, range, context); end - # source://ruby-lsp/lib/ruby_lsp/executor.rb#411 + # source://ruby-lsp/lib/ruby_lsp/executor.rb#403 sig { params(params: T::Hash[::Symbol, T.untyped]).returns(::LanguageServer::Protocol::Interface::CodeAction) } def code_action_resolve(params); end - # source://ruby-lsp/lib/ruby_lsp/executor.rb#472 + # source://ruby-lsp/lib/ruby_lsp/executor.rb#464 sig do params( uri: ::URI::Generic, @@ -669,7 +1044,7 @@ class RubyLsp::Executor end def completion(uri, position); end - # source://ruby-lsp/lib/ruby_lsp/executor.rb#247 + # source://ruby-lsp/lib/ruby_lsp/executor.rb#246 sig do params( uri: ::URI::Generic, @@ -678,7 +1053,7 @@ class RubyLsp::Executor end def definition(uri, position); end - # source://ruby-lsp/lib/ruby_lsp/executor.rb#441 + # source://ruby-lsp/lib/ruby_lsp/executor.rb#433 sig do params( uri: ::URI::Generic @@ -686,11 +1061,11 @@ class RubyLsp::Executor end def diagnostic(uri); end - # source://ruby-lsp/lib/ruby_lsp/executor.rb#184 + # source://ruby-lsp/lib/ruby_lsp/executor.rb#183 sig { params(changes: T::Array[{uri: ::String, type: ::Integer}]).returns(::Object) } def did_change_watched_files(changes); end - # source://ruby-lsp/lib/ruby_lsp/executor.rb#372 + # source://ruby-lsp/lib/ruby_lsp/executor.rb#366 sig do params( uri: ::URI::Generic, @@ -699,19 +1074,15 @@ class RubyLsp::Executor end def document_highlight(uri, position); end - # source://ruby-lsp/lib/ruby_lsp/executor.rb#545 + # source://ruby-lsp/lib/ruby_lsp/executor.rb#535 sig { params(id: ::String).void } def end_progress(id); end - # source://ruby-lsp/lib/ruby_lsp/executor.rb#265 - sig { params(uri: ::URI::Generic).returns(T::Array[::LanguageServer::Protocol::Interface::FoldingRange]) } - def folding_range(uri); end - - # source://ruby-lsp/lib/ruby_lsp/executor.rb#348 + # source://ruby-lsp/lib/ruby_lsp/executor.rb#342 sig { params(uri: ::URI::Generic).returns(T.nilable(T::Array[::LanguageServer::Protocol::Interface::TextEdit])) } def formatting(uri); end - # source://ruby-lsp/lib/ruby_lsp/executor.rb#277 + # source://ruby-lsp/lib/ruby_lsp/executor.rb#273 sig do params( uri: ::URI::Generic, @@ -720,7 +1091,7 @@ class RubyLsp::Executor end def hover(uri, position); end - # source://ruby-lsp/lib/ruby_lsp/executor.rb#558 + # source://ruby-lsp/lib/ruby_lsp/executor.rb#548 sig do params( options: T::Hash[::Symbol, T.untyped] @@ -728,7 +1099,7 @@ class RubyLsp::Executor end def initialize_request(options); end - # source://ruby-lsp/lib/ruby_lsp/executor.rb#384 + # source://ruby-lsp/lib/ruby_lsp/executor.rb#377 sig do params( uri: ::URI::Generic, @@ -737,7 +1108,7 @@ class RubyLsp::Executor end def inlay_hint(uri, range); end - # source://ruby-lsp/lib/ruby_lsp/executor.rb#362 + # source://ruby-lsp/lib/ruby_lsp/executor.rb#356 sig do params( uri: ::URI::Generic, @@ -747,15 +1118,15 @@ class RubyLsp::Executor end def on_type_formatting(uri, position, character); end - # source://ruby-lsp/lib/ruby_lsp/executor.rb#209 + # source://ruby-lsp/lib/ruby_lsp/executor.rb#208 sig { void } def perform_initial_indexing; end - # source://ruby-lsp/lib/ruby_lsp/executor.rb#38 + # source://ruby-lsp/lib/ruby_lsp/executor.rb#37 sig { params(request: T::Hash[::Symbol, T.untyped]).returns(T.untyped) } def run(request); end - # source://ruby-lsp/lib/ruby_lsp/executor.rb#328 + # source://ruby-lsp/lib/ruby_lsp/executor.rb#322 sig do params( uri: ::URI::Generic, @@ -764,233 +1135,92 @@ class RubyLsp::Executor end def selection_range(uri, positions); end - # source://ruby-lsp/lib/ruby_lsp/executor.rb#450 + # source://ruby-lsp/lib/ruby_lsp/executor.rb#442 sig do params( uri: ::URI::Generic, range: {start: {line: ::Integer, character: ::Integer}, end: {line: ::Integer, character: ::Integer}} ).returns(::LanguageServer::Protocol::Interface::SemanticTokens) end - def semantic_tokens_range(uri, range); end - - # source://ruby-lsp/lib/ruby_lsp/executor.rb#237 - sig do - params( - uri: ::URI::Generic, - range: T.nilable({start: {line: ::Integer, character: ::Integer}, end: {line: ::Integer, character: ::Integer}}) - ).returns({ast: ::String}) - end - def show_syntax_tree(uri, range); end - - # source://ruby-lsp/lib/ruby_lsp/executor.rb#305 - sig do - params( - uri: ::URI::Generic, - content_changes: T::Array[{range: {start: {line: ::Integer, character: ::Integer}, end: {line: ::Integer, character: ::Integer}}, text: ::String}], - version: ::Integer - ).returns(::Object) - end - def text_document_did_change(uri, content_changes, version); end - - # source://ruby-lsp/lib/ruby_lsp/executor.rb#317 - sig { params(uri: ::URI::Generic).returns(::Object) } - def text_document_did_close(uri); end - - # source://ruby-lsp/lib/ruby_lsp/executor.rb#311 - sig { params(uri: ::URI::Generic, text: ::String, version: ::Integer).returns(::Object) } - def text_document_did_open(uri, text, version); end - - # source://ruby-lsp/lib/ruby_lsp/executor.rb#232 - sig { params(query: T.nilable(::String)).returns(T::Array[::LanguageServer::Protocol::Interface::WorkspaceSymbol]) } - def workspace_symbol(query); end -end - -# ExtensibleListener is an abstract class to be used by requests that accept extensions. -# -# @abstract It cannot be directly instantiated. Subclasses must implement the `abstract` methods below. -# -# source://ruby-lsp/lib/ruby_lsp/listener.rb#35 -class RubyLsp::ExtensibleListener < ::RubyLsp::Listener - extend T::Generic - - abstract! - - ResponseType = type_member - - # When inheriting from ExtensibleListener, the `super` of constructor must be called **after** the subclass's own - # ivars have been initialized. This is because the constructor of ExtensibleListener calls - # `initialize_external_listener` which may depend on the subclass's ivars. - # - # source://ruby-lsp/lib/ruby_lsp/listener.rb#47 - sig { params(emitter: ::RubyLsp::EventEmitter, message_queue: ::Thread::Queue).void } - def initialize(emitter, message_queue); end - - # @abstract - # - # source://ruby-lsp/lib/ruby_lsp/listener.rb#74 - sig { abstract.params(extension: ::RubyLsp::Extension).returns(T.nilable(RubyLsp::Listener[ResponseType])) } - def initialize_external_listener(extension); end - - # Merge responses from all external listeners into the base listener's response. We do this to return a single - # response to the editor including the results of all extensions - # - # source://ruby-lsp/lib/ruby_lsp/listener.rb#61 - sig { void } - def merge_external_listeners_responses!; end - - # Does nothing by default. Requests that accept extensions should override this method to define how to merge - # responses coming from external listeners - # - # @abstract - # - # source://ruby-lsp/lib/ruby_lsp/listener.rb#79 - sig { abstract.params(other: RubyLsp::Listener[T.untyped]).returns(T.self_type) } - def merge_response!(other); end - - # source://ruby-lsp/lib/ruby_lsp/listener.rb#66 - sig { returns(ResponseType) } - def response; end -end - -# To register an extension, inherit from this class and implement both `name` and `activate` -# -# # Example -# -# ```ruby -# module MyGem -# class MyExtension < Extension -# def activate -# # Perform any relevant initialization -# end -# -# def name -# "My extension name" -# end -# end -# end -# ``` -# -# @abstract It cannot be directly instantiated. Subclasses must implement the `abstract` methods below. -# -# source://ruby-lsp/lib/ruby_lsp/extension.rb#22 -class RubyLsp::Extension - abstract! - - # source://ruby-lsp/lib/ruby_lsp/extension.rb#67 - sig { void } - def initialize; end - - # Each extension should implement `MyExtension#activate` and use to perform any sort of initialization, such as - # reading information into memory or even spawning a separate process - # - # @abstract - # - # source://ruby-lsp/lib/ruby_lsp/extension.rb#98 - sig { abstract.void } - def activate; end - - # source://ruby-lsp/lib/ruby_lsp/extension.rb#72 - sig { params(error: ::StandardError).returns(T.self_type) } - def add_error(error); end - - # source://ruby-lsp/lib/ruby_lsp/extension.rb#91 - sig { returns(::String) } - def backtraces; end - - # Creates a new CodeLens listener. This method is invoked on every CodeLens request - # - # source://ruby-lsp/lib/ruby_lsp/extension.rb#117 - sig do - overridable - .params( - uri: ::URI::Generic, - emitter: ::RubyLsp::EventEmitter, - message_queue: ::Thread::Queue - ).returns(T.nilable(RubyLsp::Listener[T::Array[::LanguageServer::Protocol::Interface::CodeLens]])) - end - def create_code_lens_listener(uri, emitter, message_queue); end - - # Creates a new Definition listener. This method is invoked on every Definition request - # - # source://ruby-lsp/lib/ruby_lsp/extension.rb#147 - sig do - overridable - .params( - uri: ::URI::Generic, - nesting: T::Array[::String], - index: ::RubyIndexer::Index, - emitter: ::RubyLsp::EventEmitter, - message_queue: ::Thread::Queue - ).returns(T.nilable(RubyLsp::Listener[T.nilable(T.any(::LanguageServer::Protocol::Interface::Location, T::Array[::LanguageServer::Protocol::Interface::Location]))])) - end - def create_definition_listener(uri, nesting, index, emitter, message_queue); end + def semantic_tokens_range(uri, range); end - # Creates a new DocumentSymbol listener. This method is invoked on every DocumentSymbol request - # - # source://ruby-lsp/lib/ruby_lsp/extension.rb#135 + # source://ruby-lsp/lib/ruby_lsp/executor.rb#236 sig do - overridable - .params( - emitter: ::RubyLsp::EventEmitter, - message_queue: ::Thread::Queue - ).returns(T.nilable(RubyLsp::Listener[T::Array[::LanguageServer::Protocol::Interface::DocumentSymbol]])) + params( + uri: ::URI::Generic, + range: T.nilable({start: {line: ::Integer, character: ::Integer}, end: {line: ::Integer, character: ::Integer}}) + ).returns({ast: ::String}) end - def create_document_symbol_listener(emitter, message_queue); end + def show_syntax_tree(uri, range); end - # Creates a new Hover listener. This method is invoked on every Hover request - # - # source://ruby-lsp/lib/ruby_lsp/extension.rb#126 + # source://ruby-lsp/lib/ruby_lsp/executor.rb#299 sig do - overridable - .params( - emitter: ::RubyLsp::EventEmitter, - message_queue: ::Thread::Queue - ).returns(T.nilable(RubyLsp::Listener[T.nilable(::LanguageServer::Protocol::Interface::Hover)])) + params( + uri: ::URI::Generic, + content_changes: T::Array[{range: {start: {line: ::Integer, character: ::Integer}, end: {line: ::Integer, character: ::Integer}}, text: ::String}], + version: ::Integer + ).returns(::Object) end - def create_hover_listener(emitter, message_queue); end + def text_document_did_change(uri, content_changes, version); end - # Each extension should implement `MyExtension#deactivate` and use to perform any clean up, like shutting down a - # child process - # - # @abstract - # - # source://ruby-lsp/lib/ruby_lsp/extension.rb#103 - sig { abstract.void } - def deactivate; end + # source://ruby-lsp/lib/ruby_lsp/executor.rb#311 + sig { params(uri: ::URI::Generic).returns(::Object) } + def text_document_did_close(uri); end - # source://ruby-lsp/lib/ruby_lsp/extension.rb#78 - sig { returns(T::Boolean) } - def error?; end + # source://ruby-lsp/lib/ruby_lsp/executor.rb#305 + sig { params(uri: ::URI::Generic, text: ::String, version: ::Integer).returns(::Object) } + def text_document_did_open(uri, text, version); end - # source://ruby-lsp/lib/ruby_lsp/extension.rb#83 - sig { returns(::String) } - def formatted_errors; end + # source://ruby-lsp/lib/ruby_lsp/executor.rb#231 + sig { params(query: T.nilable(::String)).returns(T::Array[::LanguageServer::Protocol::Interface::WorkspaceSymbol]) } + def workspace_symbol(query); end +end + +# ExtensibleListener is an abstract class to be used by requests that accept addons. +# +# @abstract It cannot be directly instantiated. Subclasses must implement the `abstract` methods below. +# +# source://ruby-lsp/lib/ruby_lsp/listener.rb#35 +class RubyLsp::ExtensibleListener < ::RubyLsp::Listener + extend T::Generic + + abstract! + + ResponseType = type_member - # Extensions should override the `name` method to return the extension name + # When inheriting from ExtensibleListener, the `super` of constructor must be called **after** the subclass's own + # ivars have been initialized. This is because the constructor of ExtensibleListener calls + # `initialize_external_listener` which may depend on the subclass's ivars. # + # source://ruby-lsp/lib/ruby_lsp/listener.rb#47 + sig { params(emitter: ::RubyLsp::EventEmitter, message_queue: ::Thread::Queue).void } + def initialize(emitter, message_queue); end + # @abstract # - # source://ruby-lsp/lib/ruby_lsp/extension.rb#107 - sig { abstract.returns(::String) } - def name; end + # source://ruby-lsp/lib/ruby_lsp/listener.rb#74 + sig { abstract.params(addon: ::RubyLsp::Addon).returns(T.nilable(RubyLsp::Listener[ResponseType])) } + def initialize_external_listener(addon); end - class << self - # source://ruby-lsp/lib/ruby_lsp/extension.rb#39 - sig { returns(T::Array[::RubyLsp::Extension]) } - def extensions; end + # Merge responses from all external listeners into the base listener's response. We do this to return a single + # response to the editor including the results of all addons + # + # source://ruby-lsp/lib/ruby_lsp/listener.rb#61 + sig { void } + def merge_external_listeners_responses!; end - # Automatically track and instantiate extension classes - # - # source://ruby-lsp/lib/ruby_lsp/extension.rb#33 - sig { params(child_class: T.class_of(RubyLsp::Extension)).void } - def inherited(child_class); end + # Does nothing by default. Requests that accept addons should override this method to define how to merge responses + # coming from external listeners + # + # @abstract + # + # source://ruby-lsp/lib/ruby_lsp/listener.rb#79 + sig { abstract.params(other: RubyLsp::Listener[T.untyped]).returns(T.self_type) } + def merge_response!(other); end - # Discovers and loads all extensions. Returns the list of activated extensions - # - # source://ruby-lsp/lib/ruby_lsp/extension.rb#45 - sig { returns(T::Array[::RubyLsp::Extension]) } - def load_extensions; end - end + # source://ruby-lsp/lib/ruby_lsp/listener.rb#66 + sig { returns(ResponseType) } + def response; end end # source://ruby-lsp/lib/ruby_lsp/server.rb#6 @@ -998,21 +1228,21 @@ RubyLsp::Interface = LanguageServer::Protocol::Interface # A request that will sit in the queue until it's executed # -# source://ruby-lsp/lib/ruby_lsp/utils.rb#62 +# source://ruby-lsp/lib/ruby_lsp/utils.rb#52 class RubyLsp::Job - # source://ruby-lsp/lib/ruby_lsp/utils.rb#72 + # source://ruby-lsp/lib/ruby_lsp/utils.rb#62 sig { params(request: T::Hash[::Symbol, T.untyped], cancelled: T::Boolean).void } def initialize(request:, cancelled:); end - # source://ruby-lsp/lib/ruby_lsp/utils.rb#78 + # source://ruby-lsp/lib/ruby_lsp/utils.rb#68 sig { void } def cancel; end - # source://ruby-lsp/lib/ruby_lsp/utils.rb#69 + # source://ruby-lsp/lib/ruby_lsp/utils.rb#59 sig { returns(T::Boolean) } def cancelled; end - # source://ruby-lsp/lib/ruby_lsp/utils.rb#66 + # source://ruby-lsp/lib/ruby_lsp/utils.rb#56 sig { returns(T::Hash[::Symbol, T.untyped]) } def request; end end @@ -1073,6 +1303,29 @@ end # source://ruby-lsp/lib/ruby_lsp/utils.rb#31 class RubyLsp::Notification < ::RubyLsp::Message; end +# source://ruby-lsp/lib/ruby_lsp/parameter_scope.rb#5 +class RubyLsp::ParameterScope + # source://ruby-lsp/lib/ruby_lsp/parameter_scope.rb#12 + sig { params(parent: T.nilable(::RubyLsp::ParameterScope)).void } + def initialize(parent = T.unsafe(nil)); end + + # source://ruby-lsp/lib/ruby_lsp/parameter_scope.rb#18 + sig { params(name: T.any(::String, ::Symbol)).void } + def <<(name); end + + # source://ruby-lsp/lib/ruby_lsp/parameter_scope.rb#28 + sig { params(name: T.any(::String, ::Symbol)).returns(T::Boolean) } + def parameter?(name); end + + # source://ruby-lsp/lib/ruby_lsp/parameter_scope.rb#9 + sig { returns(T.nilable(::RubyLsp::ParameterScope)) } + def parent; end + + # source://ruby-lsp/lib/ruby_lsp/parameter_scope.rb#23 + sig { params(name: T.any(::String, ::Symbol)).returns(::Symbol) } + def type_for(name); end +end + # source://ruby-lsp/lib/ruby_lsp/utils.rb#32 class RubyLsp::Request < ::RubyLsp::Message; end @@ -1103,7 +1356,7 @@ module RubyLsp::Requests; end # @abstract It cannot be directly instantiated. Subclasses must implement the `abstract` methods below. # # source://ruby-lsp/lib/ruby_lsp/requests/base_request.rb#7 -class RubyLsp::Requests::BaseRequest < ::SyntaxTree::Visitor +class RubyLsp::Requests::BaseRequest < ::YARP::Visitor include ::RubyLsp::Requests::Support::Common abstract! @@ -1118,12 +1371,12 @@ class RubyLsp::Requests::BaseRequest < ::SyntaxTree::Visitor sig { abstract.returns(::Object) } def run; end - # Syntax Tree implements `visit_all` using `map` instead of `each` for users who want to use the pattern + # YARP implements `visit_all` using `map` instead of `each` for users who want to use the pattern # `result = visitor.visit(tree)`. However, we don't use that pattern and should avoid producing a new array for # every single node visited # # source://ruby-lsp/lib/ruby_lsp/requests/base_request.rb#27 - sig { params(nodes: T::Array[T.nilable(::SyntaxTree::Node)]).void } + sig { params(nodes: T::Array[T.nilable(::YARP::Node)]).void } def visit_all(nodes); end end @@ -1255,77 +1508,58 @@ class RubyLsp::Requests::CodeLens < ::RubyLsp::ExtensibleListener ResponseType = type_member { { fixed: T::Array[::LanguageServer::Protocol::Interface::CodeLens] } } # source://ruby-lsp/lib/ruby_lsp/requests/code_lens.rb#35 - sig do - params( - uri: ::URI::Generic, - emitter: ::RubyLsp::EventEmitter, - message_queue: ::Thread::Queue, - test_library: ::String - ).void - end - def initialize(uri, emitter, message_queue, test_library); end + sig { params(uri: ::URI::Generic, emitter: ::RubyLsp::EventEmitter, message_queue: ::Thread::Queue).void } + def initialize(uri, emitter, message_queue); end # source://ruby-lsp/lib/ruby_lsp/requests/code_lens.rb#32 sig { override.returns(ResponseType) } def _response; end - # source://ruby-lsp/lib/ruby_lsp/requests/code_lens.rb#134 - sig { params(node: ::SyntaxTree::CallNode).void } + # source://ruby-lsp/lib/ruby_lsp/requests/code_lens.rb#126 + sig { params(node: ::YARP::CallNode).void } def after_call(node); end - # source://ruby-lsp/lib/ruby_lsp/requests/code_lens.rb#76 - sig { params(node: ::SyntaxTree::ClassDeclaration).void } + # source://ruby-lsp/lib/ruby_lsp/requests/code_lens.rb#72 + sig { params(node: ::YARP::ClassNode).void } def after_class(node); end - # source://ruby-lsp/lib/ruby_lsp/requests/code_lens.rb#115 - sig { params(node: ::SyntaxTree::Command).void } - def after_command(node); end - - # source://ruby-lsp/lib/ruby_lsp/requests/code_lens.rb#150 - sig { override.params(extension: ::RubyLsp::Extension).returns(T.nilable(RubyLsp::Listener[ResponseType])) } - def initialize_external_listener(extension); end + # source://ruby-lsp/lib/ruby_lsp/requests/code_lens.rb#132 + sig { override.params(addon: ::RubyLsp::Addon).returns(T.nilable(RubyLsp::Listener[ResponseType])) } + def initialize_external_listener(addon); end - # source://ruby-lsp/lib/ruby_lsp/requests/code_lens.rb#155 + # source://ruby-lsp/lib/ruby_lsp/requests/code_lens.rb#137 sig { override.params(other: RubyLsp::Listener[ResponseType]).returns(T.self_type) } def merge_response!(other); end - # source://ruby-lsp/lib/ruby_lsp/requests/code_lens.rb#121 - sig { params(node: ::SyntaxTree::CallNode).void } + # source://ruby-lsp/lib/ruby_lsp/requests/code_lens.rb#97 + sig { params(node: ::YARP::CallNode).void } def on_call(node); end - # source://ruby-lsp/lib/ruby_lsp/requests/code_lens.rb#60 - sig { params(node: ::SyntaxTree::ClassDeclaration).void } + # source://ruby-lsp/lib/ruby_lsp/requests/code_lens.rb#56 + sig { params(node: ::YARP::ClassNode).void } def on_class(node); end - # source://ruby-lsp/lib/ruby_lsp/requests/code_lens.rb#101 - sig { params(node: ::SyntaxTree::Command).void } - def on_command(node); end - - # source://ruby-lsp/lib/ruby_lsp/requests/code_lens.rb#82 - sig { params(node: ::SyntaxTree::DefNode).void } + # source://ruby-lsp/lib/ruby_lsp/requests/code_lens.rb#78 + sig { params(node: ::YARP::DefNode).void } def on_def(node); end - # source://ruby-lsp/lib/ruby_lsp/requests/code_lens.rb#140 - sig { params(node: ::SyntaxTree::VCall).void } - def on_vcall(node); end - private - # source://ruby-lsp/lib/ruby_lsp/requests/code_lens.rb#243 - sig { params(node: ::SyntaxTree::Command, remote: ::String).void } + # source://ruby-lsp/lib/ruby_lsp/requests/code_lens.rb#219 + sig { params(node: ::YARP::CallNode, remote: ::String).void } def add_open_gem_remote_code_lens(node, remote); end - # source://ruby-lsp/lib/ruby_lsp/requests/code_lens.rb#163 - sig { params(node: ::SyntaxTree::Node, name: ::String, command: ::String, kind: ::Symbol).void } + # source://ruby-lsp/lib/ruby_lsp/requests/code_lens.rb#145 + sig { params(node: ::YARP::Node, name: ::String, command: ::String, kind: ::Symbol).void } def add_test_code_lens(node, name:, command:, kind:); end - # source://ruby-lsp/lib/ruby_lsp/requests/code_lens.rb#221 + # source://ruby-lsp/lib/ruby_lsp/requests/code_lens.rb#197 sig { params(class_name: ::String, method_name: T.nilable(::String)).returns(::String) } def generate_test_command(class_name:, method_name: T.unsafe(nil)); end - # source://ruby-lsp/lib/ruby_lsp/requests/code_lens.rb#205 - sig { params(node: ::SyntaxTree::Command).returns(T.nilable(::String)) } - def resolve_gem_remote(node); end + # source://ruby-lsp/lib/ruby_lsp/requests/code_lens.rb#187 + sig { params(gem_name: ::YARP::StringNode).returns(T.nilable(::String)) } + def resolve_gem_remote(gem_name); end end # source://ruby-lsp/lib/ruby_lsp/requests/code_lens.rb#28 @@ -1373,44 +1607,38 @@ class RubyLsp::Requests::Completion < ::RubyLsp::Listener sig { override.returns(ResponseType) } def _response; end - # Handle completion on regular constant references (e.g. `Bar`) - # - # source://ruby-lsp/lib/ruby_lsp/requests/completion.rb#55 - sig { params(node: ::SyntaxTree::Const).void } - def on_const(node); end - # Handle completion on namespaced constant references (e.g. `Foo::Bar`) # - # source://ruby-lsp/lib/ruby_lsp/requests/completion.rb#67 - sig { params(node: ::SyntaxTree::ConstPathRef).void } - def on_const_path_ref(node); end + # source://ruby-lsp/lib/ruby_lsp/requests/completion.rb#68 + sig { params(node: ::YARP::ConstantPathNode).void } + def on_constant_path(node); end - # Handle completion on top level constant references (e.g. `::Bar`) + # Handle completion on regular constant references (e.g. `Bar`) # - # source://ruby-lsp/lib/ruby_lsp/requests/completion.rb#79 - sig { params(node: ::SyntaxTree::TopConstRef).void } - def on_top_const_ref(node); end + # source://ruby-lsp/lib/ruby_lsp/requests/completion.rb#55 + sig { params(node: ::YARP::ConstantReadNode).void } + def on_constant_read(node); end # source://ruby-lsp/lib/ruby_lsp/requests/completion.rb#47 - sig { params(node: ::SyntaxTree::TStringContent).void } - def on_tstring_content(node); end + sig { params(node: ::YARP::StringNode).void } + def on_string(node); end private - # source://ruby-lsp/lib/ruby_lsp/requests/completion.rb#90 + # source://ruby-lsp/lib/ruby_lsp/requests/completion.rb#112 sig do params( label: ::String, - node: ::SyntaxTree::TStringContent + node: ::YARP::StringNode ).returns(::LanguageServer::Protocol::Interface::CompletionItem) end def build_completion(label, node); end - # source://ruby-lsp/lib/ruby_lsp/requests/completion.rb#109 + # source://ruby-lsp/lib/ruby_lsp/requests/completion.rb#131 sig do params( name: ::String, - node: ::SyntaxTree::Node, + node: ::YARP::Node, entries: T::Array[::RubyIndexer::Index::Entry], top_level: T::Boolean ).returns(::LanguageServer::Protocol::Interface::CompletionItem) @@ -1420,7 +1648,7 @@ class RubyLsp::Requests::Completion < ::RubyLsp::Listener # Check if the `entry_name` has potential conflicts in `candidates`, so that we use a top level reference instead # of a short name # - # source://ruby-lsp/lib/ruby_lsp/requests/completion.rb#163 + # source://ruby-lsp/lib/ruby_lsp/requests/completion.rb#185 sig { params(entry_name: ::String, candidates: T::Array[T::Array[::RubyIndexer::Index::Entry]]).returns(T::Boolean) } def top_level?(entry_name, candidates); end end @@ -1462,29 +1690,29 @@ class RubyLsp::Requests::Definition < ::RubyLsp::ExtensibleListener sig { override.returns(ResponseType) } def _response; end - # source://ruby-lsp/lib/ruby_lsp/requests/definition.rb#50 - sig { override.params(ext: ::RubyLsp::Extension).returns(T.nilable(RubyLsp::Listener[ResponseType])) } - def initialize_external_listener(ext); end + # source://ruby-lsp/lib/ruby_lsp/requests/definition.rb#49 + sig { override.params(addon: ::RubyLsp::Addon).returns(T.nilable(RubyLsp::Listener[ResponseType])) } + def initialize_external_listener(addon); end - # source://ruby-lsp/lib/ruby_lsp/requests/definition.rb#55 + # source://ruby-lsp/lib/ruby_lsp/requests/definition.rb#54 sig { override.params(other: RubyLsp::Listener[ResponseType]).returns(T.self_type) } def merge_response!(other); end - # source://ruby-lsp/lib/ruby_lsp/requests/definition.rb#82 - sig { params(node: ::SyntaxTree::Command).void } - def on_command(node); end + # source://ruby-lsp/lib/ruby_lsp/requests/definition.rb#70 + sig { params(node: ::YARP::CallNode).void } + def on_call(node); end - # source://ruby-lsp/lib/ruby_lsp/requests/definition.rb#77 - sig { params(node: ::SyntaxTree::Const).void } - def on_const(node); end + # source://ruby-lsp/lib/ruby_lsp/requests/definition.rb#114 + sig { params(node: ::YARP::ConstantPathNode).void } + def on_constant_path(node); end - # source://ruby-lsp/lib/ruby_lsp/requests/definition.rb#71 - sig { params(node: ::SyntaxTree::ConstPathRef).void } - def on_const_path_ref(node); end + # source://ruby-lsp/lib/ruby_lsp/requests/definition.rb#119 + sig { params(node: ::YARP::ConstantReadNode).void } + def on_constant_read(node); end private - # source://ruby-lsp/lib/ruby_lsp/requests/definition.rb#128 + # source://ruby-lsp/lib/ruby_lsp/requests/definition.rb#126 sig { params(value: ::String).void } def find_in_index(value); end end @@ -1510,8 +1738,14 @@ class RubyLsp::Requests::Diagnostics < ::RubyLsp::Requests::BaseRequest def initialize(document); end # source://ruby-lsp/lib/ruby_lsp/requests/diagnostics.rb#32 - sig { override.returns(T.nilable(T.all(::Object, T::Array[::RubyLsp::Requests::Support::RuboCopDiagnostic]))) } + sig { override.returns(T.nilable(T.all(::Object, T::Array[::LanguageServer::Protocol::Interface::Diagnostic]))) } def run; end + + private + + # source://ruby-lsp/lib/ruby_lsp/requests/diagnostics.rb#48 + sig { returns(T.nilable(T::Array[::LanguageServer::Protocol::Interface::Diagnostic])) } + def syntax_error_diagnostics; end end # ![Document highlight demo](../../document_highlight.gif) @@ -1543,8 +1777,8 @@ class RubyLsp::Requests::DocumentHighlight < ::RubyLsp::Listener # source://ruby-lsp/lib/ruby_lsp/requests/document_highlight.rb#41 sig do params( - target: T.nilable(::SyntaxTree::Node), - parent: T.nilable(::SyntaxTree::Node), + target: T.nilable(::YARP::Node), + parent: T.nilable(::YARP::Node), emitter: ::RubyLsp::EventEmitter, message_queue: ::Thread::Queue ).void @@ -1555,20 +1789,17 @@ class RubyLsp::Requests::DocumentHighlight < ::RubyLsp::Listener sig { override.returns(ResponseType) } def _response; end - # source://ruby-lsp/lib/ruby_lsp/requests/document_highlight.rb#63 - sig { params(node: T.nilable(::SyntaxTree::Node)).void } + # source://ruby-lsp/lib/ruby_lsp/requests/document_highlight.rb#73 + sig { params(node: T.nilable(::YARP::Node)).void } def on_node(node); end private - # source://ruby-lsp/lib/ruby_lsp/requests/document_highlight.rb#84 + # source://ruby-lsp/lib/ruby_lsp/requests/document_highlight.rb#83 sig { params(match: ::RubyLsp::Requests::Support::HighlightTarget::HighlightMatch).void } def add_highlight(match); end end -# source://ruby-lsp/lib/ruby_lsp/requests/document_highlight.rb#72 -RubyLsp::Requests::DocumentHighlight::DIRECT_HIGHLIGHTS = T.let(T.unsafe(nil), Array) - # ![Document link demo](../../document_link.gif) # # The [document link](https://microsoft.github.io/language-server-protocol/specification#textDocument_documentLink) @@ -1589,26 +1820,53 @@ class RubyLsp::Requests::DocumentLink < ::RubyLsp::Listener ResponseType = type_member { { fixed: T::Array[::LanguageServer::Protocol::Interface::DocumentLink] } } - # source://ruby-lsp/lib/ruby_lsp/requests/document_link.rb#79 - sig { params(uri: ::URI::Generic, emitter: ::RubyLsp::EventEmitter, message_queue: ::Thread::Queue).void } - def initialize(uri, emitter, message_queue); end + # source://ruby-lsp/lib/ruby_lsp/requests/document_link.rb#86 + sig do + params( + uri: ::URI::Generic, + comments: T::Array[::YARP::Comment], + emitter: ::RubyLsp::EventEmitter, + message_queue: ::Thread::Queue + ).void + end + def initialize(uri, comments, emitter, message_queue); end # source://ruby-lsp/lib/ruby_lsp/requests/document_link.rb#76 sig { override.returns(ResponseType) } def _response; end - # source://ruby-lsp/lib/ruby_lsp/requests/document_link.rb#93 - sig { params(node: ::SyntaxTree::Comment).void } - def on_comment(node); end + # source://ruby-lsp/lib/ruby_lsp/requests/document_link.rb#111 + sig { params(node: ::YARP::ClassNode).void } + def on_class(node); end + + # source://ruby-lsp/lib/ruby_lsp/requests/document_link.rb#126 + sig { params(node: ::YARP::ConstantPathWriteNode).void } + def on_constant_path_write(node); end + + # source://ruby-lsp/lib/ruby_lsp/requests/document_link.rb#121 + sig { params(node: ::YARP::ConstantWriteNode).void } + def on_constant_write(node); end + + # source://ruby-lsp/lib/ruby_lsp/requests/document_link.rb#106 + sig { params(node: ::YARP::DefNode).void } + def on_def(node); end + + # source://ruby-lsp/lib/ruby_lsp/requests/document_link.rb#116 + sig { params(node: ::YARP::ModuleNode).void } + def on_module(node); end private + # source://ruby-lsp/lib/ruby_lsp/requests/document_link.rb#133 + sig { params(node: ::YARP::Node).void } + def extract_document_link(node); end + # Try to figure out the gem version for a source:// link. The order of precedence is: # 1. The version in the URI # 2. The version in the RBI file name # 3. The version from the gemspec # - # source://ruby-lsp/lib/ruby_lsp/requests/document_link.rb#118 + # source://ruby-lsp/lib/ruby_lsp/requests/document_link.rb#159 sig { params(uri: ::URI::Source).returns(T.nilable(::String)) } def resolve_version(uri); end @@ -1660,68 +1918,72 @@ class RubyLsp::Requests::DocumentSymbol < ::RubyLsp::ExtensibleListener sig { override.returns(T::Array[::LanguageServer::Protocol::Interface::DocumentSymbol]) } def _response; end - # source://ruby-lsp/lib/ruby_lsp/requests/document_symbol.rb#101 - sig { params(node: ::SyntaxTree::ClassDeclaration).void } + # source://ruby-lsp/lib/ruby_lsp/requests/document_symbol.rb#102 + sig { params(node: ::YARP::ClassNode).void } def after_class(node); end - # source://ruby-lsp/lib/ruby_lsp/requests/document_symbol.rb#154 - sig { params(node: ::SyntaxTree::DefNode).void } + # source://ruby-lsp/lib/ruby_lsp/requests/document_symbol.rb#149 + sig { params(node: ::YARP::DefNode).void } def after_def(node); end - # source://ruby-lsp/lib/ruby_lsp/requests/document_symbol.rb#169 - sig { params(node: ::SyntaxTree::ModuleDeclaration).void } + # source://ruby-lsp/lib/ruby_lsp/requests/document_symbol.rb#186 + sig { params(node: ::YARP::ModuleNode).void } def after_module(node); end - # source://ruby-lsp/lib/ruby_lsp/requests/document_symbol.rb#79 - sig { override.params(extension: ::RubyLsp::Extension).returns(T.nilable(RubyLsp::Listener[ResponseType])) } - def initialize_external_listener(extension); end + # source://ruby-lsp/lib/ruby_lsp/requests/document_symbol.rb#80 + sig { override.params(addon: ::RubyLsp::Addon).returns(T.nilable(RubyLsp::Listener[ResponseType])) } + def initialize_external_listener(addon); end # Merges responses from other listeners # - # source://ruby-lsp/lib/ruby_lsp/requests/document_symbol.rb#85 + # source://ruby-lsp/lib/ruby_lsp/requests/document_symbol.rb#86 sig { override.params(other: RubyLsp::Listener[ResponseType]).returns(T.self_type) } def merge_response!(other); end - # source://ruby-lsp/lib/ruby_lsp/requests/document_symbol.rb#91 - sig { params(node: ::SyntaxTree::ClassDeclaration).void } + # source://ruby-lsp/lib/ruby_lsp/requests/document_symbol.rb#107 + sig { params(node: ::YARP::CallNode).void } + def on_call(node); end + + # source://ruby-lsp/lib/ruby_lsp/requests/document_symbol.rb#92 + sig { params(node: ::YARP::ClassNode).void } def on_class(node); end - # source://ruby-lsp/lib/ruby_lsp/requests/document_symbol.rb#106 - sig { params(node: ::SyntaxTree::Command).void } - def on_command(node); end + # source://ruby-lsp/lib/ruby_lsp/requests/document_symbol.rb#201 + sig { params(node: ::YARP::ClassVariableWriteNode).void } + def on_class_variable_write(node); end - # source://ruby-lsp/lib/ruby_lsp/requests/document_symbol.rb#122 - sig { params(node: ::SyntaxTree::ConstPathField).void } - def on_const_path_field(node); end + # source://ruby-lsp/lib/ruby_lsp/requests/document_symbol.rb#129 + sig { params(node: ::YARP::ConstantPathWriteNode).void } + def on_constant_path_write(node); end - # source://ruby-lsp/lib/ruby_lsp/requests/document_symbol.rb#132 - sig { params(node: ::SyntaxTree::DefNode).void } - def on_def(node); end + # source://ruby-lsp/lib/ruby_lsp/requests/document_symbol.rb#139 + sig { params(node: ::YARP::ConstantWriteNode).void } + def on_constant_write(node); end - # source://ruby-lsp/lib/ruby_lsp/requests/document_symbol.rb#159 - sig { params(node: ::SyntaxTree::ModuleDeclaration).void } - def on_module(node); end + # source://ruby-lsp/lib/ruby_lsp/requests/document_symbol.rb#164 + sig { params(node: ::YARP::DefNode).void } + def on_def(node); end - # source://ruby-lsp/lib/ruby_lsp/requests/document_symbol.rb#174 - sig { params(node: ::SyntaxTree::TopConstField).void } - def on_top_const_field(node); end + # source://ruby-lsp/lib/ruby_lsp/requests/document_symbol.rb#191 + sig { params(node: ::YARP::InstanceVariableWriteNode).void } + def on_instance_variable_write(node); end - # source://ruby-lsp/lib/ruby_lsp/requests/document_symbol.rb#184 - sig { params(node: ::SyntaxTree::VarField).void } - def on_var_field(node); end + # source://ruby-lsp/lib/ruby_lsp/requests/document_symbol.rb#154 + sig { params(node: ::YARP::ModuleNode).void } + def on_module(node); end private - # source://ruby-lsp/lib/ruby_lsp/requests/document_symbol.rb#213 + # source://ruby-lsp/lib/ruby_lsp/requests/document_symbol.rb#220 sig do params( name: ::String, kind: ::Integer, - range_node: ::SyntaxTree::Node, - selection_range_node: ::SyntaxTree::Node + range_location: ::YARP::Location, + selection_range_location: ::YARP::Location ).returns(::LanguageServer::Protocol::Interface::DocumentSymbol) end - def create_document_symbol(name:, kind:, range_node:, selection_range_node:); end + def create_document_symbol(name:, kind:, range_location:, selection_range_location:); end end # source://ruby-lsp/lib/ruby_lsp/requests/document_symbol.rb#35 @@ -1752,105 +2014,137 @@ end # ``` # # source://ruby-lsp/lib/ruby_lsp/requests/folding_ranges.rb#18 -class RubyLsp::Requests::FoldingRanges < ::RubyLsp::Requests::BaseRequest - # source://ruby-lsp/lib/ruby_lsp/requests/folding_ranges.rb#64 - sig { params(document: ::RubyLsp::Document).void } - def initialize(document); end +class RubyLsp::Requests::FoldingRanges < ::RubyLsp::Listener + extend T::Generic - # source://ruby-lsp/lib/ruby_lsp/requests/folding_ranges.rb#72 - sig { override.returns(T.all(::Object, T::Array[::LanguageServer::Protocol::Interface::FoldingRange])) } - def run; end + ResponseType = type_member { { fixed: T::Array[::LanguageServer::Protocol::Interface::FoldingRange] } } - private + # source://ruby-lsp/lib/ruby_lsp/requests/folding_ranges.rb#25 + sig { params(comments: T::Array[::YARP::Comment], emitter: ::RubyLsp::EventEmitter, queue: ::Thread::Queue).void } + def initialize(comments, emitter, queue); end - # source://ruby-lsp/lib/ruby_lsp/requests/folding_ranges.rb#223 - sig { params(node: T.any(::SyntaxTree::CallNode, ::SyntaxTree::CommandCall)).void } - def add_call_range(node); end + # source://ruby-lsp/lib/ruby_lsp/requests/folding_ranges.rb#61 + sig { override.returns(ResponseType) } + def _response; end - # source://ruby-lsp/lib/ruby_lsp/requests/folding_ranges.rb#257 - sig { params(node: ::SyntaxTree::DefNode).void } - def add_def_range(node); end + # source://ruby-lsp/lib/ruby_lsp/requests/folding_ranges.rb#100 + sig { params(node: ::YARP::ArrayNode).void } + def on_array(node); end - # source://ruby-lsp/lib/ruby_lsp/requests/folding_ranges.rb#296 - sig { params(start_line: ::Integer, end_line: ::Integer).void } - def add_lines_range(start_line, end_line); end + # source://ruby-lsp/lib/ruby_lsp/requests/folding_ranges.rb#165 + sig { params(node: ::YARP::BeginNode).void } + def on_begin(node); end - # source://ruby-lsp/lib/ruby_lsp/requests/folding_ranges.rb#281 - sig { params(node: ::SyntaxTree::Node, statements: ::SyntaxTree::Statements).void } - def add_statements_range(node, statements); end + # source://ruby-lsp/lib/ruby_lsp/requests/folding_ranges.rb#105 + sig { params(node: ::YARP::BlockNode).void } + def on_block(node); end - # source://ruby-lsp/lib/ruby_lsp/requests/folding_ranges.rb#288 - sig { params(node: ::SyntaxTree::StringConcat).void } - def add_string_concat(node); end + # source://ruby-lsp/lib/ruby_lsp/requests/folding_ranges.rb#198 + sig { params(node: ::YARP::CallNode).void } + def on_call(node); end - # source://ruby-lsp/lib/ruby_lsp/requests/folding_ranges.rb#215 - sig { void } - def emit_partial_range; end + # source://ruby-lsp/lib/ruby_lsp/requests/folding_ranges.rb#110 + sig { params(node: ::YARP::CaseNode).void } + def on_case(node); end - # source://ruby-lsp/lib/ruby_lsp/requests/folding_ranges.rb#181 - sig { params(node: T.nilable(::SyntaxTree::Node)).returns(T::Boolean) } - def handle_partial_range(node); end + # source://ruby-lsp/lib/ruby_lsp/requests/folding_ranges.rb#115 + sig { params(node: ::YARP::ClassNode).void } + def on_class(node); end - # source://ruby-lsp/lib/ruby_lsp/requests/folding_ranges.rb#203 - sig { params(node: T.nilable(::SyntaxTree::Node)).returns(T.nilable(::String)) } - def partial_range_kind(node); end + # source://ruby-lsp/lib/ruby_lsp/requests/folding_ranges.rb#183 + sig { params(node: ::YARP::DefNode).void } + def on_def(node); end - # This is to prevent duplicate ranges - # - # source://ruby-lsp/lib/ruby_lsp/requests/folding_ranges.rb#120 - sig { params(node: T.any(::SyntaxTree::Command, ::SyntaxTree::CommandCall)).returns(T::Boolean) } - def same_lines_for_command_and_block?(node); end + # source://ruby-lsp/lib/ruby_lsp/requests/folding_ranges.rb#155 + sig { params(node: ::YARP::ElseNode).void } + def on_else(node); end - # source://ruby-lsp/lib/ruby_lsp/requests/folding_ranges.rb#84 - sig { override.params(node: T.nilable(::SyntaxTree::Node)).void } - def visit(node); end -end + # source://ruby-lsp/lib/ruby_lsp/requests/folding_ranges.rb#160 + sig { params(node: ::YARP::EnsureNode).void } + def on_ensure(node); end -# source://ruby-lsp/lib/ruby_lsp/requests/folding_ranges.rb#42 -RubyLsp::Requests::FoldingRanges::NODES_WITH_STATEMENTS = T.let(T.unsafe(nil), Array) + # source://ruby-lsp/lib/ruby_lsp/requests/folding_ranges.rb#125 + sig { params(node: ::YARP::ForNode).void } + def on_for(node); end -# source://ruby-lsp/lib/ruby_lsp/requests/folding_ranges.rb#129 -class RubyLsp::Requests::FoldingRanges::PartialRange - # source://ruby-lsp/lib/ruby_lsp/requests/folding_ranges.rb#148 - sig { params(start_line: ::Integer, end_line: ::Integer, kind: ::String).void } - def initialize(start_line, end_line, kind); end + # source://ruby-lsp/lib/ruby_lsp/requests/folding_ranges.rb#130 + sig { params(node: ::YARP::HashNode).void } + def on_hash(node); end - # source://ruby-lsp/lib/ruby_lsp/requests/folding_ranges.rb#136 - sig { returns(::Integer) } - def end_line; end + # source://ruby-lsp/lib/ruby_lsp/requests/folding_ranges.rb#72 + sig { params(node: ::YARP::IfNode).void } + def on_if(node); end - # source://ruby-lsp/lib/ruby_lsp/requests/folding_ranges.rb#155 - sig { params(node: ::SyntaxTree::Node).returns(::RubyLsp::Requests::FoldingRanges::PartialRange) } - def extend_to(node); end + # source://ruby-lsp/lib/ruby_lsp/requests/folding_ranges.rb#77 + sig { params(node: ::YARP::InNode).void } + def on_in(node); end - # source://ruby-lsp/lib/ruby_lsp/requests/folding_ranges.rb#133 - sig { returns(::String) } - def kind; end + # source://ruby-lsp/lib/ruby_lsp/requests/folding_ranges.rb#92 + sig { params(node: ::YARP::InterpolatedStringNode).void } + def on_interpolated_string(node); end + + # source://ruby-lsp/lib/ruby_lsp/requests/folding_ranges.rb#120 + sig { params(node: ::YARP::ModuleNode).void } + def on_module(node); end + + # source://ruby-lsp/lib/ruby_lsp/requests/folding_ranges.rb#170 + sig { params(node: ::YARP::Node).void } + def on_node(node); end + + # source://ruby-lsp/lib/ruby_lsp/requests/folding_ranges.rb#82 + sig { params(node: ::YARP::RescueNode).void } + def on_rescue(node); end + + # source://ruby-lsp/lib/ruby_lsp/requests/folding_ranges.rb#135 + sig { params(node: ::YARP::SingletonClassNode).void } + def on_singleton_class(node); end # source://ruby-lsp/lib/ruby_lsp/requests/folding_ranges.rb#175 - sig { returns(T::Boolean) } - def multiline?; end + sig { params(node: ::YARP::StringConcatNode).void } + def on_string_concat(node); end - # source://ruby-lsp/lib/ruby_lsp/requests/folding_ranges.rb#161 - sig { params(node: ::SyntaxTree::Node).returns(T::Boolean) } - def new_section?(node); end + # source://ruby-lsp/lib/ruby_lsp/requests/folding_ranges.rb#140 + sig { params(node: ::YARP::UnlessNode).void } + def on_unless(node); end - # source://ruby-lsp/lib/ruby_lsp/requests/folding_ranges.rb#166 - sig { returns(::LanguageServer::Protocol::Interface::FoldingRange) } - def to_range; end + # source://ruby-lsp/lib/ruby_lsp/requests/folding_ranges.rb#145 + sig { params(node: ::YARP::UntilNode).void } + def on_until(node); end - class << self - # source://ruby-lsp/lib/ruby_lsp/requests/folding_ranges.rb#142 - sig { params(node: ::SyntaxTree::Node, kind: ::String).returns(::RubyLsp::Requests::FoldingRanges::PartialRange) } - def from(node, kind); end - end -end + # source://ruby-lsp/lib/ruby_lsp/requests/folding_ranges.rb#87 + sig { params(node: ::YARP::WhenNode).void } + def on_when(node); end + + # source://ruby-lsp/lib/ruby_lsp/requests/folding_ranges.rb#150 + sig { params(node: ::YARP::WhileNode).void } + def on_while(node); end + + private + + # source://ruby-lsp/lib/ruby_lsp/requests/folding_ranges.rb#273 + sig { params(start_line: ::Integer, end_line: ::Integer).void } + def add_lines_range(start_line, end_line); end -# source://ruby-lsp/lib/ruby_lsp/requests/folding_ranges.rb#21 -RubyLsp::Requests::FoldingRanges::SIMPLE_FOLDABLES = T.let(T.unsafe(nil), Array) + # source://ruby-lsp/lib/ruby_lsp/requests/folding_ranges.rb#267 + sig { params(node: ::YARP::Node).void } + def add_simple_range(node); end -# source://ruby-lsp/lib/ruby_lsp/requests/folding_ranges.rb#53 -RubyLsp::Requests::FoldingRanges::StatementNode = T.type_alias { T.any(::SyntaxTree::Elsif, ::SyntaxTree::IfNode, ::SyntaxTree::In, ::SyntaxTree::Rescue, ::SyntaxTree::When) } + # source://ruby-lsp/lib/ruby_lsp/requests/folding_ranges.rb#256 + sig { params(node: T.any(::YARP::IfNode, ::YARP::InNode, ::YARP::RescueNode, ::YARP::WhenNode)).void } + def add_statements_range(node); end + + # source://ruby-lsp/lib/ruby_lsp/requests/folding_ranges.rb#229 + sig { void } + def emit_requires_range; end + + # source://ruby-lsp/lib/ruby_lsp/requests/folding_ranges.rb#213 + sig { void } + def push_comment_ranges; end + + # source://ruby-lsp/lib/ruby_lsp/requests/folding_ranges.rb#242 + sig { params(node: ::YARP::CallNode).returns(T::Boolean) } + def require?(node); end +end # ![Formatting symbol demo](../../formatting.gif) # @@ -1874,11 +2168,11 @@ RubyLsp::Requests::FoldingRanges::StatementNode = T.type_alias { T.any(::SyntaxT # # source://ruby-lsp/lib/ruby_lsp/requests/formatting.rb#28 class RubyLsp::Requests::Formatting < ::RubyLsp::Requests::BaseRequest - # source://ruby-lsp/lib/ruby_lsp/requests/formatting.rb#58 + # source://ruby-lsp/lib/ruby_lsp/requests/formatting.rb#57 sig { params(document: ::RubyLsp::Document, formatter: ::String).void } def initialize(document, formatter: T.unsafe(nil)); end - # source://ruby-lsp/lib/ruby_lsp/requests/formatting.rb#66 + # source://ruby-lsp/lib/ruby_lsp/requests/formatting.rb#65 sig { override.returns(T.nilable(T.all(::Object, T::Array[::LanguageServer::Protocol::Interface::TextEdit]))) } def run; end @@ -1886,16 +2180,16 @@ class RubyLsp::Requests::Formatting < ::RubyLsp::Requests::BaseRequest # @raise [InvalidFormatter] # - # source://ruby-lsp/lib/ruby_lsp/requests/formatting.rb#95 + # source://ruby-lsp/lib/ruby_lsp/requests/formatting.rb#94 sig { returns(T.nilable(::String)) } def formatted_file; end class << self - # source://ruby-lsp/lib/ruby_lsp/requests/formatting.rb#43 + # source://ruby-lsp/lib/ruby_lsp/requests/formatting.rb#38 sig { returns(T::Hash[::String, ::RubyLsp::Requests::Support::FormatterRunner]) } def formatters; end - # source://ruby-lsp/lib/ruby_lsp/requests/formatting.rb#46 + # source://ruby-lsp/lib/ruby_lsp/requests/formatting.rb#41 sig { params(identifier: ::String, instance: ::RubyLsp::Requests::Support::FormatterRunner).void } def register_formatter(identifier, instance); end end @@ -1940,8 +2234,8 @@ class RubyLsp::Requests::Hover < ::RubyLsp::ExtensibleListener def _response; end # source://ruby-lsp/lib/ruby_lsp/requests/hover.rb#53 - sig { override.params(extension: ::RubyLsp::Extension).returns(T.nilable(RubyLsp::Listener[ResponseType])) } - def initialize_external_listener(extension); end + sig { override.params(addon: ::RubyLsp::Addon).returns(T.nilable(RubyLsp::Listener[ResponseType])) } + def initialize_external_listener(addon); end # Merges responses from other hover listeners # @@ -1949,19 +2243,23 @@ class RubyLsp::Requests::Hover < ::RubyLsp::ExtensibleListener sig { override.params(other: RubyLsp::Listener[ResponseType]).returns(T.self_type) } def merge_response!(other); end - # source://ruby-lsp/lib/ruby_lsp/requests/hover.rb#81 - sig { params(node: ::SyntaxTree::Const).void } - def on_const(node); end + # source://ruby-lsp/lib/ruby_lsp/requests/hover.rb#87 + sig { params(node: ::YARP::ConstantPathNode).void } + def on_constant_path(node); end # source://ruby-lsp/lib/ruby_lsp/requests/hover.rb#73 - sig { params(node: ::SyntaxTree::ConstPathRef).void } - def on_const_path_ref(node); end + sig { params(node: ::YARP::ConstantReadNode).void } + def on_constant_read(node); end + + # source://ruby-lsp/lib/ruby_lsp/requests/hover.rb#80 + sig { params(node: ::YARP::ConstantWriteNode).void } + def on_constant_write(node); end private - # source://ruby-lsp/lib/ruby_lsp/requests/hover.rb#90 - sig { params(name: ::String, node: ::SyntaxTree::Node).void } - def generate_hover(name, node); end + # source://ruby-lsp/lib/ruby_lsp/requests/hover.rb#96 + sig { params(name: ::String, location: ::YARP::Location).void } + def generate_hover(name, location); end end # source://ruby-lsp/lib/ruby_lsp/requests/hover.rb#22 @@ -1998,7 +2296,7 @@ class RubyLsp::Requests::InlayHints < ::RubyLsp::Listener def _response; end # source://ruby-lsp/lib/ruby_lsp/requests/inlay_hints.rb#43 - sig { params(node: ::SyntaxTree::Rescue).void } + sig { params(node: ::YARP::RescueNode).void } def on_rescue(node); end end @@ -2088,11 +2386,11 @@ RubyLsp::Requests::OnTypeFormatting::END_REGEXES = T.let(T.unsafe(nil), Array) # # source://ruby-lsp/lib/ruby_lsp/requests/selection_ranges.rb#23 class RubyLsp::Requests::SelectionRanges < ::RubyLsp::Requests::BaseRequest - # source://ruby-lsp/lib/ruby_lsp/requests/selection_ranges.rb#66 + # source://ruby-lsp/lib/ruby_lsp/requests/selection_ranges.rb#62 sig { params(document: ::RubyLsp::Document).void } def initialize(document); end - # source://ruby-lsp/lib/ruby_lsp/requests/selection_ranges.rb#74 + # source://ruby-lsp/lib/ruby_lsp/requests/selection_ranges.rb#70 sig { override.returns(T.all(::Object, T::Array[::RubyLsp::Requests::Support::SelectionRange])) } def run; end @@ -2101,14 +2399,23 @@ class RubyLsp::Requests::SelectionRanges < ::RubyLsp::Requests::BaseRequest # source://ruby-lsp/lib/ruby_lsp/requests/selection_ranges.rb#101 sig do params( - location: ::SyntaxTree::Location, + node: ::YARP::InterpolatedStringNode, + parent: T.nilable(::RubyLsp::Requests::Support::SelectionRange) + ).returns(::RubyLsp::Requests::Support::SelectionRange) + end + def create_heredoc_selection_range(node, parent); end + + # source://ruby-lsp/lib/ruby_lsp/requests/selection_ranges.rb#126 + sig do + params( + location: ::YARP::Location, parent: T.nilable(::RubyLsp::Requests::Support::SelectionRange) ).returns(::RubyLsp::Requests::Support::SelectionRange) end - def create_selection_range(location, parent = T.unsafe(nil)); end + def create_selection_range(location, parent); end - # source://ruby-lsp/lib/ruby_lsp/requests/selection_ranges.rb#82 - sig { override.params(node: T.nilable(::SyntaxTree::Node)).void } + # source://ruby-lsp/lib/ruby_lsp/requests/selection_ranges.rb#78 + sig { override.params(node: T.nilable(::YARP::Node)).void } def visit(node); end end @@ -2151,100 +2458,130 @@ class RubyLsp::Requests::SemanticHighlighting < ::RubyLsp::Listener sig { override.returns(ResponseType) } def _response; end - # source://ruby-lsp/lib/ruby_lsp/requests/semantic_highlighting.rb#327 - sig { params(location: ::SyntaxTree::Location, type: ::Symbol, modifiers: T::Array[::Symbol]).void } + # source://ruby-lsp/lib/ruby_lsp/requests/semantic_highlighting.rb#377 + sig { params(location: ::YARP::Location, type: ::Symbol, modifiers: T::Array[::Symbol]).void } def add_token(location, type, modifiers = T.unsafe(nil)); end - # source://ruby-lsp/lib/ruby_lsp/requests/semantic_highlighting.rb#286 - sig { params(node: ::SyntaxTree::Binary).void } - def after_binary(node); end + # source://ruby-lsp/lib/ruby_lsp/requests/semantic_highlighting.rb#240 + sig { params(node: ::YARP::BlockNode).void } + def after_block(node); end - # All block locals are variables. E.g.: [].each do |x; block_local| - # - # source://ruby-lsp/lib/ruby_lsp/requests/semantic_highlighting.rb#254 - sig { params(node: ::SyntaxTree::BlockVar).void } - def on_block_var(node); end + # source://ruby-lsp/lib/ruby_lsp/requests/semantic_highlighting.rb#230 + sig { params(node: ::YARP::DefNode).void } + def after_def(node); end + + # source://ruby-lsp/lib/ruby_lsp/requests/semantic_highlighting.rb#235 + sig { params(node: ::YARP::BlockNode).void } + def on_block(node); end + + # source://ruby-lsp/lib/ruby_lsp/requests/semantic_highlighting.rb#245 + sig { params(node: ::YARP::BlockLocalVariableNode).void } + def on_block_local_variable(node); end + + # source://ruby-lsp/lib/ruby_lsp/requests/semantic_highlighting.rb#250 + sig { params(node: ::YARP::BlockParameterNode).void } + def on_block_parameter(node); end - # source://ruby-lsp/lib/ruby_lsp/requests/semantic_highlighting.rb#146 - sig { params(node: ::SyntaxTree::CallNode).void } + # source://ruby-lsp/lib/ruby_lsp/requests/semantic_highlighting.rb#158 + sig { params(node: ::YARP::CallNode).void } def on_call(node); end - # source://ruby-lsp/lib/ruby_lsp/requests/semantic_highlighting.rb#310 - sig { params(node: ::SyntaxTree::ClassDeclaration).void } + # source://ruby-lsp/lib/ruby_lsp/requests/semantic_highlighting.rb#360 + sig { params(node: ::YARP::ClassNode).void } def on_class(node); end - # source://ruby-lsp/lib/ruby_lsp/requests/semantic_highlighting.rb#157 - sig { params(node: ::SyntaxTree::Command).void } - def on_command(node); end + # source://ruby-lsp/lib/ruby_lsp/requests/semantic_highlighting.rb#194 + sig { params(node: ::YARP::ConstantAndWriteNode).void } + def on_constant_and_write(node); end - # source://ruby-lsp/lib/ruby_lsp/requests/semantic_highlighting.rb#164 - sig { params(node: ::SyntaxTree::CommandCall).void } - def on_command_call(node); end + # source://ruby-lsp/lib/ruby_lsp/requests/semantic_highlighting.rb#201 + sig { params(node: ::YARP::ConstantOperatorWriteNode).void } + def on_constant_operator_write(node); end - # source://ruby-lsp/lib/ruby_lsp/requests/semantic_highlighting.rb#172 - sig { params(node: ::SyntaxTree::Const).void } - def on_const(node); end + # source://ruby-lsp/lib/ruby_lsp/requests/semantic_highlighting.rb#208 + sig { params(node: ::YARP::ConstantOrWriteNode).void } + def on_constant_or_write(node); end - # source://ruby-lsp/lib/ruby_lsp/requests/semantic_highlighting.rb#183 - sig { params(node: ::SyntaxTree::DefNode).void } + # source://ruby-lsp/lib/ruby_lsp/requests/semantic_highlighting.rb#176 + sig { params(node: ::YARP::ConstantReadNode).void } + def on_constant_read(node); end + + # source://ruby-lsp/lib/ruby_lsp/requests/semantic_highlighting.rb#215 + sig { params(node: ::YARP::ConstantTargetNode).void } + def on_constant_target(node); end + + # source://ruby-lsp/lib/ruby_lsp/requests/semantic_highlighting.rb#187 + sig { params(node: ::YARP::ConstantWriteNode).void } + def on_constant_write(node); end + + # source://ruby-lsp/lib/ruby_lsp/requests/semantic_highlighting.rb#222 + sig { params(node: ::YARP::DefNode).void } def on_def(node); end - # source://ruby-lsp/lib/ruby_lsp/requests/semantic_highlighting.rb#220 - sig { params(node: ::SyntaxTree::Field).void } - def on_field(node); end + # source://ruby-lsp/lib/ruby_lsp/requests/semantic_highlighting.rb#256 + sig { params(node: ::YARP::KeywordParameterNode).void } + def on_keyword_parameter(node); end - # source://ruby-lsp/lib/ruby_lsp/requests/semantic_highlighting.rb#190 - sig { params(node: ::SyntaxTree::Kw).void } - def on_kw(node); end + # source://ruby-lsp/lib/ruby_lsp/requests/semantic_highlighting.rb#267 + sig { params(node: ::YARP::KeywordRestParameterNode).void } + def on_keyword_rest_parameter(node); end - # All lambda locals are variables. E.g.: ->(x; lambda_local) {} - # - # source://ruby-lsp/lib/ruby_lsp/requests/semantic_highlighting.rb#260 - sig { params(node: ::SyntaxTree::LambdaVar).void } - def on_lambda_var(node); end + # source://ruby-lsp/lib/ruby_lsp/requests/semantic_highlighting.rb#332 + sig { params(node: ::YARP::LocalVariableAndWriteNode).void } + def on_local_variable_and_write(node); end - # source://ruby-lsp/lib/ruby_lsp/requests/semantic_highlighting.rb#320 - sig { params(node: ::SyntaxTree::ModuleDeclaration).void } + # source://ruby-lsp/lib/ruby_lsp/requests/semantic_highlighting.rb#339 + sig { params(node: ::YARP::LocalVariableOperatorWriteNode).void } + def on_local_variable_operator_write(node); end + + # source://ruby-lsp/lib/ruby_lsp/requests/semantic_highlighting.rb#346 + sig { params(node: ::YARP::LocalVariableOrWriteNode).void } + def on_local_variable_or_write(node); end + + # source://ruby-lsp/lib/ruby_lsp/requests/semantic_highlighting.rb#319 + sig { params(node: ::YARP::LocalVariableReadNode).void } + def on_local_variable_read(node); end + + # source://ruby-lsp/lib/ruby_lsp/requests/semantic_highlighting.rb#353 + sig { params(node: ::YARP::LocalVariableTargetNode).void } + def on_local_variable_target(node); end + + # source://ruby-lsp/lib/ruby_lsp/requests/semantic_highlighting.rb#312 + sig { params(node: ::YARP::LocalVariableWriteNode).void } + def on_local_variable_write(node); end + + # source://ruby-lsp/lib/ruby_lsp/requests/semantic_highlighting.rb#370 + sig { params(node: ::YARP::ModuleNode).void } def on_module(node); end - # source://ruby-lsp/lib/ruby_lsp/requests/semantic_highlighting.rb#200 - sig { params(node: ::SyntaxTree::Params).void } - def on_params(node); end + # source://ruby-lsp/lib/ruby_lsp/requests/semantic_highlighting.rb#278 + sig { params(node: ::YARP::OptionalParameterNode).void } + def on_optional_parameter(node); end - # source://ruby-lsp/lib/ruby_lsp/requests/semantic_highlighting.rb#227 - sig { params(node: ::SyntaxTree::VarField).void } - def on_var_field(node); end + # source://ruby-lsp/lib/ruby_lsp/requests/semantic_highlighting.rb#286 + sig { params(node: ::YARP::RequiredParameterNode).void } + def on_required_parameter(node); end - # source://ruby-lsp/lib/ruby_lsp/requests/semantic_highlighting.rb#240 - sig { params(node: ::SyntaxTree::VarRef).void } - def on_var_ref(node); end + # source://ruby-lsp/lib/ruby_lsp/requests/semantic_highlighting.rb#294 + sig { params(node: ::YARP::RestParameterNode).void } + def on_rest_parameter(node); end - # source://ruby-lsp/lib/ruby_lsp/requests/semantic_highlighting.rb#265 - sig { params(node: ::SyntaxTree::VCall).void } - def on_vcall(node); end + # source://ruby-lsp/lib/ruby_lsp/requests/semantic_highlighting.rb#305 + sig { params(node: ::YARP::SelfNode).void } + def on_self(node); end private - # Exclude the ":" symbol at the end of a location - # We use it on keyword parameters to be consistent - # with the rest of the parameters - # - # source://ruby-lsp/lib/ruby_lsp/requests/semantic_highlighting.rb#346 - sig { params(location: T.untyped).returns(::SyntaxTree::Location) } - def location_without_colon(location); end + # source://ruby-lsp/lib/ruby_lsp/requests/semantic_highlighting.rb#400 + sig { params(node: ::YARP::CallNode).void } + def process_regexp_locals(node); end - # Textmate provides highlighting for a subset - # of these special Ruby-specific methods. - # We want to utilize that highlighting, so we - # avoid making a semantic token for it. + # Textmate provides highlighting for a subset of these special Ruby-specific methods. We want to utilize that + # highlighting, so we avoid making a semantic token for it. # - # source://ruby-lsp/lib/ruby_lsp/requests/semantic_highlighting.rb#362 + # source://ruby-lsp/lib/ruby_lsp/requests/semantic_highlighting.rb#395 sig { params(method_name: ::String).returns(T::Boolean) } def special_method?(method_name); end - - # source://ruby-lsp/lib/ruby_lsp/requests/semantic_highlighting.rb#367 - sig { params(value: ::SyntaxTree::Ident).returns(::Symbol) } - def type_for_local(value); end end # source://ruby-lsp/lib/ruby_lsp/requests/semantic_highlighting.rb#72 @@ -2253,14 +2590,7 @@ RubyLsp::Requests::SemanticHighlighting::SPECIAL_RUBY_METHODS = T.let(T.unsafe(n # source://ruby-lsp/lib/ruby_lsp/requests/semantic_highlighting.rb#83 class RubyLsp::Requests::SemanticHighlighting::SemanticToken # source://ruby-lsp/lib/ruby_lsp/requests/semantic_highlighting.rb#99 - sig do - params( - location: ::SyntaxTree::Location, - length: ::Integer, - type: ::Integer, - modifier: T::Array[::Integer] - ).void - end + sig { params(location: ::YARP::Location, length: ::Integer, type: ::Integer, modifier: T::Array[::Integer]).void } def initialize(location:, length:, type:, modifier:); end # source://ruby-lsp/lib/ruby_lsp/requests/semantic_highlighting.rb#90 @@ -2268,7 +2598,7 @@ class RubyLsp::Requests::SemanticHighlighting::SemanticToken def length; end # source://ruby-lsp/lib/ruby_lsp/requests/semantic_highlighting.rb#87 - sig { returns(::SyntaxTree::Location) } + sig { returns(::YARP::Location) } def location; end # source://ruby-lsp/lib/ruby_lsp/requests/semantic_highlighting.rb#96 @@ -2317,7 +2647,7 @@ class RubyLsp::Requests::ShowSyntaxTree < ::RubyLsp::Requests::BaseRequest private - # source://ruby-lsp/lib/ruby_lsp/requests/show_syntax_tree.rb#43 + # source://ruby-lsp/lib/ruby_lsp/requests/show_syntax_tree.rb#42 sig { returns(::String) } def ast_for_range; end end @@ -2332,28 +2662,26 @@ class RubyLsp::Requests::Support::Annotation def initialize(arity:, receiver: T.unsafe(nil)); end # source://ruby-lsp/lib/ruby_lsp/requests/support/annotation.rb#21 - sig { returns(T.any(::Integer, T::Range[::Integer])) } - def arity; end + sig { params(node: ::YARP::CallNode).returns(T::Boolean) } + def match?(node); end - # source://ruby-lsp/lib/ruby_lsp/requests/support/annotation.rb#24 - sig { returns(T::Boolean) } - def receiver; end + private - # source://ruby-lsp/lib/ruby_lsp/requests/support/annotation.rb#27 - sig { params(arity: T.any(::Integer, T::Range[::Integer])).returns(T::Boolean) } - def supports_arity?(arity); end + # source://ruby-lsp/lib/ruby_lsp/requests/support/annotation.rb#34 + sig { params(node: ::YARP::CallNode).returns(T::Boolean) } + def arity_matches?(node); end - # source://ruby-lsp/lib/ruby_lsp/requests/support/annotation.rb#38 - sig { params(receiver: T.nilable(::String)).returns(T::Boolean) } - def supports_receiver?(receiver); end + # source://ruby-lsp/lib/ruby_lsp/requests/support/annotation.rb#28 + sig { params(node: ::YARP::CallNode).returns(T::Boolean) } + def receiver_matches?(node); end end # source://ruby-lsp/lib/ruby_lsp/requests/support/common.rb#7 module RubyLsp::Requests::Support::Common - # source://ruby-lsp/lib/ruby_lsp/requests/support/common.rb#64 + # source://ruby-lsp/lib/ruby_lsp/requests/support/common.rb#55 sig do params( - node: ::SyntaxTree::Node, + node: ::YARP::Node, title: ::String, command_name: ::String, arguments: T.nilable(T::Array[T.untyped]), @@ -2362,15 +2690,7 @@ module RubyLsp::Requests::Support::Common end def create_code_lens(node, title:, command_name:, arguments:, data:); end - # source://ruby-lsp/lib/ruby_lsp/requests/support/common.rb#28 - sig do - params( - node: T.any(::SyntaxTree::ConstPathRef, ::SyntaxTree::ConstRef, ::SyntaxTree::TopConstRef) - ).returns(::String) - end - def full_constant_name(node); end - - # source://ruby-lsp/lib/ruby_lsp/requests/support/common.rb#79 + # source://ruby-lsp/lib/ruby_lsp/requests/support/common.rb#70 sig do params( title: ::String, @@ -2379,12 +2699,16 @@ module RubyLsp::Requests::Support::Common end def markdown_from_index_entries(title, entries); end - # source://ruby-lsp/lib/ruby_lsp/requests/support/common.rb#13 - sig { params(node: ::SyntaxTree::Node).returns(::LanguageServer::Protocol::Interface::Range) } - def range_from_syntax_tree_node(node); end + # source://ruby-lsp/lib/ruby_lsp/requests/support/common.rb#27 + sig { params(location: ::YARP::Location).returns(::LanguageServer::Protocol::Interface::Range) } + def range_from_location(location); end - # source://ruby-lsp/lib/ruby_lsp/requests/support/common.rb#47 - sig { params(node: T.nilable(::SyntaxTree::Node), range: T.nilable(T::Range[::Integer])).returns(T::Boolean) } + # source://ruby-lsp/lib/ruby_lsp/requests/support/common.rb#14 + sig { params(node: ::YARP::Node).returns(::LanguageServer::Protocol::Interface::Range) } + def range_from_node(node); end + + # source://ruby-lsp/lib/ruby_lsp/requests/support/common.rb#38 + sig { params(node: T.nilable(::YARP::Node), range: T.nilable(T::Range[::Integer])).returns(T::Boolean) } def visible?(node, range); end end @@ -2404,15 +2728,11 @@ end # source://ruby-lsp/lib/ruby_lsp/requests/support/highlight_target.rb#7 class RubyLsp::Requests::Support::HighlightTarget # source://ruby-lsp/lib/ruby_lsp/requests/support/highlight_target.rb#30 - sig { params(node: ::SyntaxTree::Node).void } + sig { params(node: ::YARP::Node).void } def initialize(node); end # source://ruby-lsp/lib/ruby_lsp/requests/support/highlight_target.rb#36 - sig do - params( - other: ::SyntaxTree::Node - ).returns(T.nilable(::RubyLsp::Requests::Support::HighlightTarget::HighlightMatch)) - end + sig { params(other: ::YARP::Node).returns(T.nilable(::RubyLsp::Requests::Support::HighlightTarget::HighlightMatch)) } def highlight_type(other); end private @@ -2421,27 +2741,23 @@ class RubyLsp::Requests::Support::HighlightTarget # visiting) # # source://ruby-lsp/lib/ruby_lsp/requests/support/highlight_target.rb#45 - sig do - params( - other: ::SyntaxTree::Node - ).returns(T.nilable(::RubyLsp::Requests::Support::HighlightTarget::HighlightMatch)) - end + sig { params(other: ::YARP::Node).returns(T.nilable(::RubyLsp::Requests::Support::HighlightTarget::HighlightMatch)) } def matched_highlight(other); end - # source://ruby-lsp/lib/ruby_lsp/requests/support/highlight_target.rb#77 - sig { params(node: ::SyntaxTree::Node).returns(T.nilable(::String)) } + # source://ruby-lsp/lib/ruby_lsp/requests/support/highlight_target.rb#89 + sig { params(node: ::YARP::Node).returns(T.nilable(::String)) } def value(node); end end # source://ruby-lsp/lib/ruby_lsp/requests/support/highlight_target.rb#13 class RubyLsp::Requests::Support::HighlightTarget::HighlightMatch # source://ruby-lsp/lib/ruby_lsp/requests/support/highlight_target.rb#23 - sig { params(type: ::Integer, node: ::SyntaxTree::Node).void } - def initialize(type:, node:); end + sig { params(type: ::Integer, location: ::YARP::Location).void } + def initialize(type:, location:); end # source://ruby-lsp/lib/ruby_lsp/requests/support/highlight_target.rb#20 - sig { returns(::SyntaxTree::Node) } - def node; end + sig { returns(::YARP::Location) } + def location; end # source://ruby-lsp/lib/ruby_lsp/requests/support/highlight_target.rb#17 sig { returns(::Integer) } @@ -2457,7 +2773,7 @@ RubyLsp::Requests::Support::HighlightTarget::WRITE = T.let(T.unsafe(nil), Intege # source://ruby-lsp/lib/ruby_lsp/requests/support/rubocop_runner.rb#19 class RubyLsp::Requests::Support::InternalRuboCopError < ::StandardError # source://ruby-lsp/lib/ruby_lsp/requests/support/rubocop_runner.rb#29 - sig { params(rubocop_error: ::RuboCop::ErrorWithAnalyzedFileLocation).void } + sig { params(rubocop_error: T.any(::RuboCop::ErrorWithAnalyzedFileLocation, ::StandardError)).void } def initialize(rubocop_error); end end @@ -2536,35 +2852,35 @@ class RubyLsp::Requests::Support::RuboCopFormattingRunner end end -# source://ruby-lsp/lib/ruby_lsp/requests/support/rubocop_runner.rb#36 +# source://ruby-lsp/lib/ruby_lsp/requests/support/rubocop_runner.rb#41 class RubyLsp::Requests::Support::RuboCopRunner < ::RuboCop::Runner - # source://ruby-lsp/lib/ruby_lsp/requests/support/rubocop_runner.rb#63 + # source://ruby-lsp/lib/ruby_lsp/requests/support/rubocop_runner.rb#68 sig { params(args: ::String).void } def initialize(*args); end - # source://ruby-lsp/lib/ruby_lsp/requests/support/rubocop_runner.rb#95 + # source://ruby-lsp/lib/ruby_lsp/requests/support/rubocop_runner.rb#100 sig { returns(::String) } def formatted_source; end - # source://ruby-lsp/lib/ruby_lsp/requests/support/rubocop_runner.rb#42 + # source://ruby-lsp/lib/ruby_lsp/requests/support/rubocop_runner.rb#47 sig { returns(T::Array[::RuboCop::Cop::Offense]) } def offenses; end - # source://ruby-lsp/lib/ruby_lsp/requests/support/rubocop_runner.rb#77 + # source://ruby-lsp/lib/ruby_lsp/requests/support/rubocop_runner.rb#82 sig { params(path: ::String, contents: ::String).void } def run(path, contents); end private - # source://ruby-lsp/lib/ruby_lsp/requests/support/rubocop_runner.rb#102 + # source://ruby-lsp/lib/ruby_lsp/requests/support/rubocop_runner.rb#107 sig { params(_file: ::String, offenses: T::Array[::RuboCop::Cop::Offense]).void } def file_finished(_file, offenses); end end -# source://ruby-lsp/lib/ruby_lsp/requests/support/rubocop_runner.rb#39 +# source://ruby-lsp/lib/ruby_lsp/requests/support/rubocop_runner.rb#44 class RubyLsp::Requests::Support::RuboCopRunner::ConfigurationError < ::StandardError; end -# source://ruby-lsp/lib/ruby_lsp/requests/support/rubocop_runner.rb#44 +# source://ruby-lsp/lib/ruby_lsp/requests/support/rubocop_runner.rb#49 RubyLsp::Requests::Support::RuboCopRunner::DEFAULT_ARGS = T.let(T.unsafe(nil), Array) # source://ruby-lsp/lib/ruby_lsp/requests/support/selection_range.rb#7 @@ -2609,40 +2925,22 @@ end class RubyLsp::Requests::Support::Sorbet class << self # source://ruby-lsp/lib/ruby_lsp/requests/support/sorbet.rb#48 - sig { params(node: T.any(::SyntaxTree::CallNode, ::SyntaxTree::VCall)).returns(T::Boolean) } + sig { params(node: ::YARP::CallNode).returns(T::Boolean) } def annotation?(node); end - - private - - # source://ruby-lsp/lib/ruby_lsp/requests/support/sorbet.rb#61 - sig do - params( - node: T.any(::SyntaxTree::CallNode, ::SyntaxTree::VCall) - ).returns(T.nilable(::RubyLsp::Requests::Support::Annotation)) - end - def annotation(node); end - - # source://ruby-lsp/lib/ruby_lsp/requests/support/sorbet.rb#90 - sig { params(node: T.nilable(::SyntaxTree::Node)).returns(T.nilable(::String)) } - def node_name(node); end - - # source://ruby-lsp/lib/ruby_lsp/requests/support/sorbet.rb#76 - sig { params(receiver: T.any(::SyntaxTree::CallNode, ::SyntaxTree::VCall)).returns(T.nilable(::String)) } - def receiver_name(receiver); end end end -# source://ruby-lsp/lib/ruby_lsp/requests/support/syntax_tree_formatting_runner.rb#11 +# source://ruby-lsp/lib/ruby_lsp/requests/support/syntax_tree_formatting_runner.rb#17 class RubyLsp::Requests::Support::SyntaxTreeFormattingRunner include ::Singleton include ::RubyLsp::Requests::Support::FormatterRunner extend ::Singleton::SingletonClassMethods - # source://ruby-lsp/lib/ruby_lsp/requests/support/syntax_tree_formatting_runner.rb#17 + # source://ruby-lsp/lib/ruby_lsp/requests/support/syntax_tree_formatting_runner.rb#23 sig { void } def initialize; end - # source://ruby-lsp/lib/ruby_lsp/requests/support/syntax_tree_formatting_runner.rb#30 + # source://ruby-lsp/lib/ruby_lsp/requests/support/syntax_tree_formatting_runner.rb#36 sig { override.params(uri: ::URI::Generic, document: ::RubyLsp::Document).returns(T.nilable(::String)) } def run(uri, document); end @@ -2681,7 +2979,7 @@ class RubyLsp::Requests::WorkspaceSymbol private - # source://ruby-lsp/lib/ruby_lsp/requests/workspace_symbol.rb#74 + # source://ruby-lsp/lib/ruby_lsp/requests/workspace_symbol.rb#77 sig { params(entry: ::RubyIndexer::Index::Entry).returns(T.nilable(::Integer)) } def kind_for_entry(entry); end end @@ -2690,18 +2988,14 @@ end # # source://ruby-lsp/lib/ruby_lsp/utils.rb#35 class RubyLsp::Result - # source://ruby-lsp/lib/ruby_lsp/utils.rb#54 - sig { params(response: T.untyped, error: T.nilable(::Exception), request_time: T.nilable(::Float)).void } - def initialize(response:, error: T.unsafe(nil), request_time: T.unsafe(nil)); end + # source://ruby-lsp/lib/ruby_lsp/utils.rb#45 + sig { params(response: T.untyped, error: T.nilable(::Exception)).void } + def initialize(response:, error: T.unsafe(nil)); end # source://ruby-lsp/lib/ruby_lsp/utils.rb#42 sig { returns(T.nilable(::Exception)) } def error; end - # source://ruby-lsp/lib/ruby_lsp/utils.rb#45 - sig { returns(T.nilable(::Float)) } - def request_time; end - # source://ruby-lsp/lib/ruby_lsp/utils.rb#39 sig { returns(T.untyped) } def response; end @@ -2728,16 +3022,6 @@ class RubyLsp::Server # source://ruby-lsp/lib/ruby_lsp/server.rb#120 sig { returns(::Thread) } def new_worker; end - - # source://ruby-lsp/lib/ruby_lsp/server.rb#177 - sig do - params( - request: T::Hash[::Symbol, T.untyped], - request_time: ::Float, - error: T.nilable(::Exception) - ).returns(T::Hash[::Symbol, T.any(::Float, ::String)]) - end - def telemetry_params(request, request_time, error); end end # source://ruby-lsp/lib/ruby_lsp/store.rb#7 diff --git a/sorbet/rbi/gems/syntax_tree@6.1.1.rbi b/sorbet/rbi/gems/syntax_tree@6.2.0.rbi similarity index 86% rename from sorbet/rbi/gems/syntax_tree@6.1.1.rbi rename to sorbet/rbi/gems/syntax_tree@6.2.0.rbi index 0939a3a8..c5b416f5 100644 --- a/sorbet/rbi/gems/syntax_tree@6.1.1.rbi +++ b/sorbet/rbi/gems/syntax_tree@6.2.0.rbi @@ -14,72 +14,72 @@ module SyntaxTree class << self # Parses the given source and returns the formatted source. # - # source://syntax_tree/lib/syntax_tree.rb#59 + # source://syntax_tree/lib/syntax_tree.rb#60 def format(source, maxwidth = T.unsafe(nil), base_indentation = T.unsafe(nil), options: T.unsafe(nil)); end # Parses the given file and returns the formatted source. # - # source://syntax_tree/lib/syntax_tree.rb#75 + # source://syntax_tree/lib/syntax_tree.rb#76 def format_file(filepath, maxwidth = T.unsafe(nil), base_indentation = T.unsafe(nil), options: T.unsafe(nil)); end # Accepts a node in the tree and returns the formatted source. # - # source://syntax_tree/lib/syntax_tree.rb#85 + # source://syntax_tree/lib/syntax_tree.rb#86 def format_node(source, node, maxwidth = T.unsafe(nil), base_indentation = T.unsafe(nil), options: T.unsafe(nil)); end # Indexes the given source code to return a list of all class, module, and # method definitions. Used to quickly provide indexing capability for IDEs or # documentation generation. # - # source://syntax_tree/lib/syntax_tree.rb#102 + # source://syntax_tree/lib/syntax_tree.rb#103 def index(source); end # Indexes the given file to return a list of all class, module, and method # definitions. Used to quickly provide indexing capability for IDEs or # documentation generation. # - # source://syntax_tree/lib/syntax_tree.rb#109 + # source://syntax_tree/lib/syntax_tree.rb#110 def index_file(filepath); end # A convenience method for creating a new mutation visitor. # # @yield [visitor] # - # source://syntax_tree/lib/syntax_tree.rb#114 + # source://syntax_tree/lib/syntax_tree.rb#115 def mutation; end # Parses the given source and returns the syntax tree. # - # source://syntax_tree/lib/syntax_tree.rb#121 + # source://syntax_tree/lib/syntax_tree.rb#122 def parse(source); end # Parses the given file and returns the syntax tree. # - # source://syntax_tree/lib/syntax_tree.rb#128 + # source://syntax_tree/lib/syntax_tree.rb#129 def parse_file(filepath); end # Returns the source from the given filepath taking into account any potential # magic encoding comments. # - # source://syntax_tree/lib/syntax_tree.rb#134 + # source://syntax_tree/lib/syntax_tree.rb#135 def read(filepath); end # This is a hook provided so that plugins can register themselves as the # handler for a particular file type. # - # source://syntax_tree/lib/syntax_tree.rb#149 + # source://syntax_tree/lib/syntax_tree.rb#150 def register_handler(extension, handler); end # Searches through the given source using the given pattern and yields each # node in the tree that matches the pattern to the given block. # - # source://syntax_tree/lib/syntax_tree.rb#155 + # source://syntax_tree/lib/syntax_tree.rb#156 def search(source, query, &block); end # Searches through the given file using the given pattern and yields each # node in the tree that matches the pattern to the given block. # - # source://syntax_tree/lib/syntax_tree.rb#164 + # source://syntax_tree/lib/syntax_tree.rb#165 def search_file(filepath, query, &block); end end end @@ -716,7 +716,7 @@ class SyntaxTree::AryPtn < ::SyntaxTree::Node # source://syntax_tree/lib/syntax_tree/node.rb#1318 def comments; end - # [nil | VarRef] the optional constant wrapper + # [nil | VarRef | ConstPathRef] the optional constant wrapper # # source://syntax_tree/lib/syntax_tree/node.rb#1303 def constant; end @@ -1415,60 +1415,60 @@ end # # method { |value| } # -# source://syntax_tree/lib/syntax_tree/node.rb#4309 +# source://syntax_tree/lib/syntax_tree/node.rb#4312 class SyntaxTree::BlockNode < ::SyntaxTree::Node # @return [BlockNode] a new instance of BlockNode # - # source://syntax_tree/lib/syntax_tree/node.rb#4344 + # source://syntax_tree/lib/syntax_tree/node.rb#4347 def initialize(opening:, block_var:, bodystmt:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#4417 + # source://syntax_tree/lib/syntax_tree/node.rb#4420 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#4352 + # source://syntax_tree/lib/syntax_tree/node.rb#4355 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#4426 + # source://syntax_tree/lib/syntax_tree/node.rb#4429 def arity; end # [nil | BlockVar] the optional variable declaration within this block # - # source://syntax_tree/lib/syntax_tree/node.rb#4336 + # source://syntax_tree/lib/syntax_tree/node.rb#4339 def block_var; end # [BodyStmt | Statements] the expressions to be executed within this block # - # source://syntax_tree/lib/syntax_tree/node.rb#4339 + # source://syntax_tree/lib/syntax_tree/node.rb#4342 def bodystmt; end - # source://syntax_tree/lib/syntax_tree/node.rb#4356 + # source://syntax_tree/lib/syntax_tree/node.rb#4359 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#4342 + # source://syntax_tree/lib/syntax_tree/node.rb#4345 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#4360 + # source://syntax_tree/lib/syntax_tree/node.rb#4363 def copy(opening: T.unsafe(nil), block_var: T.unsafe(nil), bodystmt: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#4356 + # source://syntax_tree/lib/syntax_tree/node.rb#4359 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#4375 + # source://syntax_tree/lib/syntax_tree/node.rb#4378 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#4385 + # source://syntax_tree/lib/syntax_tree/node.rb#4388 def format(q); end # @return [Boolean] # - # source://syntax_tree/lib/syntax_tree/node.rb#4422 + # source://syntax_tree/lib/syntax_tree/node.rb#4425 def keywords?; end # [LBrace | Kw] the left brace or the do keyword that opens this block # - # source://syntax_tree/lib/syntax_tree/node.rb#4333 + # source://syntax_tree/lib/syntax_tree/node.rb#4336 def opening; end private @@ -1478,7 +1478,7 @@ class SyntaxTree::BlockNode < ::SyntaxTree::Node # # @return [Boolean] # - # source://syntax_tree/lib/syntax_tree/node.rb#4468 + # source://syntax_tree/lib/syntax_tree/node.rb#4471 def forced_brace_bounds?(q); end # If we're a sibling of a control-flow keyword, then we're going to have to @@ -1486,13 +1486,13 @@ class SyntaxTree::BlockNode < ::SyntaxTree::Node # # @return [Boolean] # - # source://syntax_tree/lib/syntax_tree/node.rb#4457 + # source://syntax_tree/lib/syntax_tree/node.rb#4460 def forced_do_end_bounds?(q); end - # source://syntax_tree/lib/syntax_tree/node.rb#4484 + # source://syntax_tree/lib/syntax_tree/node.rb#4487 def format_break(q, break_opening, break_closing); end - # source://syntax_tree/lib/syntax_tree/node.rb#4504 + # source://syntax_tree/lib/syntax_tree/node.rb#4507 def format_flat(q, flat_opening, flat_closing); end # If this is nested anywhere inside certain nodes, then we can't change @@ -1500,33 +1500,33 @@ class SyntaxTree::BlockNode < ::SyntaxTree::Node # # @return [Boolean] # - # source://syntax_tree/lib/syntax_tree/node.rb#4439 + # source://syntax_tree/lib/syntax_tree/node.rb#4442 def unchangeable_bounds?(q); end end # Formats the opening brace or keyword of a block. # -# source://syntax_tree/lib/syntax_tree/node.rb#4311 +# source://syntax_tree/lib/syntax_tree/node.rb#4314 class SyntaxTree::BlockNode::BlockOpenFormatter # @return [BlockOpenFormatter] a new instance of BlockOpenFormatter # - # source://syntax_tree/lib/syntax_tree/node.rb#4318 + # source://syntax_tree/lib/syntax_tree/node.rb#4321 def initialize(text, node); end - # source://syntax_tree/lib/syntax_tree/node.rb#4323 + # source://syntax_tree/lib/syntax_tree/node.rb#4326 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#4327 + # source://syntax_tree/lib/syntax_tree/node.rb#4330 def format(q); end # [LBrace | Keyword] the node that is being represented # - # source://syntax_tree/lib/syntax_tree/node.rb#4316 + # source://syntax_tree/lib/syntax_tree/node.rb#4319 def node; end # [String] the actual output that should be printed # - # source://syntax_tree/lib/syntax_tree/node.rb#4313 + # source://syntax_tree/lib/syntax_tree/node.rb#4316 def text; end end @@ -2168,42 +2168,42 @@ end # # @@variable # -# source://syntax_tree/lib/syntax_tree/node.rb#4043 +# source://syntax_tree/lib/syntax_tree/node.rb#4046 class SyntaxTree::CVar < ::SyntaxTree::Node # @return [CVar] a new instance of CVar # - # source://syntax_tree/lib/syntax_tree/node.rb#4050 + # source://syntax_tree/lib/syntax_tree/node.rb#4053 def initialize(value:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#4085 + # source://syntax_tree/lib/syntax_tree/node.rb#4088 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#4056 + # source://syntax_tree/lib/syntax_tree/node.rb#4059 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#4060 + # source://syntax_tree/lib/syntax_tree/node.rb#4063 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#4048 + # source://syntax_tree/lib/syntax_tree/node.rb#4051 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#4064 + # source://syntax_tree/lib/syntax_tree/node.rb#4067 def copy(value: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#4060 + # source://syntax_tree/lib/syntax_tree/node.rb#4063 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#4077 + # source://syntax_tree/lib/syntax_tree/node.rb#4080 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#4081 + # source://syntax_tree/lib/syntax_tree/node.rb#4084 def format(q); end # [String] the name of the class variable # - # source://syntax_tree/lib/syntax_tree/node.rb#4045 + # source://syntax_tree/lib/syntax_tree/node.rb#4048 def value; end end @@ -2248,16 +2248,16 @@ class SyntaxTree::CallChainFormatter # # @return [Boolean] # - # source://syntax_tree/lib/syntax_tree/node.rb#2895 + # source://syntax_tree/lib/syntax_tree/node.rb#2898 def attach_directly?(node); end - # source://syntax_tree/lib/syntax_tree/node.rb#2905 + # source://syntax_tree/lib/syntax_tree/node.rb#2908 def format_child(q, child, skip_comments: T.unsafe(nil), skip_operator: T.unsafe(nil), skip_attached: T.unsafe(nil)); end class << self # @return [Boolean] # - # source://syntax_tree/lib/syntax_tree/node.rb#2876 + # source://syntax_tree/lib/syntax_tree/node.rb#2879 def chained?(node); end end end @@ -2266,69 +2266,69 @@ end # # receiver.message # -# source://syntax_tree/lib/syntax_tree/node.rb#2943 +# source://syntax_tree/lib/syntax_tree/node.rb#2946 class SyntaxTree::CallNode < ::SyntaxTree::Node # @return [CallNode] a new instance of CallNode # - # source://syntax_tree/lib/syntax_tree/node.rb#2959 + # source://syntax_tree/lib/syntax_tree/node.rb#2962 def initialize(receiver:, operator:, message:, arguments:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#3054 + # source://syntax_tree/lib/syntax_tree/node.rb#3057 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#2968 + # source://syntax_tree/lib/syntax_tree/node.rb#2971 def accept(visitor); end # [nil | ArgParen | Args] the arguments to the method call # - # source://syntax_tree/lib/syntax_tree/node.rb#2954 + # source://syntax_tree/lib/syntax_tree/node.rb#2957 def arguments; end - # source://syntax_tree/lib/syntax_tree/node.rb#3100 + # source://syntax_tree/lib/syntax_tree/node.rb#3103 def arity; end - # source://syntax_tree/lib/syntax_tree/node.rb#2972 + # source://syntax_tree/lib/syntax_tree/node.rb#2975 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#2957 + # source://syntax_tree/lib/syntax_tree/node.rb#2960 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#2981 + # source://syntax_tree/lib/syntax_tree/node.rb#2984 def copy(receiver: T.unsafe(nil), operator: T.unsafe(nil), message: T.unsafe(nil), arguments: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#2972 + # source://syntax_tree/lib/syntax_tree/node.rb#2975 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#3003 + # source://syntax_tree/lib/syntax_tree/node.rb#3006 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#3014 + # source://syntax_tree/lib/syntax_tree/node.rb#3017 def format(q); end # Print out the arguments to this call. If there are no arguments, then do # nothing. # - # source://syntax_tree/lib/syntax_tree/node.rb#3062 + # source://syntax_tree/lib/syntax_tree/node.rb#3065 def format_arguments(q); end - # source://syntax_tree/lib/syntax_tree/node.rb#3072 + # source://syntax_tree/lib/syntax_tree/node.rb#3075 def format_contents(q); end # [:call | Backtick | Const | Ident | Op] the message being sent # - # source://syntax_tree/lib/syntax_tree/node.rb#2951 + # source://syntax_tree/lib/syntax_tree/node.rb#2954 def message; end # [nil | :"::" | Op | Period] the operator being used to send the message # - # source://syntax_tree/lib/syntax_tree/node.rb#2948 + # source://syntax_tree/lib/syntax_tree/node.rb#2951 def operator; end # [nil | Node] the receiver of the method call # - # source://syntax_tree/lib/syntax_tree/node.rb#2945 + # source://syntax_tree/lib/syntax_tree/node.rb#2948 def receiver; end end @@ -2365,52 +2365,52 @@ end # "number" # end # -# source://syntax_tree/lib/syntax_tree/node.rb#3116 +# source://syntax_tree/lib/syntax_tree/node.rb#3119 class SyntaxTree::Case < ::SyntaxTree::Node # @return [Case] a new instance of Case # - # source://syntax_tree/lib/syntax_tree/node.rb#3129 + # source://syntax_tree/lib/syntax_tree/node.rb#3132 def initialize(keyword:, value:, consequent:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#3187 + # source://syntax_tree/lib/syntax_tree/node.rb#3190 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#3137 + # source://syntax_tree/lib/syntax_tree/node.rb#3140 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#3141 + # source://syntax_tree/lib/syntax_tree/node.rb#3144 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#3127 + # source://syntax_tree/lib/syntax_tree/node.rb#3130 def comments; end # [In | When] the next clause in the chain # - # source://syntax_tree/lib/syntax_tree/node.rb#3124 + # source://syntax_tree/lib/syntax_tree/node.rb#3127 def consequent; end - # source://syntax_tree/lib/syntax_tree/node.rb#3145 + # source://syntax_tree/lib/syntax_tree/node.rb#3148 def copy(keyword: T.unsafe(nil), value: T.unsafe(nil), consequent: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#3141 + # source://syntax_tree/lib/syntax_tree/node.rb#3144 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#3160 + # source://syntax_tree/lib/syntax_tree/node.rb#3163 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#3170 + # source://syntax_tree/lib/syntax_tree/node.rb#3173 def format(q); end # [Kw] the keyword that opens this expression # - # source://syntax_tree/lib/syntax_tree/node.rb#3118 + # source://syntax_tree/lib/syntax_tree/node.rb#3121 def keyword; end # [nil | Node] optional value being switched on # - # source://syntax_tree/lib/syntax_tree/node.rb#3121 + # source://syntax_tree/lib/syntax_tree/node.rb#3124 def value; end end @@ -2446,91 +2446,91 @@ end # class Child < method # end # -# source://syntax_tree/lib/syntax_tree/node.rb#3312 +# source://syntax_tree/lib/syntax_tree/node.rb#3315 class SyntaxTree::ClassDeclaration < ::SyntaxTree::Node # @return [ClassDeclaration] a new instance of ClassDeclaration # - # source://syntax_tree/lib/syntax_tree/node.rb#3326 + # source://syntax_tree/lib/syntax_tree/node.rb#3329 def initialize(constant:, superclass:, bodystmt:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#3389 + # source://syntax_tree/lib/syntax_tree/node.rb#3392 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#3334 + # source://syntax_tree/lib/syntax_tree/node.rb#3337 def accept(visitor); end # [BodyStmt] the expressions to execute within the context of the class # - # source://syntax_tree/lib/syntax_tree/node.rb#3321 + # source://syntax_tree/lib/syntax_tree/node.rb#3324 def bodystmt; end - # source://syntax_tree/lib/syntax_tree/node.rb#3338 + # source://syntax_tree/lib/syntax_tree/node.rb#3341 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#3324 + # source://syntax_tree/lib/syntax_tree/node.rb#3327 def comments; end # [ConstPathRef | ConstRef | TopConstRef] the name of the class being # defined # - # source://syntax_tree/lib/syntax_tree/node.rb#3315 + # source://syntax_tree/lib/syntax_tree/node.rb#3318 def constant; end - # source://syntax_tree/lib/syntax_tree/node.rb#3342 + # source://syntax_tree/lib/syntax_tree/node.rb#3345 def copy(constant: T.unsafe(nil), superclass: T.unsafe(nil), bodystmt: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#3338 + # source://syntax_tree/lib/syntax_tree/node.rb#3341 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#3357 + # source://syntax_tree/lib/syntax_tree/node.rb#3360 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#3367 + # source://syntax_tree/lib/syntax_tree/node.rb#3370 def format(q); end # [nil | Node] the optional superclass declaration # - # source://syntax_tree/lib/syntax_tree/node.rb#3318 + # source://syntax_tree/lib/syntax_tree/node.rb#3321 def superclass; end private - # source://syntax_tree/lib/syntax_tree/node.rb#3396 + # source://syntax_tree/lib/syntax_tree/node.rb#3399 def format_declaration(q); end end # Comma represents the use of the , operator. # -# source://syntax_tree/lib/syntax_tree/node.rb#3410 +# source://syntax_tree/lib/syntax_tree/node.rb#3413 class SyntaxTree::Comma < ::SyntaxTree::Node # @return [Comma] a new instance of Comma # - # source://syntax_tree/lib/syntax_tree/node.rb#3414 + # source://syntax_tree/lib/syntax_tree/node.rb#3417 def initialize(value:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#3437 + # source://syntax_tree/lib/syntax_tree/node.rb#3440 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#3419 + # source://syntax_tree/lib/syntax_tree/node.rb#3422 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#3423 + # source://syntax_tree/lib/syntax_tree/node.rb#3426 def child_nodes; end - # source://syntax_tree/lib/syntax_tree/node.rb#3427 + # source://syntax_tree/lib/syntax_tree/node.rb#3430 def copy(value: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#3423 + # source://syntax_tree/lib/syntax_tree/node.rb#3426 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#3433 + # source://syntax_tree/lib/syntax_tree/node.rb#3436 def deconstruct_keys(_keys); end # [String] the comma in the string # - # source://syntax_tree/lib/syntax_tree/node.rb#3412 + # source://syntax_tree/lib/syntax_tree/node.rb#3415 def value; end end @@ -2540,60 +2540,60 @@ end # # method argument # -# source://syntax_tree/lib/syntax_tree/node.rb#3448 +# source://syntax_tree/lib/syntax_tree/node.rb#3451 class SyntaxTree::Command < ::SyntaxTree::Node # @return [Command] a new instance of Command # - # source://syntax_tree/lib/syntax_tree/node.rb#3461 + # source://syntax_tree/lib/syntax_tree/node.rb#3464 def initialize(message:, arguments:, block:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#3511 + # source://syntax_tree/lib/syntax_tree/node.rb#3514 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#3469 + # source://syntax_tree/lib/syntax_tree/node.rb#3472 def accept(visitor); end # [Args] the arguments being sent with the message # - # source://syntax_tree/lib/syntax_tree/node.rb#3453 + # source://syntax_tree/lib/syntax_tree/node.rb#3456 def arguments; end - # source://syntax_tree/lib/syntax_tree/node.rb#3516 + # source://syntax_tree/lib/syntax_tree/node.rb#3519 def arity; end # [nil | BlockNode] the optional block being passed to the method # - # source://syntax_tree/lib/syntax_tree/node.rb#3456 + # source://syntax_tree/lib/syntax_tree/node.rb#3459 def block; end - # source://syntax_tree/lib/syntax_tree/node.rb#3473 + # source://syntax_tree/lib/syntax_tree/node.rb#3476 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#3459 + # source://syntax_tree/lib/syntax_tree/node.rb#3462 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#3477 + # source://syntax_tree/lib/syntax_tree/node.rb#3480 def copy(message: T.unsafe(nil), arguments: T.unsafe(nil), block: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#3473 + # source://syntax_tree/lib/syntax_tree/node.rb#3476 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#3492 + # source://syntax_tree/lib/syntax_tree/node.rb#3495 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#3502 + # source://syntax_tree/lib/syntax_tree/node.rb#3505 def format(q); end # [Const | Ident] the message being sent to the implicit receiver # - # source://syntax_tree/lib/syntax_tree/node.rb#3450 + # source://syntax_tree/lib/syntax_tree/node.rb#3453 def message; end private - # source://syntax_tree/lib/syntax_tree/node.rb#3522 + # source://syntax_tree/lib/syntax_tree/node.rb#3525 def align(q, node, &block); end end @@ -2602,70 +2602,70 @@ end # # object.method argument # -# source://syntax_tree/lib/syntax_tree/node.rb#3560 +# source://syntax_tree/lib/syntax_tree/node.rb#3563 class SyntaxTree::CommandCall < ::SyntaxTree::Node # @return [CommandCall] a new instance of CommandCall # - # source://syntax_tree/lib/syntax_tree/node.rb#3579 + # source://syntax_tree/lib/syntax_tree/node.rb#3582 def initialize(receiver:, operator:, message:, arguments:, block:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#3683 + # source://syntax_tree/lib/syntax_tree/node.rb#3686 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#3596 + # source://syntax_tree/lib/syntax_tree/node.rb#3599 def accept(visitor); end # [nil | Args | ArgParen] the arguments going along with the message # - # source://syntax_tree/lib/syntax_tree/node.rb#3571 + # source://syntax_tree/lib/syntax_tree/node.rb#3574 def arguments; end - # source://syntax_tree/lib/syntax_tree/node.rb#3689 + # source://syntax_tree/lib/syntax_tree/node.rb#3692 def arity; end # [nil | BlockNode] the block associated with this method call # - # source://syntax_tree/lib/syntax_tree/node.rb#3574 + # source://syntax_tree/lib/syntax_tree/node.rb#3577 def block; end - # source://syntax_tree/lib/syntax_tree/node.rb#3600 + # source://syntax_tree/lib/syntax_tree/node.rb#3603 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#3577 + # source://syntax_tree/lib/syntax_tree/node.rb#3580 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#3604 + # source://syntax_tree/lib/syntax_tree/node.rb#3607 def copy(receiver: T.unsafe(nil), operator: T.unsafe(nil), message: T.unsafe(nil), arguments: T.unsafe(nil), block: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#3600 + # source://syntax_tree/lib/syntax_tree/node.rb#3603 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#3628 + # source://syntax_tree/lib/syntax_tree/node.rb#3631 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#3640 + # source://syntax_tree/lib/syntax_tree/node.rb#3643 def format(q); end # [:call | Const | Ident | Op] the message being send # - # source://syntax_tree/lib/syntax_tree/node.rb#3568 + # source://syntax_tree/lib/syntax_tree/node.rb#3571 def message; end # [nil | :"::" | Op | Period] the operator used to send the message # - # source://syntax_tree/lib/syntax_tree/node.rb#3565 + # source://syntax_tree/lib/syntax_tree/node.rb#3568 def operator; end # [nil | Node] the receiver of the message # - # source://syntax_tree/lib/syntax_tree/node.rb#3562 + # source://syntax_tree/lib/syntax_tree/node.rb#3565 def receiver; end private - # source://syntax_tree/lib/syntax_tree/node.rb#3695 + # source://syntax_tree/lib/syntax_tree/node.rb#3698 def argument_alignment(q, doc); end end @@ -2673,112 +2673,112 @@ end # # # comment # -# source://syntax_tree/lib/syntax_tree/node.rb#3722 +# source://syntax_tree/lib/syntax_tree/node.rb#3725 class SyntaxTree::Comment < ::SyntaxTree::Node # @return [Comment] a new instance of Comment # - # source://syntax_tree/lib/syntax_tree/node.rb#3731 + # source://syntax_tree/lib/syntax_tree/node.rb#3734 def initialize(value:, inline:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#3790 + # source://syntax_tree/lib/syntax_tree/node.rb#3793 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#3764 + # source://syntax_tree/lib/syntax_tree/node.rb#3767 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#3768 + # source://syntax_tree/lib/syntax_tree/node.rb#3771 def child_nodes; end - # source://syntax_tree/lib/syntax_tree/node.rb#3760 + # source://syntax_tree/lib/syntax_tree/node.rb#3763 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#3772 + # source://syntax_tree/lib/syntax_tree/node.rb#3775 def copy(value: T.unsafe(nil), inline: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#3768 + # source://syntax_tree/lib/syntax_tree/node.rb#3771 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#3782 + # source://syntax_tree/lib/syntax_tree/node.rb#3785 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#3786 + # source://syntax_tree/lib/syntax_tree/node.rb#3789 def format(q); end # @return [Boolean] # - # source://syntax_tree/lib/syntax_tree/node.rb#3756 + # source://syntax_tree/lib/syntax_tree/node.rb#3759 def ignore?; end # [boolean] whether or not there is code on the same line as this comment. # If there is, then inline will be true. # - # source://syntax_tree/lib/syntax_tree/node.rb#3728 + # source://syntax_tree/lib/syntax_tree/node.rb#3731 def inline; end # [boolean] whether or not there is code on the same line as this comment. # If there is, then inline will be true. # - # source://syntax_tree/lib/syntax_tree/node.rb#3728 + # source://syntax_tree/lib/syntax_tree/node.rb#3731 def inline?; end - # source://syntax_tree/lib/syntax_tree/node.rb#3740 + # source://syntax_tree/lib/syntax_tree/node.rb#3743 def leading!; end # @return [Boolean] # - # source://syntax_tree/lib/syntax_tree/node.rb#3744 + # source://syntax_tree/lib/syntax_tree/node.rb#3747 def leading?; end - # source://syntax_tree/lib/syntax_tree/node.rb#3748 + # source://syntax_tree/lib/syntax_tree/node.rb#3751 def trailing!; end # @return [Boolean] # - # source://syntax_tree/lib/syntax_tree/node.rb#3752 + # source://syntax_tree/lib/syntax_tree/node.rb#3755 def trailing?; end # [String] the contents of the comment # - # source://syntax_tree/lib/syntax_tree/node.rb#3724 + # source://syntax_tree/lib/syntax_tree/node.rb#3727 def value; end end # Formats an If or Unless node. # -# source://syntax_tree/lib/syntax_tree/node.rb#6314 +# source://syntax_tree/lib/syntax_tree/node.rb#6317 class SyntaxTree::ConditionalFormatter # @return [ConditionalFormatter] a new instance of ConditionalFormatter # - # source://syntax_tree/lib/syntax_tree/node.rb#6321 + # source://syntax_tree/lib/syntax_tree/node.rb#6324 def initialize(keyword, node); end - # source://syntax_tree/lib/syntax_tree/node.rb#6326 + # source://syntax_tree/lib/syntax_tree/node.rb#6329 def format(q); end # [String] the keyword associated with this conditional # - # source://syntax_tree/lib/syntax_tree/node.rb#6316 + # source://syntax_tree/lib/syntax_tree/node.rb#6319 def keyword; end # [If | Unless] the node that is being formatted # - # source://syntax_tree/lib/syntax_tree/node.rb#6319 + # source://syntax_tree/lib/syntax_tree/node.rb#6322 def node; end private # @return [Boolean] # - # source://syntax_tree/lib/syntax_tree/node.rb#6450 + # source://syntax_tree/lib/syntax_tree/node.rb#6453 def contains_conditional?; end - # source://syntax_tree/lib/syntax_tree/node.rb#6385 + # source://syntax_tree/lib/syntax_tree/node.rb#6388 def format_break(q, force:); end - # source://syntax_tree/lib/syntax_tree/node.rb#6377 + # source://syntax_tree/lib/syntax_tree/node.rb#6380 def format_flat(q); end - # source://syntax_tree/lib/syntax_tree/node.rb#6405 + # source://syntax_tree/lib/syntax_tree/node.rb#6408 def format_ternary(q); end end @@ -2796,42 +2796,42 @@ end # # :Constant # -# source://syntax_tree/lib/syntax_tree/node.rb#3809 +# source://syntax_tree/lib/syntax_tree/node.rb#3812 class SyntaxTree::Const < ::SyntaxTree::Node # @return [Const] a new instance of Const # - # source://syntax_tree/lib/syntax_tree/node.rb#3816 + # source://syntax_tree/lib/syntax_tree/node.rb#3819 def initialize(value:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#3851 + # source://syntax_tree/lib/syntax_tree/node.rb#3854 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#3822 + # source://syntax_tree/lib/syntax_tree/node.rb#3825 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#3826 + # source://syntax_tree/lib/syntax_tree/node.rb#3829 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#3814 + # source://syntax_tree/lib/syntax_tree/node.rb#3817 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#3830 + # source://syntax_tree/lib/syntax_tree/node.rb#3833 def copy(value: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#3826 + # source://syntax_tree/lib/syntax_tree/node.rb#3829 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#3843 + # source://syntax_tree/lib/syntax_tree/node.rb#3846 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#3847 + # source://syntax_tree/lib/syntax_tree/node.rb#3850 def format(q); end # [String] the name of the constant # - # source://syntax_tree/lib/syntax_tree/node.rb#3811 + # source://syntax_tree/lib/syntax_tree/node.rb#3814 def value; end end @@ -2841,47 +2841,47 @@ end # # object::Const = value # -# source://syntax_tree/lib/syntax_tree/node.rb#3862 +# source://syntax_tree/lib/syntax_tree/node.rb#3865 class SyntaxTree::ConstPathField < ::SyntaxTree::Node # @return [ConstPathField] a new instance of ConstPathField # - # source://syntax_tree/lib/syntax_tree/node.rb#3872 + # source://syntax_tree/lib/syntax_tree/node.rb#3875 def initialize(parent:, constant:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#3916 + # source://syntax_tree/lib/syntax_tree/node.rb#3919 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#3879 + # source://syntax_tree/lib/syntax_tree/node.rb#3882 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#3883 + # source://syntax_tree/lib/syntax_tree/node.rb#3886 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#3870 + # source://syntax_tree/lib/syntax_tree/node.rb#3873 def comments; end # [Const] the constant itself # - # source://syntax_tree/lib/syntax_tree/node.rb#3867 + # source://syntax_tree/lib/syntax_tree/node.rb#3870 def constant; end - # source://syntax_tree/lib/syntax_tree/node.rb#3887 + # source://syntax_tree/lib/syntax_tree/node.rb#3890 def copy(parent: T.unsafe(nil), constant: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#3883 + # source://syntax_tree/lib/syntax_tree/node.rb#3886 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#3901 + # source://syntax_tree/lib/syntax_tree/node.rb#3904 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#3910 + # source://syntax_tree/lib/syntax_tree/node.rb#3913 def format(q); end # [Node] the source of the constant # - # source://syntax_tree/lib/syntax_tree/node.rb#3864 + # source://syntax_tree/lib/syntax_tree/node.rb#3867 def parent; end end @@ -2889,47 +2889,47 @@ end # # object::Const # -# source://syntax_tree/lib/syntax_tree/node.rb#3926 +# source://syntax_tree/lib/syntax_tree/node.rb#3929 class SyntaxTree::ConstPathRef < ::SyntaxTree::Node # @return [ConstPathRef] a new instance of ConstPathRef # - # source://syntax_tree/lib/syntax_tree/node.rb#3936 + # source://syntax_tree/lib/syntax_tree/node.rb#3939 def initialize(parent:, constant:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#3980 + # source://syntax_tree/lib/syntax_tree/node.rb#3983 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#3943 + # source://syntax_tree/lib/syntax_tree/node.rb#3946 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#3947 + # source://syntax_tree/lib/syntax_tree/node.rb#3950 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#3934 + # source://syntax_tree/lib/syntax_tree/node.rb#3937 def comments; end # [Const] the constant itself # - # source://syntax_tree/lib/syntax_tree/node.rb#3931 + # source://syntax_tree/lib/syntax_tree/node.rb#3934 def constant; end - # source://syntax_tree/lib/syntax_tree/node.rb#3951 + # source://syntax_tree/lib/syntax_tree/node.rb#3954 def copy(parent: T.unsafe(nil), constant: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#3947 + # source://syntax_tree/lib/syntax_tree/node.rb#3950 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#3965 + # source://syntax_tree/lib/syntax_tree/node.rb#3968 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#3974 + # source://syntax_tree/lib/syntax_tree/node.rb#3977 def format(q); end # [Node] the source of the constant # - # source://syntax_tree/lib/syntax_tree/node.rb#3928 + # source://syntax_tree/lib/syntax_tree/node.rb#3931 def parent; end end @@ -2939,42 +2939,42 @@ end # class Container # end # -# source://syntax_tree/lib/syntax_tree/node.rb#3992 +# source://syntax_tree/lib/syntax_tree/node.rb#3995 class SyntaxTree::ConstRef < ::SyntaxTree::Node # @return [ConstRef] a new instance of ConstRef # - # source://syntax_tree/lib/syntax_tree/node.rb#3999 + # source://syntax_tree/lib/syntax_tree/node.rb#4002 def initialize(constant:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#4034 + # source://syntax_tree/lib/syntax_tree/node.rb#4037 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#4005 + # source://syntax_tree/lib/syntax_tree/node.rb#4008 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#4009 + # source://syntax_tree/lib/syntax_tree/node.rb#4012 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#3997 + # source://syntax_tree/lib/syntax_tree/node.rb#4000 def comments; end # [Const] the constant itself # - # source://syntax_tree/lib/syntax_tree/node.rb#3994 + # source://syntax_tree/lib/syntax_tree/node.rb#3997 def constant; end - # source://syntax_tree/lib/syntax_tree/node.rb#4013 + # source://syntax_tree/lib/syntax_tree/node.rb#4016 def copy(constant: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#4009 + # source://syntax_tree/lib/syntax_tree/node.rb#4012 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#4026 + # source://syntax_tree/lib/syntax_tree/node.rb#4029 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#4030 + # source://syntax_tree/lib/syntax_tree/node.rb#4033 def format(q); end end @@ -2983,10 +2983,10 @@ end # statements inside the conditional) then we can't use the modifier form # and we must use the block form. # -# source://syntax_tree/lib/syntax_tree/node.rb#6229 +# source://syntax_tree/lib/syntax_tree/node.rb#6232 module SyntaxTree::ContainsAssignment class << self - # source://syntax_tree/lib/syntax_tree/node.rb#6230 + # source://syntax_tree/lib/syntax_tree/node.rb#6233 def call(parent); end end end @@ -2994,20 +2994,20 @@ end # The default indentation level for formatting. We allow changing this so # that Syntax Tree can format arbitrary parts of a document. # -# source://syntax_tree/lib/syntax_tree.rb#56 +# source://syntax_tree/lib/syntax_tree.rb#57 SyntaxTree::DEFAULT_INDENTATION = T.let(T.unsafe(nil), Integer) # This is the default print width when formatting. It can be overridden in the # CLI by passing the --print-width option or here in the API by passing the # optional second argument to ::format. # -# source://syntax_tree/lib/syntax_tree.rb#48 +# source://syntax_tree/lib/syntax_tree.rb#49 SyntaxTree::DEFAULT_PRINT_WIDTH = T.let(T.unsafe(nil), Integer) # This is the default ruby version that we're going to target for formatting. # It shouldn't really be changed except in very niche circumstances. # -# source://syntax_tree/lib/syntax_tree.rb#52 +# source://syntax_tree/lib/syntax_tree.rb#53 SyntaxTree::DEFAULT_RUBY_VERSION = T.let(T.unsafe(nil), SyntaxTree::Formatter::SemanticVersion) # This module provides shortcuts for creating AST nodes. @@ -3765,47 +3765,273 @@ module SyntaxTree::DSL def ZSuper; end end +# Provides the ability to index source files into a database, then query for +# the nodes. +# +# source://syntax_tree/lib/syntax_tree/database.rb#6 +module SyntaxTree::Database; end + +# Query for the attributes of a node, optionally also filtering by type. +# +# source://syntax_tree/lib/syntax_tree/database.rb#99 +class SyntaxTree::Database::AttrQuery + # @return [AttrQuery] a new instance of AttrQuery + # + # source://syntax_tree/lib/syntax_tree/database.rb#102 + def initialize(type, attrs); end + + # Returns the value of attribute attrs. + # + # source://syntax_tree/lib/syntax_tree/database.rb#100 + def attrs; end + + # source://syntax_tree/lib/syntax_tree/database.rb#107 + def each(database, &block); end + + # Returns the value of attribute type. + # + # source://syntax_tree/lib/syntax_tree/database.rb#100 + def type; end +end + +# source://syntax_tree/lib/syntax_tree/database.rb#276 +class SyntaxTree::Database::Connection + # @return [Connection] a new instance of Connection + # + # source://syntax_tree/lib/syntax_tree/database.rb#279 + def initialize(raw_connection); end + + # source://syntax_tree/lib/syntax_tree/database.rb#283 + def execute(query, binds = T.unsafe(nil)); end + + # source://syntax_tree/lib/syntax_tree/database.rb#287 + def index_file(filepath); end + + # source://syntax_tree/lib/syntax_tree/database.rb#292 + def last_insert_row_id; end + + # source://syntax_tree/lib/syntax_tree/database.rb#296 + def prepare; end + + # Returns the value of attribute raw_connection. + # + # source://syntax_tree/lib/syntax_tree/database.rb#277 + def raw_connection; end + + # source://syntax_tree/lib/syntax_tree/database.rb#326 + def search(query); end +end + +# source://syntax_tree/lib/syntax_tree/database.rb#7 +class SyntaxTree::Database::IndexingVisitor < ::SyntaxTree::FieldVisitor + # @return [IndexingVisitor] a new instance of IndexingVisitor + # + # source://syntax_tree/lib/syntax_tree/database.rb#10 + def initialize(database, filepath); end + + # Returns the value of attribute database. + # + # source://syntax_tree/lib/syntax_tree/database.rb#8 + def database; end + + # Returns the value of attribute filepath. + # + # source://syntax_tree/lib/syntax_tree/database.rb#8 + def filepath; end + + # Returns the value of attribute node_id. + # + # source://syntax_tree/lib/syntax_tree/database.rb#8 + def node_id; end + + private + + # source://syntax_tree/lib/syntax_tree/database.rb#18 + def comments(node); end + + # source://syntax_tree/lib/syntax_tree/database.rb#21 + def field(name, value); end + + # source://syntax_tree/lib/syntax_tree/database.rb#31 + def list(name, values); end + + # source://syntax_tree/lib/syntax_tree/database.rb#41 + def node(node, _name); end + + # source://syntax_tree/lib/syntax_tree/database.rb#67 + def pairs(name, values); end + + # source://syntax_tree/lib/syntax_tree/database.rb#64 + def text(name, value); end +end + +# Query for the results of either query. +# +# source://syntax_tree/lib/syntax_tree/database.rb#136 +class SyntaxTree::Database::OrQuery + # @return [OrQuery] a new instance of OrQuery + # + # source://syntax_tree/lib/syntax_tree/database.rb#139 + def initialize(left, right); end + + # source://syntax_tree/lib/syntax_tree/database.rb#144 + def each(database, &block); end + + # Returns the value of attribute left. + # + # source://syntax_tree/lib/syntax_tree/database.rb#137 + def left; end + + # Returns the value of attribute right. + # + # source://syntax_tree/lib/syntax_tree/database.rb#137 + def right; end +end + +# A pattern matching expression that will be compiled into a query. +# +# source://syntax_tree/lib/syntax_tree/database.rb#166 +class SyntaxTree::Database::Pattern + # @return [Pattern] a new instance of Pattern + # + # source://syntax_tree/lib/syntax_tree/database.rb#172 + def initialize(query); end + + # source://syntax_tree/lib/syntax_tree/database.rb#176 + def compile; end + + # Returns the value of attribute query. + # + # source://syntax_tree/lib/syntax_tree/database.rb#170 + def query; end + + private + + # Shortcut for combining two queries into one that returns the results of + # if either query matches. + # + # source://syntax_tree/lib/syntax_tree/database.rb#195 + def combine_or(left, right); end + + # in foo | bar + # + # source://syntax_tree/lib/syntax_tree/database.rb#200 + def compile_binary(node); end + + # in Ident + # + # source://syntax_tree/lib/syntax_tree/database.rb#207 + def compile_const(node); end + + # in SyntaxTree::Ident + # + # source://syntax_tree/lib/syntax_tree/database.rb#219 + def compile_const_path_ref(node); end + + # @raise [CompilationError] + # + # source://syntax_tree/lib/syntax_tree/database.rb#189 + def compile_error(node); end + + # in Ident[value: String] + # + # source://syntax_tree/lib/syntax_tree/database.rb#234 + def compile_hshptn(node); end + + # source://syntax_tree/lib/syntax_tree/database.rb#258 + def compile_node(node); end + + # in Foo + # + # source://syntax_tree/lib/syntax_tree/database.rb#248 + def compile_var_ref(node); end +end + +# source://syntax_tree/lib/syntax_tree/database.rb#167 +class SyntaxTree::Database::Pattern::CompilationError < ::StandardError; end + +# A lazy query result. +# +# source://syntax_tree/lib/syntax_tree/database.rb#151 +class SyntaxTree::Database::QueryResult + # @return [QueryResult] a new instance of QueryResult + # + # source://syntax_tree/lib/syntax_tree/database.rb#154 + def initialize(database, query); end + + # Returns the value of attribute database. + # + # source://syntax_tree/lib/syntax_tree/database.rb#152 + def database; end + + # source://syntax_tree/lib/syntax_tree/database.rb#159 + def each(&block); end + + # Returns the value of attribute query. + # + # source://syntax_tree/lib/syntax_tree/database.rb#152 + def query; end +end + +# Query for a specific type of node. +# +# source://syntax_tree/lib/syntax_tree/database.rb#85 +class SyntaxTree::Database::TypeQuery + # @return [TypeQuery] a new instance of TypeQuery + # + # source://syntax_tree/lib/syntax_tree/database.rb#88 + def initialize(type); end + + # source://syntax_tree/lib/syntax_tree/database.rb#92 + def each(database, &block); end + + # Returns the value of attribute type. + # + # source://syntax_tree/lib/syntax_tree/database.rb#86 + def type; end +end + # Def represents defining a regular method on the current self object. # # def method(param) result end # def object.method(param) result end # -# source://syntax_tree/lib/syntax_tree/node.rb#4095 +# source://syntax_tree/lib/syntax_tree/node.rb#4098 class SyntaxTree::DefNode < ::SyntaxTree::Node # @return [DefNode] a new instance of DefNode # - # source://syntax_tree/lib/syntax_tree/node.rb#4114 + # source://syntax_tree/lib/syntax_tree/node.rb#4117 def initialize(target:, operator:, name:, params:, bodystmt:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#4214 + # source://syntax_tree/lib/syntax_tree/node.rb#4217 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#4124 + # source://syntax_tree/lib/syntax_tree/node.rb#4127 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#4227 + # source://syntax_tree/lib/syntax_tree/node.rb#4230 def arity; end # [BodyStmt | Node] the expressions to be executed by the method # - # source://syntax_tree/lib/syntax_tree/node.rb#4109 + # source://syntax_tree/lib/syntax_tree/node.rb#4112 def bodystmt; end - # source://syntax_tree/lib/syntax_tree/node.rb#4128 + # source://syntax_tree/lib/syntax_tree/node.rb#4131 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#4112 + # source://syntax_tree/lib/syntax_tree/node.rb#4115 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#4132 + # source://syntax_tree/lib/syntax_tree/node.rb#4135 def copy(target: T.unsafe(nil), operator: T.unsafe(nil), name: T.unsafe(nil), params: T.unsafe(nil), bodystmt: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#4128 + # source://syntax_tree/lib/syntax_tree/node.rb#4131 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#4156 + # source://syntax_tree/lib/syntax_tree/node.rb#4159 def deconstruct_keys(_keys); end # Returns true if the method was found in the source in the "endless" form, @@ -3814,30 +4040,30 @@ class SyntaxTree::DefNode < ::SyntaxTree::Node # # @return [Boolean] # - # source://syntax_tree/lib/syntax_tree/node.rb#4223 + # source://syntax_tree/lib/syntax_tree/node.rb#4226 def endless?; end - # source://syntax_tree/lib/syntax_tree/node.rb#4168 + # source://syntax_tree/lib/syntax_tree/node.rb#4171 def format(q); end # [Backtick | Const | Ident | Kw | Op] the name of the method # - # source://syntax_tree/lib/syntax_tree/node.rb#4103 + # source://syntax_tree/lib/syntax_tree/node.rb#4106 def name; end # [nil | Op | Period] the operator being used to declare the method # - # source://syntax_tree/lib/syntax_tree/node.rb#4100 + # source://syntax_tree/lib/syntax_tree/node.rb#4103 def operator; end # [nil | Params | Paren] the parameter declaration for the method # - # source://syntax_tree/lib/syntax_tree/node.rb#4106 + # source://syntax_tree/lib/syntax_tree/node.rb#4109 def params; end # [nil | Node] the target where the method is being defined # - # source://syntax_tree/lib/syntax_tree/node.rb#4097 + # source://syntax_tree/lib/syntax_tree/node.rb#4100 def target; end end @@ -3846,42 +4072,42 @@ end # # defined?(variable) # -# source://syntax_tree/lib/syntax_tree/node.rb#4246 +# source://syntax_tree/lib/syntax_tree/node.rb#4249 class SyntaxTree::Defined < ::SyntaxTree::Node # @return [Defined] a new instance of Defined # - # source://syntax_tree/lib/syntax_tree/node.rb#4253 + # source://syntax_tree/lib/syntax_tree/node.rb#4256 def initialize(value:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#4296 + # source://syntax_tree/lib/syntax_tree/node.rb#4299 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#4259 + # source://syntax_tree/lib/syntax_tree/node.rb#4262 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#4263 + # source://syntax_tree/lib/syntax_tree/node.rb#4266 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#4251 + # source://syntax_tree/lib/syntax_tree/node.rb#4254 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#4267 + # source://syntax_tree/lib/syntax_tree/node.rb#4270 def copy(value: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#4263 + # source://syntax_tree/lib/syntax_tree/node.rb#4266 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#4280 + # source://syntax_tree/lib/syntax_tree/node.rb#4283 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#4284 + # source://syntax_tree/lib/syntax_tree/node.rb#4287 def format(q); end # [Node] the value being sent to the keyword # - # source://syntax_tree/lib/syntax_tree/node.rb#4248 + # source://syntax_tree/lib/syntax_tree/node.rb#4251 def value; end end @@ -3894,48 +4120,48 @@ end # # { "#{key}": value } # -# source://syntax_tree/lib/syntax_tree/node.rb#4660 +# source://syntax_tree/lib/syntax_tree/node.rb#4663 class SyntaxTree::DynaSymbol < ::SyntaxTree::Node # @return [DynaSymbol] a new instance of DynaSymbol # - # source://syntax_tree/lib/syntax_tree/node.rb#4671 + # source://syntax_tree/lib/syntax_tree/node.rb#4674 def initialize(parts:, quote:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#4733 + # source://syntax_tree/lib/syntax_tree/node.rb#4736 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#4678 + # source://syntax_tree/lib/syntax_tree/node.rb#4681 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#4682 + # source://syntax_tree/lib/syntax_tree/node.rb#4685 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#4669 + # source://syntax_tree/lib/syntax_tree/node.rb#4672 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#4686 + # source://syntax_tree/lib/syntax_tree/node.rb#4689 def copy(parts: T.unsafe(nil), quote: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#4682 + # source://syntax_tree/lib/syntax_tree/node.rb#4685 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#4700 + # source://syntax_tree/lib/syntax_tree/node.rb#4703 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#4704 + # source://syntax_tree/lib/syntax_tree/node.rb#4707 def format(q); end # [Array[ StringDVar | StringEmbExpr | TStringContent ]] the parts of the # dynamic symbol # - # source://syntax_tree/lib/syntax_tree/node.rb#4663 + # source://syntax_tree/lib/syntax_tree/node.rb#4666 def parts; end # [nil | String] the quote used to delimit the dynamic symbol # - # source://syntax_tree/lib/syntax_tree/node.rb#4666 + # source://syntax_tree/lib/syntax_tree/node.rb#4669 def quote; end private @@ -3944,7 +4170,7 @@ class SyntaxTree::DynaSymbol < ::SyntaxTree::Node # lot of rules because it could be in many different contexts with many # different kinds of escaping. # - # source://syntax_tree/lib/syntax_tree/node.rb#4743 + # source://syntax_tree/lib/syntax_tree/node.rb#4746 def quotes(q); end end @@ -4008,47 +4234,47 @@ end # else # end # -# source://syntax_tree/lib/syntax_tree/node.rb#4789 +# source://syntax_tree/lib/syntax_tree/node.rb#4792 class SyntaxTree::Else < ::SyntaxTree::Node # @return [Else] a new instance of Else # - # source://syntax_tree/lib/syntax_tree/node.rb#4799 + # source://syntax_tree/lib/syntax_tree/node.rb#4802 def initialize(keyword:, statements:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#4850 + # source://syntax_tree/lib/syntax_tree/node.rb#4853 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#4806 + # source://syntax_tree/lib/syntax_tree/node.rb#4809 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#4810 + # source://syntax_tree/lib/syntax_tree/node.rb#4813 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#4797 + # source://syntax_tree/lib/syntax_tree/node.rb#4800 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#4814 + # source://syntax_tree/lib/syntax_tree/node.rb#4817 def copy(keyword: T.unsafe(nil), statements: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#4810 + # source://syntax_tree/lib/syntax_tree/node.rb#4813 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#4828 + # source://syntax_tree/lib/syntax_tree/node.rb#4831 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#4837 + # source://syntax_tree/lib/syntax_tree/node.rb#4840 def format(q); end # [Kw] the else keyword # - # source://syntax_tree/lib/syntax_tree/node.rb#4791 + # source://syntax_tree/lib/syntax_tree/node.rb#4794 def keyword; end # [Statements] the expressions to be executed # - # source://syntax_tree/lib/syntax_tree/node.rb#4794 + # source://syntax_tree/lib/syntax_tree/node.rb#4797 def statements; end end @@ -4058,52 +4284,52 @@ end # elsif other_variable # end # -# source://syntax_tree/lib/syntax_tree/node.rb#4862 +# source://syntax_tree/lib/syntax_tree/node.rb#4865 class SyntaxTree::Elsif < ::SyntaxTree::Node # @return [Elsif] a new instance of Elsif # - # source://syntax_tree/lib/syntax_tree/node.rb#4875 + # source://syntax_tree/lib/syntax_tree/node.rb#4878 def initialize(predicate:, statements:, consequent:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#4939 + # source://syntax_tree/lib/syntax_tree/node.rb#4942 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#4883 + # source://syntax_tree/lib/syntax_tree/node.rb#4886 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#4887 + # source://syntax_tree/lib/syntax_tree/node.rb#4890 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#4873 + # source://syntax_tree/lib/syntax_tree/node.rb#4876 def comments; end # [nil | Elsif | Else] the next clause in the chain # - # source://syntax_tree/lib/syntax_tree/node.rb#4870 + # source://syntax_tree/lib/syntax_tree/node.rb#4873 def consequent; end - # source://syntax_tree/lib/syntax_tree/node.rb#4891 + # source://syntax_tree/lib/syntax_tree/node.rb#4894 def copy(predicate: T.unsafe(nil), statements: T.unsafe(nil), consequent: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#4887 + # source://syntax_tree/lib/syntax_tree/node.rb#4890 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#4906 + # source://syntax_tree/lib/syntax_tree/node.rb#4909 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#4916 + # source://syntax_tree/lib/syntax_tree/node.rb#4919 def format(q); end # [Node] the expression to be checked # - # source://syntax_tree/lib/syntax_tree/node.rb#4864 + # source://syntax_tree/lib/syntax_tree/node.rb#4867 def predicate; end # [Statements] the expressions to be executed # - # source://syntax_tree/lib/syntax_tree/node.rb#4867 + # source://syntax_tree/lib/syntax_tree/node.rb#4870 def statements; end end @@ -4114,66 +4340,66 @@ end # second line # =end # -# source://syntax_tree/lib/syntax_tree/node.rb#4952 +# source://syntax_tree/lib/syntax_tree/node.rb#4955 class SyntaxTree::EmbDoc < ::SyntaxTree::Node # @return [EmbDoc] a new instance of EmbDoc # - # source://syntax_tree/lib/syntax_tree/node.rb#4956 + # source://syntax_tree/lib/syntax_tree/node.rb#4959 def initialize(value:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#5024 + # source://syntax_tree/lib/syntax_tree/node.rb#5027 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#4992 + # source://syntax_tree/lib/syntax_tree/node.rb#4995 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#4996 + # source://syntax_tree/lib/syntax_tree/node.rb#4999 def child_nodes; end - # source://syntax_tree/lib/syntax_tree/node.rb#4988 + # source://syntax_tree/lib/syntax_tree/node.rb#4991 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#5000 + # source://syntax_tree/lib/syntax_tree/node.rb#5003 def copy(value: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#4996 + # source://syntax_tree/lib/syntax_tree/node.rb#4999 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#5009 + # source://syntax_tree/lib/syntax_tree/node.rb#5012 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#5013 + # source://syntax_tree/lib/syntax_tree/node.rb#5016 def format(q); end # @return [Boolean] # - # source://syntax_tree/lib/syntax_tree/node.rb#4984 + # source://syntax_tree/lib/syntax_tree/node.rb#4987 def ignore?; end # @return [Boolean] # - # source://syntax_tree/lib/syntax_tree/node.rb#4980 + # source://syntax_tree/lib/syntax_tree/node.rb#4983 def inline?; end - # source://syntax_tree/lib/syntax_tree/node.rb#4964 + # source://syntax_tree/lib/syntax_tree/node.rb#4967 def leading!; end # @return [Boolean] # - # source://syntax_tree/lib/syntax_tree/node.rb#4968 + # source://syntax_tree/lib/syntax_tree/node.rb#4971 def leading?; end - # source://syntax_tree/lib/syntax_tree/node.rb#4972 + # source://syntax_tree/lib/syntax_tree/node.rb#4975 def trailing!; end # @return [Boolean] # - # source://syntax_tree/lib/syntax_tree/node.rb#4976 + # source://syntax_tree/lib/syntax_tree/node.rb#4979 def trailing?; end # [String] the contents of the comment # - # source://syntax_tree/lib/syntax_tree/node.rb#4954 + # source://syntax_tree/lib/syntax_tree/node.rb#4957 def value; end end @@ -4183,34 +4409,34 @@ end # # "Hello, #{person}!" # -# source://syntax_tree/lib/syntax_tree/node.rb#5035 +# source://syntax_tree/lib/syntax_tree/node.rb#5038 class SyntaxTree::EmbExprBeg < ::SyntaxTree::Node # @return [EmbExprBeg] a new instance of EmbExprBeg # - # source://syntax_tree/lib/syntax_tree/node.rb#5039 + # source://syntax_tree/lib/syntax_tree/node.rb#5042 def initialize(value:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#5065 + # source://syntax_tree/lib/syntax_tree/node.rb#5068 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#5044 + # source://syntax_tree/lib/syntax_tree/node.rb#5047 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#5048 + # source://syntax_tree/lib/syntax_tree/node.rb#5051 def child_nodes; end - # source://syntax_tree/lib/syntax_tree/node.rb#5052 + # source://syntax_tree/lib/syntax_tree/node.rb#5055 def copy(value: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#5048 + # source://syntax_tree/lib/syntax_tree/node.rb#5051 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#5061 + # source://syntax_tree/lib/syntax_tree/node.rb#5064 def deconstruct_keys(_keys); end # [String] the #{ used in the string # - # source://syntax_tree/lib/syntax_tree/node.rb#5037 + # source://syntax_tree/lib/syntax_tree/node.rb#5040 def value; end end @@ -4220,34 +4446,34 @@ end # # "Hello, #{person}!" # -# source://syntax_tree/lib/syntax_tree/node.rb#5076 +# source://syntax_tree/lib/syntax_tree/node.rb#5079 class SyntaxTree::EmbExprEnd < ::SyntaxTree::Node # @return [EmbExprEnd] a new instance of EmbExprEnd # - # source://syntax_tree/lib/syntax_tree/node.rb#5080 + # source://syntax_tree/lib/syntax_tree/node.rb#5083 def initialize(value:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#5106 + # source://syntax_tree/lib/syntax_tree/node.rb#5109 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#5085 + # source://syntax_tree/lib/syntax_tree/node.rb#5088 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#5089 + # source://syntax_tree/lib/syntax_tree/node.rb#5092 def child_nodes; end - # source://syntax_tree/lib/syntax_tree/node.rb#5093 + # source://syntax_tree/lib/syntax_tree/node.rb#5096 def copy(value: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#5089 + # source://syntax_tree/lib/syntax_tree/node.rb#5092 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#5102 + # source://syntax_tree/lib/syntax_tree/node.rb#5105 def deconstruct_keys(_keys); end # [String] the } used in the string # - # source://syntax_tree/lib/syntax_tree/node.rb#5078 + # source://syntax_tree/lib/syntax_tree/node.rb#5081 def value; end end @@ -4259,34 +4485,34 @@ end # # In the example above, an EmbVar node represents the # because it forces # -# source://syntax_tree/lib/syntax_tree/node.rb#5119 +# source://syntax_tree/lib/syntax_tree/node.rb#5122 class SyntaxTree::EmbVar < ::SyntaxTree::Node # @return [EmbVar] a new instance of EmbVar # - # source://syntax_tree/lib/syntax_tree/node.rb#5123 + # source://syntax_tree/lib/syntax_tree/node.rb#5126 def initialize(value:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#5149 + # source://syntax_tree/lib/syntax_tree/node.rb#5152 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#5128 + # source://syntax_tree/lib/syntax_tree/node.rb#5131 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#5132 + # source://syntax_tree/lib/syntax_tree/node.rb#5135 def child_nodes; end - # source://syntax_tree/lib/syntax_tree/node.rb#5136 + # source://syntax_tree/lib/syntax_tree/node.rb#5139 def copy(value: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#5132 + # source://syntax_tree/lib/syntax_tree/node.rb#5135 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#5145 + # source://syntax_tree/lib/syntax_tree/node.rb#5148 def deconstruct_keys(_keys); end # [String] the # used in the string # - # source://syntax_tree/lib/syntax_tree/node.rb#5121 + # source://syntax_tree/lib/syntax_tree/node.rb#5124 def value; end end @@ -4345,47 +4571,47 @@ end # ensure # end # -# source://syntax_tree/lib/syntax_tree/node.rb#5161 +# source://syntax_tree/lib/syntax_tree/node.rb#5164 class SyntaxTree::Ensure < ::SyntaxTree::Node # @return [Ensure] a new instance of Ensure # - # source://syntax_tree/lib/syntax_tree/node.rb#5171 + # source://syntax_tree/lib/syntax_tree/node.rb#5174 def initialize(keyword:, statements:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#5220 + # source://syntax_tree/lib/syntax_tree/node.rb#5223 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#5178 + # source://syntax_tree/lib/syntax_tree/node.rb#5181 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#5182 + # source://syntax_tree/lib/syntax_tree/node.rb#5185 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#5169 + # source://syntax_tree/lib/syntax_tree/node.rb#5172 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#5186 + # source://syntax_tree/lib/syntax_tree/node.rb#5189 def copy(keyword: T.unsafe(nil), statements: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#5182 + # source://syntax_tree/lib/syntax_tree/node.rb#5185 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#5200 + # source://syntax_tree/lib/syntax_tree/node.rb#5203 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#5209 + # source://syntax_tree/lib/syntax_tree/node.rb#5212 def format(q); end # [Kw] the ensure keyword that began this node # - # source://syntax_tree/lib/syntax_tree/node.rb#5163 + # source://syntax_tree/lib/syntax_tree/node.rb#5166 def keyword; end # [Statements] the expressions to be executed # - # source://syntax_tree/lib/syntax_tree/node.rb#5166 + # source://syntax_tree/lib/syntax_tree/node.rb#5169 def statements; end end @@ -4400,42 +4626,42 @@ end # position typically represents a rest-type parameter, but in this case is # used to indicate that a trailing comma was used. # -# source://syntax_tree/lib/syntax_tree/node.rb#5236 +# source://syntax_tree/lib/syntax_tree/node.rb#5239 class SyntaxTree::ExcessedComma < ::SyntaxTree::Node # @return [ExcessedComma] a new instance of ExcessedComma # - # source://syntax_tree/lib/syntax_tree/node.rb#5243 + # source://syntax_tree/lib/syntax_tree/node.rb#5246 def initialize(value:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#5278 + # source://syntax_tree/lib/syntax_tree/node.rb#5281 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#5249 + # source://syntax_tree/lib/syntax_tree/node.rb#5252 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#5253 + # source://syntax_tree/lib/syntax_tree/node.rb#5256 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#5241 + # source://syntax_tree/lib/syntax_tree/node.rb#5244 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#5257 + # source://syntax_tree/lib/syntax_tree/node.rb#5260 def copy(value: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#5253 + # source://syntax_tree/lib/syntax_tree/node.rb#5256 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#5270 + # source://syntax_tree/lib/syntax_tree/node.rb#5273 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#5274 + # source://syntax_tree/lib/syntax_tree/node.rb#5277 def format(q); end # [String] the comma # - # source://syntax_tree/lib/syntax_tree/node.rb#5238 + # source://syntax_tree/lib/syntax_tree/node.rb#5241 def value; end end @@ -4444,52 +4670,52 @@ end # # object.variable = value # -# source://syntax_tree/lib/syntax_tree/node.rb#5288 +# source://syntax_tree/lib/syntax_tree/node.rb#5291 class SyntaxTree::Field < ::SyntaxTree::Node # @return [Field] a new instance of Field # - # source://syntax_tree/lib/syntax_tree/node.rb#5301 + # source://syntax_tree/lib/syntax_tree/node.rb#5304 def initialize(parent:, operator:, name:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#5351 + # source://syntax_tree/lib/syntax_tree/node.rb#5354 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#5309 + # source://syntax_tree/lib/syntax_tree/node.rb#5312 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#5313 + # source://syntax_tree/lib/syntax_tree/node.rb#5316 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#5299 + # source://syntax_tree/lib/syntax_tree/node.rb#5302 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#5318 + # source://syntax_tree/lib/syntax_tree/node.rb#5321 def copy(parent: T.unsafe(nil), operator: T.unsafe(nil), name: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#5313 + # source://syntax_tree/lib/syntax_tree/node.rb#5316 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#5333 + # source://syntax_tree/lib/syntax_tree/node.rb#5336 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#5343 + # source://syntax_tree/lib/syntax_tree/node.rb#5346 def format(q); end # [Const | Ident] the name of the field being assigned # - # source://syntax_tree/lib/syntax_tree/node.rb#5296 + # source://syntax_tree/lib/syntax_tree/node.rb#5299 def name; end # [:"::" | Op | Period] the operator being used for the assignment # - # source://syntax_tree/lib/syntax_tree/node.rb#5293 + # source://syntax_tree/lib/syntax_tree/node.rb#5296 def operator; end # [Node] the parent object that owns the field being assigned # - # source://syntax_tree/lib/syntax_tree/node.rb#5290 + # source://syntax_tree/lib/syntax_tree/node.rb#5293 def parent; end end @@ -5001,42 +5227,42 @@ end # # 1.0 # -# source://syntax_tree/lib/syntax_tree/node.rb#5361 +# source://syntax_tree/lib/syntax_tree/node.rb#5364 class SyntaxTree::FloatLiteral < ::SyntaxTree::Node # @return [FloatLiteral] a new instance of FloatLiteral # - # source://syntax_tree/lib/syntax_tree/node.rb#5368 + # source://syntax_tree/lib/syntax_tree/node.rb#5371 def initialize(value:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#5403 + # source://syntax_tree/lib/syntax_tree/node.rb#5406 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#5374 + # source://syntax_tree/lib/syntax_tree/node.rb#5377 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#5378 + # source://syntax_tree/lib/syntax_tree/node.rb#5381 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#5366 + # source://syntax_tree/lib/syntax_tree/node.rb#5369 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#5382 + # source://syntax_tree/lib/syntax_tree/node.rb#5385 def copy(value: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#5378 + # source://syntax_tree/lib/syntax_tree/node.rb#5381 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#5395 + # source://syntax_tree/lib/syntax_tree/node.rb#5398 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#5399 + # source://syntax_tree/lib/syntax_tree/node.rb#5402 def format(q); end # [String] the value of the floating point number literal # - # source://syntax_tree/lib/syntax_tree/node.rb#5363 + # source://syntax_tree/lib/syntax_tree/node.rb#5366 def value; end end @@ -5083,58 +5309,58 @@ end # in [*, 7, *] # end # -# source://syntax_tree/lib/syntax_tree/node.rb#5415 +# source://syntax_tree/lib/syntax_tree/node.rb#5418 class SyntaxTree::FndPtn < ::SyntaxTree::Node # @return [FndPtn] a new instance of FndPtn # - # source://syntax_tree/lib/syntax_tree/node.rb#5432 + # source://syntax_tree/lib/syntax_tree/node.rb#5435 def initialize(constant:, left:, values:, right:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#5501 + # source://syntax_tree/lib/syntax_tree/node.rb#5504 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#5441 + # source://syntax_tree/lib/syntax_tree/node.rb#5444 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#5445 + # source://syntax_tree/lib/syntax_tree/node.rb#5448 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#5430 + # source://syntax_tree/lib/syntax_tree/node.rb#5433 def comments; end - # [nil | Node] the optional constant wrapper + # [nil | VarRef | ConstPathRef] the optional constant wrapper # - # source://syntax_tree/lib/syntax_tree/node.rb#5417 + # source://syntax_tree/lib/syntax_tree/node.rb#5420 def constant; end - # source://syntax_tree/lib/syntax_tree/node.rb#5449 + # source://syntax_tree/lib/syntax_tree/node.rb#5452 def copy(constant: T.unsafe(nil), left: T.unsafe(nil), values: T.unsafe(nil), right: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#5445 + # source://syntax_tree/lib/syntax_tree/node.rb#5448 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#5465 + # source://syntax_tree/lib/syntax_tree/node.rb#5468 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#5476 + # source://syntax_tree/lib/syntax_tree/node.rb#5479 def format(q); end # [VarField] the splat on the left-hand side # - # source://syntax_tree/lib/syntax_tree/node.rb#5420 + # source://syntax_tree/lib/syntax_tree/node.rb#5423 def left; end # [VarField] the splat on the right-hand side # - # source://syntax_tree/lib/syntax_tree/node.rb#5427 + # source://syntax_tree/lib/syntax_tree/node.rb#5430 def right; end # [Array[ Node ]] the list of positional expressions in the pattern that # are being matched # - # source://syntax_tree/lib/syntax_tree/node.rb#5424 + # source://syntax_tree/lib/syntax_tree/node.rb#5427 def values; end end @@ -5143,53 +5369,53 @@ end # for value in list do # end # -# source://syntax_tree/lib/syntax_tree/node.rb#5513 +# source://syntax_tree/lib/syntax_tree/node.rb#5516 class SyntaxTree::For < ::SyntaxTree::Node # @return [For] a new instance of For # - # source://syntax_tree/lib/syntax_tree/node.rb#5527 + # source://syntax_tree/lib/syntax_tree/node.rb#5530 def initialize(index:, collection:, statements:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#5587 + # source://syntax_tree/lib/syntax_tree/node.rb#5590 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#5535 + # source://syntax_tree/lib/syntax_tree/node.rb#5538 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#5539 + # source://syntax_tree/lib/syntax_tree/node.rb#5542 def child_nodes; end # [Node] the object being enumerated in the loop # - # source://syntax_tree/lib/syntax_tree/node.rb#5519 + # source://syntax_tree/lib/syntax_tree/node.rb#5522 def collection; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#5525 + # source://syntax_tree/lib/syntax_tree/node.rb#5528 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#5543 + # source://syntax_tree/lib/syntax_tree/node.rb#5546 def copy(index: T.unsafe(nil), collection: T.unsafe(nil), statements: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#5539 + # source://syntax_tree/lib/syntax_tree/node.rb#5542 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#5558 + # source://syntax_tree/lib/syntax_tree/node.rb#5561 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#5568 + # source://syntax_tree/lib/syntax_tree/node.rb#5571 def format(q); end # [MLHS | VarField] the variable declaration being used to # pull values out of the object being enumerated # - # source://syntax_tree/lib/syntax_tree/node.rb#5516 + # source://syntax_tree/lib/syntax_tree/node.rb#5519 def index; end # [Statements] the statements to be executed # - # source://syntax_tree/lib/syntax_tree/node.rb#5522 + # source://syntax_tree/lib/syntax_tree/node.rb#5525 def statements; end end @@ -5346,49 +5572,49 @@ end # # $variable # -# source://syntax_tree/lib/syntax_tree/node.rb#5597 +# source://syntax_tree/lib/syntax_tree/node.rb#5600 class SyntaxTree::GVar < ::SyntaxTree::Node # @return [GVar] a new instance of GVar # - # source://syntax_tree/lib/syntax_tree/node.rb#5604 + # source://syntax_tree/lib/syntax_tree/node.rb#5607 def initialize(value:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#5639 + # source://syntax_tree/lib/syntax_tree/node.rb#5642 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#5610 + # source://syntax_tree/lib/syntax_tree/node.rb#5613 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#5614 + # source://syntax_tree/lib/syntax_tree/node.rb#5617 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#5602 + # source://syntax_tree/lib/syntax_tree/node.rb#5605 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#5618 + # source://syntax_tree/lib/syntax_tree/node.rb#5621 def copy(value: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#5614 + # source://syntax_tree/lib/syntax_tree/node.rb#5617 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#5631 + # source://syntax_tree/lib/syntax_tree/node.rb#5634 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#5635 + # source://syntax_tree/lib/syntax_tree/node.rb#5638 def format(q); end # [String] the name of the global variable # - # source://syntax_tree/lib/syntax_tree/node.rb#5599 + # source://syntax_tree/lib/syntax_tree/node.rb#5602 def value; end end # This holds references to objects that respond to both #parse and #format # so that we can use them in the CLI. # -# source://syntax_tree/lib/syntax_tree.rb#42 +# source://syntax_tree/lib/syntax_tree.rb#43 SyntaxTree::HANDLERS = T.let(T.unsafe(nil), Hash) # This module is responsible for formatting the assocs contained within a @@ -5436,50 +5662,50 @@ end # # { key => value } # -# source://syntax_tree/lib/syntax_tree/node.rb#5648 +# source://syntax_tree/lib/syntax_tree/node.rb#5651 class SyntaxTree::HashLiteral < ::SyntaxTree::Node # @return [HashLiteral] a new instance of HashLiteral # - # source://syntax_tree/lib/syntax_tree/node.rb#5684 + # source://syntax_tree/lib/syntax_tree/node.rb#5687 def initialize(lbrace:, assocs:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#5725 + # source://syntax_tree/lib/syntax_tree/node.rb#5728 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#5691 + # source://syntax_tree/lib/syntax_tree/node.rb#5694 def accept(visitor); end # [Array[ Assoc | AssocSplat ]] the optional contents of the hash # - # source://syntax_tree/lib/syntax_tree/node.rb#5679 + # source://syntax_tree/lib/syntax_tree/node.rb#5682 def assocs; end - # source://syntax_tree/lib/syntax_tree/node.rb#5695 + # source://syntax_tree/lib/syntax_tree/node.rb#5698 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#5682 + # source://syntax_tree/lib/syntax_tree/node.rb#5685 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#5699 + # source://syntax_tree/lib/syntax_tree/node.rb#5702 def copy(lbrace: T.unsafe(nil), assocs: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#5695 + # source://syntax_tree/lib/syntax_tree/node.rb#5698 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#5713 + # source://syntax_tree/lib/syntax_tree/node.rb#5716 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#5717 + # source://syntax_tree/lib/syntax_tree/node.rb#5720 def format(q); end - # source://syntax_tree/lib/syntax_tree/node.rb#5730 + # source://syntax_tree/lib/syntax_tree/node.rb#5733 def format_key(q, key); end # [LBrace] the left brace that opens this hash # - # source://syntax_tree/lib/syntax_tree/node.rb#5676 + # source://syntax_tree/lib/syntax_tree/node.rb#5679 def lbrace; end private @@ -5489,10 +5715,10 @@ class SyntaxTree::HashLiteral < ::SyntaxTree::Node # # @return [Boolean] # - # source://syntax_tree/lib/syntax_tree/node.rb#5738 + # source://syntax_tree/lib/syntax_tree/node.rb#5741 def empty_with_comments?; end - # source://syntax_tree/lib/syntax_tree/node.rb#5742 + # source://syntax_tree/lib/syntax_tree/node.rb#5745 def format_contents(q); end end @@ -5500,19 +5726,19 @@ end # but _does_ contain comments. In this case we do some special formatting to # make sure the comments gets indented properly. # -# source://syntax_tree/lib/syntax_tree/node.rb#5652 +# source://syntax_tree/lib/syntax_tree/node.rb#5655 class SyntaxTree::HashLiteral::EmptyWithCommentsFormatter # @return [EmptyWithCommentsFormatter] a new instance of EmptyWithCommentsFormatter # - # source://syntax_tree/lib/syntax_tree/node.rb#5656 + # source://syntax_tree/lib/syntax_tree/node.rb#5659 def initialize(lbrace); end - # source://syntax_tree/lib/syntax_tree/node.rb#5660 + # source://syntax_tree/lib/syntax_tree/node.rb#5663 def format(q); end # [LBrace] the opening brace # - # source://syntax_tree/lib/syntax_tree/node.rb#5654 + # source://syntax_tree/lib/syntax_tree/node.rb#5657 def lbrace; end end @@ -5522,65 +5748,65 @@ end # contents # DOC # -# source://syntax_tree/lib/syntax_tree/node.rb#5771 +# source://syntax_tree/lib/syntax_tree/node.rb#5774 class SyntaxTree::Heredoc < ::SyntaxTree::Node # @return [Heredoc] a new instance of Heredoc # - # source://syntax_tree/lib/syntax_tree/node.rb#5788 + # source://syntax_tree/lib/syntax_tree/node.rb#5791 def initialize(beginning:, location:, ending: T.unsafe(nil), dedent: T.unsafe(nil), parts: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#5870 + # source://syntax_tree/lib/syntax_tree/node.rb#5873 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#5797 + # source://syntax_tree/lib/syntax_tree/node.rb#5800 def accept(visitor); end # [HeredocBeg] the opening of the heredoc # - # source://syntax_tree/lib/syntax_tree/node.rb#5773 + # source://syntax_tree/lib/syntax_tree/node.rb#5776 def beginning; end - # source://syntax_tree/lib/syntax_tree/node.rb#5801 + # source://syntax_tree/lib/syntax_tree/node.rb#5804 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#5786 + # source://syntax_tree/lib/syntax_tree/node.rb#5789 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#5805 + # source://syntax_tree/lib/syntax_tree/node.rb#5808 def copy(beginning: T.unsafe(nil), location: T.unsafe(nil), ending: T.unsafe(nil), parts: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#5801 + # source://syntax_tree/lib/syntax_tree/node.rb#5804 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#5820 + # source://syntax_tree/lib/syntax_tree/node.rb#5823 def deconstruct_keys(_keys); end # [Integer] how far to dedent the heredoc # - # source://syntax_tree/lib/syntax_tree/node.rb#5779 + # source://syntax_tree/lib/syntax_tree/node.rb#5782 def dedent; end # [HeredocEnd] the ending of the heredoc # - # source://syntax_tree/lib/syntax_tree/node.rb#5776 + # source://syntax_tree/lib/syntax_tree/node.rb#5779 def ending; end - # source://syntax_tree/lib/syntax_tree/node.rb#5835 + # source://syntax_tree/lib/syntax_tree/node.rb#5838 def format(q); end # [Array[ StringEmbExpr | StringDVar | TStringContent ]] the parts of the # heredoc string literal # - # source://syntax_tree/lib/syntax_tree/node.rb#5783 + # source://syntax_tree/lib/syntax_tree/node.rb#5786 def parts; end end # This is a very specific behavior where you want to force a newline, but # don't want to force the break parent. # -# source://syntax_tree/lib/syntax_tree/node.rb#5832 +# source://syntax_tree/lib/syntax_tree/node.rb#5835 SyntaxTree::Heredoc::SEPARATOR = T.let(T.unsafe(nil), PrettierPrint::Breakable) # HeredocBeg represents the beginning declaration of a heredoc. @@ -5591,42 +5817,42 @@ SyntaxTree::Heredoc::SEPARATOR = T.let(T.unsafe(nil), PrettierPrint::Breakable) # # In the example above the HeredocBeg node represents <<~DOC. # -# source://syntax_tree/lib/syntax_tree/node.rb#5883 +# source://syntax_tree/lib/syntax_tree/node.rb#5886 class SyntaxTree::HeredocBeg < ::SyntaxTree::Node # @return [HeredocBeg] a new instance of HeredocBeg # - # source://syntax_tree/lib/syntax_tree/node.rb#5890 + # source://syntax_tree/lib/syntax_tree/node.rb#5893 def initialize(value:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#5925 + # source://syntax_tree/lib/syntax_tree/node.rb#5928 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#5896 + # source://syntax_tree/lib/syntax_tree/node.rb#5899 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#5900 + # source://syntax_tree/lib/syntax_tree/node.rb#5903 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#5888 + # source://syntax_tree/lib/syntax_tree/node.rb#5891 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#5904 + # source://syntax_tree/lib/syntax_tree/node.rb#5907 def copy(value: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#5900 + # source://syntax_tree/lib/syntax_tree/node.rb#5903 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#5917 + # source://syntax_tree/lib/syntax_tree/node.rb#5920 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#5921 + # source://syntax_tree/lib/syntax_tree/node.rb#5924 def format(q); end # [String] the opening declaration of the heredoc # - # source://syntax_tree/lib/syntax_tree/node.rb#5885 + # source://syntax_tree/lib/syntax_tree/node.rb#5888 def value; end end @@ -5638,42 +5864,42 @@ end # # In the example above the HeredocEnd node represents the closing DOC. # -# source://syntax_tree/lib/syntax_tree/node.rb#5937 +# source://syntax_tree/lib/syntax_tree/node.rb#5940 class SyntaxTree::HeredocEnd < ::SyntaxTree::Node # @return [HeredocEnd] a new instance of HeredocEnd # - # source://syntax_tree/lib/syntax_tree/node.rb#5944 + # source://syntax_tree/lib/syntax_tree/node.rb#5947 def initialize(value:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#5979 + # source://syntax_tree/lib/syntax_tree/node.rb#5982 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#5950 + # source://syntax_tree/lib/syntax_tree/node.rb#5953 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#5954 + # source://syntax_tree/lib/syntax_tree/node.rb#5957 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#5942 + # source://syntax_tree/lib/syntax_tree/node.rb#5945 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#5958 + # source://syntax_tree/lib/syntax_tree/node.rb#5961 def copy(value: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#5954 + # source://syntax_tree/lib/syntax_tree/node.rb#5957 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#5971 + # source://syntax_tree/lib/syntax_tree/node.rb#5974 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#5975 + # source://syntax_tree/lib/syntax_tree/node.rb#5978 def format(q); end # [String] the closing declaration of the heredoc # - # source://syntax_tree/lib/syntax_tree/node.rb#5939 + # source://syntax_tree/lib/syntax_tree/node.rb#5942 def value; end end @@ -5684,105 +5910,105 @@ end # in { key: } # end # -# source://syntax_tree/lib/syntax_tree/node.rb#5991 +# source://syntax_tree/lib/syntax_tree/node.rb#5994 class SyntaxTree::HshPtn < ::SyntaxTree::Node # @return [HshPtn] a new instance of HshPtn # - # source://syntax_tree/lib/syntax_tree/node.rb#6051 + # source://syntax_tree/lib/syntax_tree/node.rb#6054 def initialize(constant:, keywords:, keyword_rest:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#6144 + # source://syntax_tree/lib/syntax_tree/node.rb#6147 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#6059 + # source://syntax_tree/lib/syntax_tree/node.rb#6062 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#6063 + # source://syntax_tree/lib/syntax_tree/node.rb#6066 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#6049 + # source://syntax_tree/lib/syntax_tree/node.rb#6052 def comments; end - # [nil | Node] the optional constant wrapper + # [nil | VarRef | ConstPathRef] the optional constant wrapper # - # source://syntax_tree/lib/syntax_tree/node.rb#6039 + # source://syntax_tree/lib/syntax_tree/node.rb#6042 def constant; end - # source://syntax_tree/lib/syntax_tree/node.rb#6067 + # source://syntax_tree/lib/syntax_tree/node.rb#6070 def copy(constant: T.unsafe(nil), keywords: T.unsafe(nil), keyword_rest: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#6063 + # source://syntax_tree/lib/syntax_tree/node.rb#6066 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#6082 + # source://syntax_tree/lib/syntax_tree/node.rb#6085 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#6092 + # source://syntax_tree/lib/syntax_tree/node.rb#6095 def format(q); end # [nil | VarField] an optional parameter to gather up all remaining keywords # - # source://syntax_tree/lib/syntax_tree/node.rb#6046 + # source://syntax_tree/lib/syntax_tree/node.rb#6049 def keyword_rest; end # [Array[ [DynaSymbol | Label, nil | Node] ]] the set of tuples # representing the keywords that should be matched against in the pattern # - # source://syntax_tree/lib/syntax_tree/node.rb#6043 + # source://syntax_tree/lib/syntax_tree/node.rb#6046 def keywords; end private - # source://syntax_tree/lib/syntax_tree/node.rb#6155 + # source://syntax_tree/lib/syntax_tree/node.rb#6158 def format_contents(q, parts, nested); end end # Formats a key-value pair in a hash pattern. The value is optional. # -# source://syntax_tree/lib/syntax_tree/node.rb#5993 +# source://syntax_tree/lib/syntax_tree/node.rb#5996 class SyntaxTree::HshPtn::KeywordFormatter # @return [KeywordFormatter] a new instance of KeywordFormatter # - # source://syntax_tree/lib/syntax_tree/node.rb#6000 + # source://syntax_tree/lib/syntax_tree/node.rb#6003 def initialize(key, value); end - # source://syntax_tree/lib/syntax_tree/node.rb#6005 + # source://syntax_tree/lib/syntax_tree/node.rb#6008 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#6009 + # source://syntax_tree/lib/syntax_tree/node.rb#6012 def format(q); end # [Label] the keyword being used # - # source://syntax_tree/lib/syntax_tree/node.rb#5995 + # source://syntax_tree/lib/syntax_tree/node.rb#5998 def key; end # [Node] the optional value for the keyword # - # source://syntax_tree/lib/syntax_tree/node.rb#5998 + # source://syntax_tree/lib/syntax_tree/node.rb#6001 def value; end end # Formats the optional double-splat from the pattern. # -# source://syntax_tree/lib/syntax_tree/node.rb#6020 +# source://syntax_tree/lib/syntax_tree/node.rb#6023 class SyntaxTree::HshPtn::KeywordRestFormatter # @return [KeywordRestFormatter] a new instance of KeywordRestFormatter # - # source://syntax_tree/lib/syntax_tree/node.rb#6024 + # source://syntax_tree/lib/syntax_tree/node.rb#6027 def initialize(keyword_rest); end - # source://syntax_tree/lib/syntax_tree/node.rb#6028 + # source://syntax_tree/lib/syntax_tree/node.rb#6031 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#6032 + # source://syntax_tree/lib/syntax_tree/node.rb#6035 def format(q); end # [VarField] the parameter that matches the remaining keywords # - # source://syntax_tree/lib/syntax_tree/node.rb#6022 + # source://syntax_tree/lib/syntax_tree/node.rb#6025 def keyword_rest; end end @@ -5790,42 +6016,42 @@ end # # @variable # -# source://syntax_tree/lib/syntax_tree/node.rb#6875 +# source://syntax_tree/lib/syntax_tree/node.rb#6878 class SyntaxTree::IVar < ::SyntaxTree::Node # @return [IVar] a new instance of IVar # - # source://syntax_tree/lib/syntax_tree/node.rb#6882 + # source://syntax_tree/lib/syntax_tree/node.rb#6885 def initialize(value:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#6917 + # source://syntax_tree/lib/syntax_tree/node.rb#6920 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#6888 + # source://syntax_tree/lib/syntax_tree/node.rb#6891 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#6892 + # source://syntax_tree/lib/syntax_tree/node.rb#6895 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#6880 + # source://syntax_tree/lib/syntax_tree/node.rb#6883 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#6896 + # source://syntax_tree/lib/syntax_tree/node.rb#6899 def copy(value: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#6892 + # source://syntax_tree/lib/syntax_tree/node.rb#6895 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#6909 + # source://syntax_tree/lib/syntax_tree/node.rb#6912 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#6913 + # source://syntax_tree/lib/syntax_tree/node.rb#6916 def format(q); end # [String] the name of the instance variable # - # source://syntax_tree/lib/syntax_tree/node.rb#6877 + # source://syntax_tree/lib/syntax_tree/node.rb#6880 def value; end end @@ -5834,42 +6060,42 @@ end # # value # -# source://syntax_tree/lib/syntax_tree/node.rb#6178 +# source://syntax_tree/lib/syntax_tree/node.rb#6181 class SyntaxTree::Ident < ::SyntaxTree::Node # @return [Ident] a new instance of Ident # - # source://syntax_tree/lib/syntax_tree/node.rb#6185 + # source://syntax_tree/lib/syntax_tree/node.rb#6188 def initialize(value:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#6220 + # source://syntax_tree/lib/syntax_tree/node.rb#6223 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#6191 + # source://syntax_tree/lib/syntax_tree/node.rb#6194 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#6195 + # source://syntax_tree/lib/syntax_tree/node.rb#6198 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#6183 + # source://syntax_tree/lib/syntax_tree/node.rb#6186 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#6199 + # source://syntax_tree/lib/syntax_tree/node.rb#6202 def copy(value: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#6195 + # source://syntax_tree/lib/syntax_tree/node.rb#6198 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#6212 + # source://syntax_tree/lib/syntax_tree/node.rb#6215 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#6216 + # source://syntax_tree/lib/syntax_tree/node.rb#6219 def format(q); end # [String] the value of the identifier # - # source://syntax_tree/lib/syntax_tree/node.rb#6180 + # source://syntax_tree/lib/syntax_tree/node.rb#6183 def value; end end @@ -5878,59 +6104,59 @@ end # if predicate # end # -# source://syntax_tree/lib/syntax_tree/node.rb#6468 +# source://syntax_tree/lib/syntax_tree/node.rb#6471 class SyntaxTree::IfNode < ::SyntaxTree::Node # @return [IfNode] a new instance of IfNode # - # source://syntax_tree/lib/syntax_tree/node.rb#6481 + # source://syntax_tree/lib/syntax_tree/node.rb#6484 def initialize(predicate:, statements:, consequent:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#6526 + # source://syntax_tree/lib/syntax_tree/node.rb#6529 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#6489 + # source://syntax_tree/lib/syntax_tree/node.rb#6492 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#6493 + # source://syntax_tree/lib/syntax_tree/node.rb#6496 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#6479 + # source://syntax_tree/lib/syntax_tree/node.rb#6482 def comments; end # [nil | Elsif | Else] the next clause in the chain # - # source://syntax_tree/lib/syntax_tree/node.rb#6476 + # source://syntax_tree/lib/syntax_tree/node.rb#6479 def consequent; end - # source://syntax_tree/lib/syntax_tree/node.rb#6497 + # source://syntax_tree/lib/syntax_tree/node.rb#6500 def copy(predicate: T.unsafe(nil), statements: T.unsafe(nil), consequent: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#6493 + # source://syntax_tree/lib/syntax_tree/node.rb#6496 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#6512 + # source://syntax_tree/lib/syntax_tree/node.rb#6515 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#6522 + # source://syntax_tree/lib/syntax_tree/node.rb#6525 def format(q); end # Checks if the node was originally found in the modifier form. # # @return [Boolean] # - # source://syntax_tree/lib/syntax_tree/node.rb#6532 + # source://syntax_tree/lib/syntax_tree/node.rb#6535 def modifier?; end # [Node] the expression to be checked # - # source://syntax_tree/lib/syntax_tree/node.rb#6470 + # source://syntax_tree/lib/syntax_tree/node.rb#6473 def predicate; end # [Statements] the expressions to be executed # - # source://syntax_tree/lib/syntax_tree/node.rb#6473 + # source://syntax_tree/lib/syntax_tree/node.rb#6476 def statements; end end @@ -5938,60 +6164,60 @@ end # # predicate ? truthy : falsy # -# source://syntax_tree/lib/syntax_tree/node.rb#6541 +# source://syntax_tree/lib/syntax_tree/node.rb#6544 class SyntaxTree::IfOp < ::SyntaxTree::Node # @return [IfOp] a new instance of IfOp # - # source://syntax_tree/lib/syntax_tree/node.rb#6554 + # source://syntax_tree/lib/syntax_tree/node.rb#6557 def initialize(predicate:, truthy:, falsy:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#6628 + # source://syntax_tree/lib/syntax_tree/node.rb#6631 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#6562 + # source://syntax_tree/lib/syntax_tree/node.rb#6565 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#6566 + # source://syntax_tree/lib/syntax_tree/node.rb#6569 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#6552 + # source://syntax_tree/lib/syntax_tree/node.rb#6555 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#6570 + # source://syntax_tree/lib/syntax_tree/node.rb#6573 def copy(predicate: T.unsafe(nil), truthy: T.unsafe(nil), falsy: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#6566 + # source://syntax_tree/lib/syntax_tree/node.rb#6569 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#6585 + # source://syntax_tree/lib/syntax_tree/node.rb#6588 def deconstruct_keys(_keys); end # [Node] the expression to be executed if the predicate is falsy # - # source://syntax_tree/lib/syntax_tree/node.rb#6549 + # source://syntax_tree/lib/syntax_tree/node.rb#6552 def falsy; end - # source://syntax_tree/lib/syntax_tree/node.rb#6595 + # source://syntax_tree/lib/syntax_tree/node.rb#6598 def format(q); end # [Node] the expression to be checked # - # source://syntax_tree/lib/syntax_tree/node.rb#6543 + # source://syntax_tree/lib/syntax_tree/node.rb#6546 def predicate; end # [Node] the expression to be executed if the predicate is truthy # - # source://syntax_tree/lib/syntax_tree/node.rb#6546 + # source://syntax_tree/lib/syntax_tree/node.rb#6549 def truthy; end private - # source://syntax_tree/lib/syntax_tree/node.rb#6635 + # source://syntax_tree/lib/syntax_tree/node.rb#6638 def format_break(q); end - # source://syntax_tree/lib/syntax_tree/node.rb#6658 + # source://syntax_tree/lib/syntax_tree/node.rb#6661 def format_flat(q); end end @@ -5999,42 +6225,42 @@ end # # 1i # -# source://syntax_tree/lib/syntax_tree/node.rb#6677 +# source://syntax_tree/lib/syntax_tree/node.rb#6680 class SyntaxTree::Imaginary < ::SyntaxTree::Node # @return [Imaginary] a new instance of Imaginary # - # source://syntax_tree/lib/syntax_tree/node.rb#6684 + # source://syntax_tree/lib/syntax_tree/node.rb#6687 def initialize(value:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#6719 + # source://syntax_tree/lib/syntax_tree/node.rb#6722 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#6690 + # source://syntax_tree/lib/syntax_tree/node.rb#6693 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#6694 + # source://syntax_tree/lib/syntax_tree/node.rb#6697 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#6682 + # source://syntax_tree/lib/syntax_tree/node.rb#6685 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#6698 + # source://syntax_tree/lib/syntax_tree/node.rb#6701 def copy(value: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#6694 + # source://syntax_tree/lib/syntax_tree/node.rb#6697 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#6711 + # source://syntax_tree/lib/syntax_tree/node.rb#6714 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#6715 + # source://syntax_tree/lib/syntax_tree/node.rb#6718 def format(q); end # [String] the value of the imaginary number literal # - # source://syntax_tree/lib/syntax_tree/node.rb#6679 + # source://syntax_tree/lib/syntax_tree/node.rb#6682 def value; end end @@ -6045,52 +6271,52 @@ end # in pattern # end # -# source://syntax_tree/lib/syntax_tree/node.rb#6731 +# source://syntax_tree/lib/syntax_tree/node.rb#6734 class SyntaxTree::In < ::SyntaxTree::Node # @return [In] a new instance of In # - # source://syntax_tree/lib/syntax_tree/node.rb#6744 + # source://syntax_tree/lib/syntax_tree/node.rb#6747 def initialize(pattern:, statements:, consequent:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#6809 + # source://syntax_tree/lib/syntax_tree/node.rb#6812 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#6752 + # source://syntax_tree/lib/syntax_tree/node.rb#6755 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#6756 + # source://syntax_tree/lib/syntax_tree/node.rb#6759 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#6742 + # source://syntax_tree/lib/syntax_tree/node.rb#6745 def comments; end # [nil | In | Else] the next clause in the chain # - # source://syntax_tree/lib/syntax_tree/node.rb#6739 + # source://syntax_tree/lib/syntax_tree/node.rb#6742 def consequent; end - # source://syntax_tree/lib/syntax_tree/node.rb#6760 + # source://syntax_tree/lib/syntax_tree/node.rb#6763 def copy(pattern: T.unsafe(nil), statements: T.unsafe(nil), consequent: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#6756 + # source://syntax_tree/lib/syntax_tree/node.rb#6759 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#6775 + # source://syntax_tree/lib/syntax_tree/node.rb#6778 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#6785 + # source://syntax_tree/lib/syntax_tree/node.rb#6788 def format(q); end # [Node] the pattern to check against # - # source://syntax_tree/lib/syntax_tree/node.rb#6733 + # source://syntax_tree/lib/syntax_tree/node.rb#6736 def pattern; end # [Statements] the expressions to execute if the pattern matched # - # source://syntax_tree/lib/syntax_tree/node.rb#6736 + # source://syntax_tree/lib/syntax_tree/node.rb#6739 def statements; end end @@ -6555,42 +6781,42 @@ end # # 1 # -# source://syntax_tree/lib/syntax_tree/node.rb#6819 +# source://syntax_tree/lib/syntax_tree/node.rb#6822 class SyntaxTree::Int < ::SyntaxTree::Node # @return [Int] a new instance of Int # - # source://syntax_tree/lib/syntax_tree/node.rb#6826 + # source://syntax_tree/lib/syntax_tree/node.rb#6829 def initialize(value:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#6866 + # source://syntax_tree/lib/syntax_tree/node.rb#6869 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#6832 + # source://syntax_tree/lib/syntax_tree/node.rb#6835 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#6836 + # source://syntax_tree/lib/syntax_tree/node.rb#6839 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#6824 + # source://syntax_tree/lib/syntax_tree/node.rb#6827 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#6840 + # source://syntax_tree/lib/syntax_tree/node.rb#6843 def copy(value: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#6836 + # source://syntax_tree/lib/syntax_tree/node.rb#6839 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#6850 + # source://syntax_tree/lib/syntax_tree/node.rb#6853 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#6854 + # source://syntax_tree/lib/syntax_tree/node.rb#6857 def format(q); end # [String] the value of the integer # - # source://syntax_tree/lib/syntax_tree/node.rb#6821 + # source://syntax_tree/lib/syntax_tree/node.rb#6824 def value; end end @@ -6647,47 +6873,47 @@ end # # then the contents of the symbol node will contain a Kw node. # -# source://syntax_tree/lib/syntax_tree/node.rb#6935 +# source://syntax_tree/lib/syntax_tree/node.rb#6938 class SyntaxTree::Kw < ::SyntaxTree::Node # @return [Kw] a new instance of Kw # - # source://syntax_tree/lib/syntax_tree/node.rb#6945 + # source://syntax_tree/lib/syntax_tree/node.rb#6948 def initialize(value:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#6978 + # source://syntax_tree/lib/syntax_tree/node.rb#6981 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#6952 + # source://syntax_tree/lib/syntax_tree/node.rb#6955 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#6956 + # source://syntax_tree/lib/syntax_tree/node.rb#6959 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#6943 + # source://syntax_tree/lib/syntax_tree/node.rb#6946 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#6960 + # source://syntax_tree/lib/syntax_tree/node.rb#6963 def copy(value: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#6956 + # source://syntax_tree/lib/syntax_tree/node.rb#6959 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#6970 + # source://syntax_tree/lib/syntax_tree/node.rb#6973 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#6974 + # source://syntax_tree/lib/syntax_tree/node.rb#6977 def format(q); end # [Symbol] the symbol version of the value # - # source://syntax_tree/lib/syntax_tree/node.rb#6940 + # source://syntax_tree/lib/syntax_tree/node.rb#6943 def name; end # [String] the value of the keyword # - # source://syntax_tree/lib/syntax_tree/node.rb#6937 + # source://syntax_tree/lib/syntax_tree/node.rb#6940 def value; end end @@ -6696,83 +6922,83 @@ end # # def method(**kwargs) end # -# source://syntax_tree/lib/syntax_tree/node.rb#6988 +# source://syntax_tree/lib/syntax_tree/node.rb#6991 class SyntaxTree::KwRestParam < ::SyntaxTree::Node # @return [KwRestParam] a new instance of KwRestParam # - # source://syntax_tree/lib/syntax_tree/node.rb#6995 + # source://syntax_tree/lib/syntax_tree/node.rb#6998 def initialize(name:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#7031 + # source://syntax_tree/lib/syntax_tree/node.rb#7034 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#7001 + # source://syntax_tree/lib/syntax_tree/node.rb#7004 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#7005 + # source://syntax_tree/lib/syntax_tree/node.rb#7008 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#6993 + # source://syntax_tree/lib/syntax_tree/node.rb#6996 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#7009 + # source://syntax_tree/lib/syntax_tree/node.rb#7012 def copy(name: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#7005 + # source://syntax_tree/lib/syntax_tree/node.rb#7008 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#7022 + # source://syntax_tree/lib/syntax_tree/node.rb#7025 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#7026 + # source://syntax_tree/lib/syntax_tree/node.rb#7029 def format(q); end # [nil | Ident] the name of the parameter # - # source://syntax_tree/lib/syntax_tree/node.rb#6990 + # source://syntax_tree/lib/syntax_tree/node.rb#6993 def name; end end # LBrace represents the use of a left brace, i.e., {. # -# source://syntax_tree/lib/syntax_tree/node.rb#7332 +# source://syntax_tree/lib/syntax_tree/node.rb#7316 class SyntaxTree::LBrace < ::SyntaxTree::Node # @return [LBrace] a new instance of LBrace # - # source://syntax_tree/lib/syntax_tree/node.rb#7339 + # source://syntax_tree/lib/syntax_tree/node.rb#7323 def initialize(value:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#7374 + # source://syntax_tree/lib/syntax_tree/node.rb#7358 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#7345 + # source://syntax_tree/lib/syntax_tree/node.rb#7329 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#7349 + # source://syntax_tree/lib/syntax_tree/node.rb#7333 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#7337 + # source://syntax_tree/lib/syntax_tree/node.rb#7321 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#7353 + # source://syntax_tree/lib/syntax_tree/node.rb#7337 def copy(value: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#7349 + # source://syntax_tree/lib/syntax_tree/node.rb#7333 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#7366 + # source://syntax_tree/lib/syntax_tree/node.rb#7350 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#7370 + # source://syntax_tree/lib/syntax_tree/node.rb#7354 def format(q); end # [String] the left brace # - # source://syntax_tree/lib/syntax_tree/node.rb#7334 + # source://syntax_tree/lib/syntax_tree/node.rb#7318 def value; end class << self @@ -6782,49 +7008,49 @@ class SyntaxTree::LBrace < ::SyntaxTree::Node # easier to create LBrace nodes without any specific value, this method # provides a default node. # - # source://syntax_tree/lib/syntax_tree/node.rb#7383 + # source://syntax_tree/lib/syntax_tree/node.rb#7367 def default; end end end # LBracket represents the use of a left bracket, i.e., [. # -# source://syntax_tree/lib/syntax_tree/node.rb#7389 +# source://syntax_tree/lib/syntax_tree/node.rb#7373 class SyntaxTree::LBracket < ::SyntaxTree::Node # @return [LBracket] a new instance of LBracket # - # source://syntax_tree/lib/syntax_tree/node.rb#7396 + # source://syntax_tree/lib/syntax_tree/node.rb#7380 def initialize(value:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#7431 + # source://syntax_tree/lib/syntax_tree/node.rb#7415 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#7402 + # source://syntax_tree/lib/syntax_tree/node.rb#7386 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#7406 + # source://syntax_tree/lib/syntax_tree/node.rb#7390 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#7394 + # source://syntax_tree/lib/syntax_tree/node.rb#7378 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#7410 + # source://syntax_tree/lib/syntax_tree/node.rb#7394 def copy(value: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#7406 + # source://syntax_tree/lib/syntax_tree/node.rb#7390 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#7423 + # source://syntax_tree/lib/syntax_tree/node.rb#7407 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#7427 + # source://syntax_tree/lib/syntax_tree/node.rb#7411 def format(q); end # [String] the left bracket # - # source://syntax_tree/lib/syntax_tree/node.rb#7391 + # source://syntax_tree/lib/syntax_tree/node.rb#7375 def value; end class << self @@ -6834,49 +7060,49 @@ class SyntaxTree::LBracket < ::SyntaxTree::Node # easier to create LBracket nodes without any specific value, this method # provides a default node. # - # source://syntax_tree/lib/syntax_tree/node.rb#7440 + # source://syntax_tree/lib/syntax_tree/node.rb#7424 def default; end end end # LParen represents the use of a left parenthesis, i.e., (. # -# source://syntax_tree/lib/syntax_tree/node.rb#7446 +# source://syntax_tree/lib/syntax_tree/node.rb#7430 class SyntaxTree::LParen < ::SyntaxTree::Node # @return [LParen] a new instance of LParen # - # source://syntax_tree/lib/syntax_tree/node.rb#7453 + # source://syntax_tree/lib/syntax_tree/node.rb#7437 def initialize(value:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#7488 + # source://syntax_tree/lib/syntax_tree/node.rb#7472 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#7459 + # source://syntax_tree/lib/syntax_tree/node.rb#7443 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#7463 + # source://syntax_tree/lib/syntax_tree/node.rb#7447 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#7451 + # source://syntax_tree/lib/syntax_tree/node.rb#7435 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#7467 + # source://syntax_tree/lib/syntax_tree/node.rb#7451 def copy(value: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#7463 + # source://syntax_tree/lib/syntax_tree/node.rb#7447 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#7480 + # source://syntax_tree/lib/syntax_tree/node.rb#7464 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#7484 + # source://syntax_tree/lib/syntax_tree/node.rb#7468 def format(q); end # [String] the left parenthesis # - # source://syntax_tree/lib/syntax_tree/node.rb#7448 + # source://syntax_tree/lib/syntax_tree/node.rb#7432 def value; end class << self @@ -6886,7 +7112,7 @@ class SyntaxTree::LParen < ::SyntaxTree::Node # easier to create LParen nodes without any specific value, this method # provides a default node. # - # source://syntax_tree/lib/syntax_tree/node.rb#7497 + # source://syntax_tree/lib/syntax_tree/node.rb#7481 def default; end end end @@ -6905,42 +7131,42 @@ end # # In this case "key:" would be the body of the label. # -# source://syntax_tree/lib/syntax_tree/node.rb#7049 +# source://syntax_tree/lib/syntax_tree/node.rb#7052 class SyntaxTree::Label < ::SyntaxTree::Node # @return [Label] a new instance of Label # - # source://syntax_tree/lib/syntax_tree/node.rb#7056 + # source://syntax_tree/lib/syntax_tree/node.rb#7059 def initialize(value:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#7091 + # source://syntax_tree/lib/syntax_tree/node.rb#7094 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#7062 + # source://syntax_tree/lib/syntax_tree/node.rb#7065 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#7066 + # source://syntax_tree/lib/syntax_tree/node.rb#7069 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#7054 + # source://syntax_tree/lib/syntax_tree/node.rb#7057 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#7070 + # source://syntax_tree/lib/syntax_tree/node.rb#7073 def copy(value: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#7066 + # source://syntax_tree/lib/syntax_tree/node.rb#7069 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#7083 + # source://syntax_tree/lib/syntax_tree/node.rb#7086 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#7087 + # source://syntax_tree/lib/syntax_tree/node.rb#7090 def format(q); end # [String] the value of the label # - # source://syntax_tree/lib/syntax_tree/node.rb#7051 + # source://syntax_tree/lib/syntax_tree/node.rb#7054 def value; end end @@ -6952,34 +7178,34 @@ end # hash key. This node is important for determining the type of quote being # used by the label. # -# source://syntax_tree/lib/syntax_tree/node.rb#7103 +# source://syntax_tree/lib/syntax_tree/node.rb#7106 class SyntaxTree::LabelEnd < ::SyntaxTree::Node # @return [LabelEnd] a new instance of LabelEnd # - # source://syntax_tree/lib/syntax_tree/node.rb#7107 + # source://syntax_tree/lib/syntax_tree/node.rb#7110 def initialize(value:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#7133 + # source://syntax_tree/lib/syntax_tree/node.rb#7136 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#7112 + # source://syntax_tree/lib/syntax_tree/node.rb#7115 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#7116 + # source://syntax_tree/lib/syntax_tree/node.rb#7119 def child_nodes; end - # source://syntax_tree/lib/syntax_tree/node.rb#7120 + # source://syntax_tree/lib/syntax_tree/node.rb#7123 def copy(value: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#7116 + # source://syntax_tree/lib/syntax_tree/node.rb#7119 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#7129 + # source://syntax_tree/lib/syntax_tree/node.rb#7132 def deconstruct_keys(_keys); end # [String] the end of the label # - # source://syntax_tree/lib/syntax_tree/node.rb#7105 + # source://syntax_tree/lib/syntax_tree/node.rb#7108 def value; end end @@ -6987,47 +7213,47 @@ end # # ->(value) { value * 2 } # -# source://syntax_tree/lib/syntax_tree/node.rb#7142 +# source://syntax_tree/lib/syntax_tree/node.rb#7145 class SyntaxTree::Lambda < ::SyntaxTree::Node # @return [Lambda] a new instance of Lambda # - # source://syntax_tree/lib/syntax_tree/node.rb#7152 + # source://syntax_tree/lib/syntax_tree/node.rb#7155 def initialize(params:, statements:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#7255 + # source://syntax_tree/lib/syntax_tree/node.rb#7239 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#7159 + # source://syntax_tree/lib/syntax_tree/node.rb#7162 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#7163 + # source://syntax_tree/lib/syntax_tree/node.rb#7166 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#7150 + # source://syntax_tree/lib/syntax_tree/node.rb#7153 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#7167 + # source://syntax_tree/lib/syntax_tree/node.rb#7170 def copy(params: T.unsafe(nil), statements: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#7163 + # source://syntax_tree/lib/syntax_tree/node.rb#7166 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#7181 + # source://syntax_tree/lib/syntax_tree/node.rb#7184 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#7190 + # source://syntax_tree/lib/syntax_tree/node.rb#7193 def format(q); end # [LambdaVar | Paren] the parameter declaration for this lambda # - # source://syntax_tree/lib/syntax_tree/node.rb#7144 + # source://syntax_tree/lib/syntax_tree/node.rb#7147 def params; end # [BodyStmt | Statements] the expressions to be executed in this lambda # - # source://syntax_tree/lib/syntax_tree/node.rb#7147 + # source://syntax_tree/lib/syntax_tree/node.rb#7150 def statements; end end @@ -7039,52 +7265,52 @@ end # -> (positional, optional = value, keyword:, █ local) do # end # -# source://syntax_tree/lib/syntax_tree/node.rb#7269 +# source://syntax_tree/lib/syntax_tree/node.rb#7253 class SyntaxTree::LambdaVar < ::SyntaxTree::Node # @return [LambdaVar] a new instance of LambdaVar # - # source://syntax_tree/lib/syntax_tree/node.rb#7279 + # source://syntax_tree/lib/syntax_tree/node.rb#7263 def initialize(params:, locals:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#7325 + # source://syntax_tree/lib/syntax_tree/node.rb#7309 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#7286 + # source://syntax_tree/lib/syntax_tree/node.rb#7270 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#7290 + # source://syntax_tree/lib/syntax_tree/node.rb#7274 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#7277 + # source://syntax_tree/lib/syntax_tree/node.rb#7261 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#7294 + # source://syntax_tree/lib/syntax_tree/node.rb#7278 def copy(params: T.unsafe(nil), locals: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#7290 + # source://syntax_tree/lib/syntax_tree/node.rb#7274 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#7308 + # source://syntax_tree/lib/syntax_tree/node.rb#7292 def deconstruct_keys(_keys); end # @return [Boolean] # - # source://syntax_tree/lib/syntax_tree/node.rb#7312 + # source://syntax_tree/lib/syntax_tree/node.rb#7296 def empty?; end - # source://syntax_tree/lib/syntax_tree/node.rb#7316 + # source://syntax_tree/lib/syntax_tree/node.rb#7300 def format(q); end # [Array[ Ident ]] the list of block-local variable declarations # - # source://syntax_tree/lib/syntax_tree/node.rb#7274 + # source://syntax_tree/lib/syntax_tree/node.rb#7258 def locals; end # [Params] the parameters being declared with the block # - # source://syntax_tree/lib/syntax_tree/node.rb#7271 + # source://syntax_tree/lib/syntax_tree/node.rb#7255 def params; end end @@ -7331,29 +7557,29 @@ end # Formats an Until or While node. # -# source://syntax_tree/lib/syntax_tree/node.rb#11394 +# source://syntax_tree/lib/syntax_tree/node.rb#11378 class SyntaxTree::LoopFormatter # @return [LoopFormatter] a new instance of LoopFormatter # - # source://syntax_tree/lib/syntax_tree/node.rb#11401 + # source://syntax_tree/lib/syntax_tree/node.rb#11385 def initialize(keyword, node); end - # source://syntax_tree/lib/syntax_tree/node.rb#11406 + # source://syntax_tree/lib/syntax_tree/node.rb#11390 def format(q); end # [String] the name of the keyword used for this loop # - # source://syntax_tree/lib/syntax_tree/node.rb#11396 + # source://syntax_tree/lib/syntax_tree/node.rb#11380 def keyword; end # [Until | While] the node that is being formatted # - # source://syntax_tree/lib/syntax_tree/node.rb#11399 + # source://syntax_tree/lib/syntax_tree/node.rb#11383 def node; end private - # source://syntax_tree/lib/syntax_tree/node.rb#11453 + # source://syntax_tree/lib/syntax_tree/node.rb#11437 def format_break(q); end end @@ -7371,47 +7597,47 @@ end # # first, = value # -# source://syntax_tree/lib/syntax_tree/node.rb#7516 +# source://syntax_tree/lib/syntax_tree/node.rb#7500 class SyntaxTree::MAssign < ::SyntaxTree::Node # @return [MAssign] a new instance of MAssign # - # source://syntax_tree/lib/syntax_tree/node.rb#7526 + # source://syntax_tree/lib/syntax_tree/node.rb#7510 def initialize(target:, value:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#7570 + # source://syntax_tree/lib/syntax_tree/node.rb#7554 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#7533 + # source://syntax_tree/lib/syntax_tree/node.rb#7517 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#7537 + # source://syntax_tree/lib/syntax_tree/node.rb#7521 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#7524 + # source://syntax_tree/lib/syntax_tree/node.rb#7508 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#7541 + # source://syntax_tree/lib/syntax_tree/node.rb#7525 def copy(target: T.unsafe(nil), value: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#7537 + # source://syntax_tree/lib/syntax_tree/node.rb#7521 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#7555 + # source://syntax_tree/lib/syntax_tree/node.rb#7539 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#7559 + # source://syntax_tree/lib/syntax_tree/node.rb#7543 def format(q); end # [MLHS | MLHSParen] the target of the multiple assignment # - # source://syntax_tree/lib/syntax_tree/node.rb#7518 + # source://syntax_tree/lib/syntax_tree/node.rb#7502 def target; end # [Node] the value being assigned # - # source://syntax_tree/lib/syntax_tree/node.rb#7521 + # source://syntax_tree/lib/syntax_tree/node.rb#7505 def value; end end @@ -7420,51 +7646,51 @@ end # # first, second, third = value # -# source://syntax_tree/lib/syntax_tree/node.rb#7654 +# source://syntax_tree/lib/syntax_tree/node.rb#7638 class SyntaxTree::MLHS < ::SyntaxTree::Node # @return [MLHS] a new instance of MLHS # - # source://syntax_tree/lib/syntax_tree/node.rb#7671 + # source://syntax_tree/lib/syntax_tree/node.rb#7655 def initialize(parts:, location:, comma: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#7709 + # source://syntax_tree/lib/syntax_tree/node.rb#7693 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#7678 + # source://syntax_tree/lib/syntax_tree/node.rb#7662 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#7682 + # source://syntax_tree/lib/syntax_tree/node.rb#7666 def child_nodes; end # [boolean] whether or not there is a trailing comma at the end of this # list, which impacts destructuring. It's an attr_accessor so that while # the syntax tree is being built it can be set by its parent node # - # source://syntax_tree/lib/syntax_tree/node.rb#7666 + # source://syntax_tree/lib/syntax_tree/node.rb#7650 def comma; end # [boolean] whether or not there is a trailing comma at the end of this # list, which impacts destructuring. It's an attr_accessor so that while # the syntax tree is being built it can be set by its parent node # - # source://syntax_tree/lib/syntax_tree/node.rb#7666 + # source://syntax_tree/lib/syntax_tree/node.rb#7650 def comma=(_arg0); end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#7669 + # source://syntax_tree/lib/syntax_tree/node.rb#7653 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#7686 + # source://syntax_tree/lib/syntax_tree/node.rb#7670 def copy(parts: T.unsafe(nil), location: T.unsafe(nil), comma: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#7682 + # source://syntax_tree/lib/syntax_tree/node.rb#7666 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#7700 + # source://syntax_tree/lib/syntax_tree/node.rb#7684 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#7704 + # source://syntax_tree/lib/syntax_tree/node.rb#7688 def format(q); end # [ @@ -7474,7 +7700,7 @@ class SyntaxTree::MLHS < ::SyntaxTree::Node # ] # ] the parts of the left-hand side of a multiple assignment # - # source://syntax_tree/lib/syntax_tree/node.rb#7661 + # source://syntax_tree/lib/syntax_tree/node.rb#7645 def parts; end end @@ -7483,56 +7709,56 @@ end # # (left, right) = value # -# source://syntax_tree/lib/syntax_tree/node.rb#7720 +# source://syntax_tree/lib/syntax_tree/node.rb#7704 class SyntaxTree::MLHSParen < ::SyntaxTree::Node # @return [MLHSParen] a new instance of MLHSParen # - # source://syntax_tree/lib/syntax_tree/node.rb#7732 + # source://syntax_tree/lib/syntax_tree/node.rb#7716 def initialize(contents:, location:, comma: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#7785 + # source://syntax_tree/lib/syntax_tree/node.rb#7769 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#7739 + # source://syntax_tree/lib/syntax_tree/node.rb#7723 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#7743 + # source://syntax_tree/lib/syntax_tree/node.rb#7727 def child_nodes; end # [boolean] whether or not there is a trailing comma at the end of this # list, which impacts destructuring. It's an attr_accessor so that while # the syntax tree is being built it can be set by its parent node # - # source://syntax_tree/lib/syntax_tree/node.rb#7727 + # source://syntax_tree/lib/syntax_tree/node.rb#7711 def comma; end # [boolean] whether or not there is a trailing comma at the end of this # list, which impacts destructuring. It's an attr_accessor so that while # the syntax tree is being built it can be set by its parent node # - # source://syntax_tree/lib/syntax_tree/node.rb#7727 + # source://syntax_tree/lib/syntax_tree/node.rb#7711 def comma=(_arg0); end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#7730 + # source://syntax_tree/lib/syntax_tree/node.rb#7714 def comments; end # [MLHS | MLHSParen] the contents inside of the parentheses # - # source://syntax_tree/lib/syntax_tree/node.rb#7722 + # source://syntax_tree/lib/syntax_tree/node.rb#7706 def contents; end - # source://syntax_tree/lib/syntax_tree/node.rb#7747 + # source://syntax_tree/lib/syntax_tree/node.rb#7731 def copy(contents: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#7743 + # source://syntax_tree/lib/syntax_tree/node.rb#7727 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#7760 + # source://syntax_tree/lib/syntax_tree/node.rb#7744 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#7764 + # source://syntax_tree/lib/syntax_tree/node.rb#7748 def format(q); end end @@ -7541,42 +7767,42 @@ end # # values = first, second, third # -# source://syntax_tree/lib/syntax_tree/node.rb#7885 +# source://syntax_tree/lib/syntax_tree/node.rb#7869 class SyntaxTree::MRHS < ::SyntaxTree::Node # @return [MRHS] a new instance of MRHS # - # source://syntax_tree/lib/syntax_tree/node.rb#7892 + # source://syntax_tree/lib/syntax_tree/node.rb#7876 def initialize(parts:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#7927 + # source://syntax_tree/lib/syntax_tree/node.rb#7911 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#7898 + # source://syntax_tree/lib/syntax_tree/node.rb#7882 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#7902 + # source://syntax_tree/lib/syntax_tree/node.rb#7886 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#7890 + # source://syntax_tree/lib/syntax_tree/node.rb#7874 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#7906 + # source://syntax_tree/lib/syntax_tree/node.rb#7890 def copy(parts: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#7902 + # source://syntax_tree/lib/syntax_tree/node.rb#7886 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#7919 + # source://syntax_tree/lib/syntax_tree/node.rb#7903 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#7923 + # source://syntax_tree/lib/syntax_tree/node.rb#7907 def format(q); end # [Array[Node]] the parts that are being assigned # - # source://syntax_tree/lib/syntax_tree/node.rb#7887 + # source://syntax_tree/lib/syntax_tree/node.rb#7871 def parts; end end @@ -7833,50 +8059,50 @@ end # # method {} # -# source://syntax_tree/lib/syntax_tree/node.rb#7579 +# source://syntax_tree/lib/syntax_tree/node.rb#7563 class SyntaxTree::MethodAddBlock < ::SyntaxTree::Node # @return [MethodAddBlock] a new instance of MethodAddBlock # - # source://syntax_tree/lib/syntax_tree/node.rb#7589 + # source://syntax_tree/lib/syntax_tree/node.rb#7573 def initialize(call:, block:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#7638 + # source://syntax_tree/lib/syntax_tree/node.rb#7622 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#7596 + # source://syntax_tree/lib/syntax_tree/node.rb#7580 def accept(visitor); end # [BlockNode] the block being sent with the method call # - # source://syntax_tree/lib/syntax_tree/node.rb#7584 + # source://syntax_tree/lib/syntax_tree/node.rb#7568 def block; end # [ARef | CallNode | Command | CommandCall | Super | ZSuper] the method call # - # source://syntax_tree/lib/syntax_tree/node.rb#7581 + # source://syntax_tree/lib/syntax_tree/node.rb#7565 def call; end - # source://syntax_tree/lib/syntax_tree/node.rb#7600 + # source://syntax_tree/lib/syntax_tree/node.rb#7584 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#7587 + # source://syntax_tree/lib/syntax_tree/node.rb#7571 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#7604 + # source://syntax_tree/lib/syntax_tree/node.rb#7588 def copy(call: T.unsafe(nil), block: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#7600 + # source://syntax_tree/lib/syntax_tree/node.rb#7584 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#7618 + # source://syntax_tree/lib/syntax_tree/node.rb#7602 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#7622 + # source://syntax_tree/lib/syntax_tree/node.rb#7606 def format(q); end - # source://syntax_tree/lib/syntax_tree/node.rb#7643 + # source://syntax_tree/lib/syntax_tree/node.rb#7627 def format_contents(q); end end @@ -7885,52 +8111,52 @@ end # module Namespace # end # -# source://syntax_tree/lib/syntax_tree/node.rb#7795 +# source://syntax_tree/lib/syntax_tree/node.rb#7779 class SyntaxTree::ModuleDeclaration < ::SyntaxTree::Node # @return [ModuleDeclaration] a new instance of ModuleDeclaration # - # source://syntax_tree/lib/syntax_tree/node.rb#7805 + # source://syntax_tree/lib/syntax_tree/node.rb#7789 def initialize(constant:, bodystmt:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#7865 + # source://syntax_tree/lib/syntax_tree/node.rb#7849 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#7812 + # source://syntax_tree/lib/syntax_tree/node.rb#7796 def accept(visitor); end # [BodyStmt] the expressions to be executed in the context of the module # - # source://syntax_tree/lib/syntax_tree/node.rb#7800 + # source://syntax_tree/lib/syntax_tree/node.rb#7784 def bodystmt; end - # source://syntax_tree/lib/syntax_tree/node.rb#7816 + # source://syntax_tree/lib/syntax_tree/node.rb#7800 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#7803 + # source://syntax_tree/lib/syntax_tree/node.rb#7787 def comments; end # [ConstPathRef | ConstRef | TopConstRef] the name of the module # - # source://syntax_tree/lib/syntax_tree/node.rb#7797 + # source://syntax_tree/lib/syntax_tree/node.rb#7781 def constant; end - # source://syntax_tree/lib/syntax_tree/node.rb#7820 + # source://syntax_tree/lib/syntax_tree/node.rb#7804 def copy(constant: T.unsafe(nil), bodystmt: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#7816 + # source://syntax_tree/lib/syntax_tree/node.rb#7800 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#7834 + # source://syntax_tree/lib/syntax_tree/node.rb#7818 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#7843 + # source://syntax_tree/lib/syntax_tree/node.rb#7827 def format(q); end private - # source://syntax_tree/lib/syntax_tree/node.rb#7872 + # source://syntax_tree/lib/syntax_tree/node.rb#7856 def format_declaration(q); end end @@ -8433,42 +8659,42 @@ end # # next(value) # -# source://syntax_tree/lib/syntax_tree/node.rb#7949 +# source://syntax_tree/lib/syntax_tree/node.rb#7933 class SyntaxTree::Next < ::SyntaxTree::Node # @return [Next] a new instance of Next # - # source://syntax_tree/lib/syntax_tree/node.rb#7956 + # source://syntax_tree/lib/syntax_tree/node.rb#7940 def initialize(arguments:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#7991 + # source://syntax_tree/lib/syntax_tree/node.rb#7975 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#7962 + # source://syntax_tree/lib/syntax_tree/node.rb#7946 def accept(visitor); end # [Args] the arguments passed to the next keyword # - # source://syntax_tree/lib/syntax_tree/node.rb#7951 + # source://syntax_tree/lib/syntax_tree/node.rb#7935 def arguments; end - # source://syntax_tree/lib/syntax_tree/node.rb#7966 + # source://syntax_tree/lib/syntax_tree/node.rb#7950 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#7954 + # source://syntax_tree/lib/syntax_tree/node.rb#7938 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#7970 + # source://syntax_tree/lib/syntax_tree/node.rb#7954 def copy(arguments: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#7966 + # source://syntax_tree/lib/syntax_tree/node.rb#7950 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#7983 + # source://syntax_tree/lib/syntax_tree/node.rb#7967 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#7987 + # source://syntax_tree/lib/syntax_tree/node.rb#7971 def format(q); end end @@ -8531,52 +8757,52 @@ end # # not value # -# source://syntax_tree/lib/syntax_tree/node.rb#11093 +# source://syntax_tree/lib/syntax_tree/node.rb#11077 class SyntaxTree::Not < ::SyntaxTree::Node # @return [Not] a new instance of Not # - # source://syntax_tree/lib/syntax_tree/node.rb#11104 + # source://syntax_tree/lib/syntax_tree/node.rb#11088 def initialize(statement:, parentheses:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#11166 + # source://syntax_tree/lib/syntax_tree/node.rb#11150 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#11111 + # source://syntax_tree/lib/syntax_tree/node.rb#11095 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#11115 + # source://syntax_tree/lib/syntax_tree/node.rb#11099 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#11102 + # source://syntax_tree/lib/syntax_tree/node.rb#11086 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#11119 + # source://syntax_tree/lib/syntax_tree/node.rb#11103 def copy(statement: T.unsafe(nil), parentheses: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#11115 + # source://syntax_tree/lib/syntax_tree/node.rb#11099 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#11133 + # source://syntax_tree/lib/syntax_tree/node.rb#11117 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#11142 + # source://syntax_tree/lib/syntax_tree/node.rb#11126 def format(q); end # [boolean] whether or not parentheses were used # - # source://syntax_tree/lib/syntax_tree/node.rb#11098 + # source://syntax_tree/lib/syntax_tree/node.rb#11082 def parentheses; end # [boolean] whether or not parentheses were used # - # source://syntax_tree/lib/syntax_tree/node.rb#11098 + # source://syntax_tree/lib/syntax_tree/node.rb#11082 def parentheses?; end # [nil | Node] the statement on which to operate # - # source://syntax_tree/lib/syntax_tree/node.rb#11095 + # source://syntax_tree/lib/syntax_tree/node.rb#11079 def statement; end end @@ -8586,47 +8812,47 @@ end # # In the example above, the Op node represents the + operator. # -# source://syntax_tree/lib/syntax_tree/node.rb#8001 +# source://syntax_tree/lib/syntax_tree/node.rb#7985 class SyntaxTree::Op < ::SyntaxTree::Node # @return [Op] a new instance of Op # - # source://syntax_tree/lib/syntax_tree/node.rb#8011 + # source://syntax_tree/lib/syntax_tree/node.rb#7995 def initialize(value:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#8044 + # source://syntax_tree/lib/syntax_tree/node.rb#8028 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#8018 + # source://syntax_tree/lib/syntax_tree/node.rb#8002 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#8022 + # source://syntax_tree/lib/syntax_tree/node.rb#8006 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#8009 + # source://syntax_tree/lib/syntax_tree/node.rb#7993 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#8026 + # source://syntax_tree/lib/syntax_tree/node.rb#8010 def copy(value: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#8022 + # source://syntax_tree/lib/syntax_tree/node.rb#8006 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#8036 + # source://syntax_tree/lib/syntax_tree/node.rb#8020 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#8040 + # source://syntax_tree/lib/syntax_tree/node.rb#8024 def format(q); end # [Symbol] the symbol version of the value # - # source://syntax_tree/lib/syntax_tree/node.rb#8006 + # source://syntax_tree/lib/syntax_tree/node.rb#7990 def name; end # [String] the operator # - # source://syntax_tree/lib/syntax_tree/node.rb#8003 + # source://syntax_tree/lib/syntax_tree/node.rb#7987 def value; end end @@ -8635,84 +8861,84 @@ end # # variable += value # -# source://syntax_tree/lib/syntax_tree/node.rb#8054 +# source://syntax_tree/lib/syntax_tree/node.rb#8038 class SyntaxTree::OpAssign < ::SyntaxTree::Node # @return [OpAssign] a new instance of OpAssign # - # source://syntax_tree/lib/syntax_tree/node.rb#8068 + # source://syntax_tree/lib/syntax_tree/node.rb#8052 def initialize(target:, operator:, value:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#8127 + # source://syntax_tree/lib/syntax_tree/node.rb#8111 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#8076 + # source://syntax_tree/lib/syntax_tree/node.rb#8060 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#8080 + # source://syntax_tree/lib/syntax_tree/node.rb#8064 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#8066 + # source://syntax_tree/lib/syntax_tree/node.rb#8050 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#8084 + # source://syntax_tree/lib/syntax_tree/node.rb#8068 def copy(target: T.unsafe(nil), operator: T.unsafe(nil), value: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#8080 + # source://syntax_tree/lib/syntax_tree/node.rb#8064 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#8099 + # source://syntax_tree/lib/syntax_tree/node.rb#8083 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#8109 + # source://syntax_tree/lib/syntax_tree/node.rb#8093 def format(q); end # [Op] the operator being used for the assignment # - # source://syntax_tree/lib/syntax_tree/node.rb#8060 + # source://syntax_tree/lib/syntax_tree/node.rb#8044 def operator; end # [ARefField | ConstPathField | Field | TopConstField | VarField] the target # to assign the result of the expression to # - # source://syntax_tree/lib/syntax_tree/node.rb#8057 + # source://syntax_tree/lib/syntax_tree/node.rb#8041 def target; end # [Node] the expression to be assigned # - # source://syntax_tree/lib/syntax_tree/node.rb#8063 + # source://syntax_tree/lib/syntax_tree/node.rb#8047 def value; end private # @return [Boolean] # - # source://syntax_tree/lib/syntax_tree/node.rb#8134 + # source://syntax_tree/lib/syntax_tree/node.rb#8118 def skip_indent?; end end # The list of nodes that represent patterns inside of pattern matching so that # when a pattern is being printed it knows if it's nested. # -# source://syntax_tree/lib/syntax_tree/node.rb#6171 +# source://syntax_tree/lib/syntax_tree/node.rb#6174 SyntaxTree::PATTERNS = T.let(T.unsafe(nil), Array) # Params represents defining parameters on a method or lambda. # # def method(param) end # -# source://syntax_tree/lib/syntax_tree/node.rb#8212 +# source://syntax_tree/lib/syntax_tree/node.rb#8196 class SyntaxTree::Params < ::SyntaxTree::Node # @return [Params] a new instance of Params # - # source://syntax_tree/lib/syntax_tree/node.rb#8314 + # source://syntax_tree/lib/syntax_tree/node.rb#8298 def initialize(location:, requireds: T.unsafe(nil), optionals: T.unsafe(nil), rest: T.unsafe(nil), posts: T.unsafe(nil), keywords: T.unsafe(nil), keyword_rest: T.unsafe(nil), block: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#8444 + # source://syntax_tree/lib/syntax_tree/node.rb#8428 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#8344 + # source://syntax_tree/lib/syntax_tree/node.rb#8328 def accept(visitor); end # Returns a range representing the possible number of arguments accepted @@ -8724,29 +8950,29 @@ class SyntaxTree::Params < ::SyntaxTree::Node # # has arity 2..4. # - # source://syntax_tree/lib/syntax_tree/node.rb#8467 + # source://syntax_tree/lib/syntax_tree/node.rb#8451 def arity; end # [nil | BlockArg] the optional block parameter # - # source://syntax_tree/lib/syntax_tree/node.rb#8309 + # source://syntax_tree/lib/syntax_tree/node.rb#8293 def block; end - # source://syntax_tree/lib/syntax_tree/node.rb#8348 + # source://syntax_tree/lib/syntax_tree/node.rb#8332 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#8312 + # source://syntax_tree/lib/syntax_tree/node.rb#8296 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#8362 + # source://syntax_tree/lib/syntax_tree/node.rb#8346 def copy(location: T.unsafe(nil), requireds: T.unsafe(nil), optionals: T.unsafe(nil), rest: T.unsafe(nil), posts: T.unsafe(nil), keywords: T.unsafe(nil), keyword_rest: T.unsafe(nil), block: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#8348 + # source://syntax_tree/lib/syntax_tree/node.rb#8332 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#8390 + # source://syntax_tree/lib/syntax_tree/node.rb#8374 def deconstruct_keys(_keys); end # Params nodes are the most complicated in the tree. Occasionally you want @@ -8756,126 +8982,126 @@ class SyntaxTree::Params < ::SyntaxTree::Node # # @return [Boolean] # - # source://syntax_tree/lib/syntax_tree/node.rb#8339 + # source://syntax_tree/lib/syntax_tree/node.rb#8323 def empty?; end - # source://syntax_tree/lib/syntax_tree/node.rb#8404 + # source://syntax_tree/lib/syntax_tree/node.rb#8388 def format(q); end # [nil | :nil | ArgsForward | KwRestParam] the optional keyword rest # parameter # - # source://syntax_tree/lib/syntax_tree/node.rb#8306 + # source://syntax_tree/lib/syntax_tree/node.rb#8290 def keyword_rest; end # [Array[ [ Label, nil | Node ] ]] any keyword parameters and their # optional default values # - # source://syntax_tree/lib/syntax_tree/node.rb#8302 + # source://syntax_tree/lib/syntax_tree/node.rb#8286 def keywords; end # [Array[ [ Ident, Node ] ]] any optional parameters and their default # values # - # source://syntax_tree/lib/syntax_tree/node.rb#8290 + # source://syntax_tree/lib/syntax_tree/node.rb#8274 def optionals; end - # [Array[ Ident ]] any positional parameters that exist after a rest - # parameter + # [Array[ Ident | MLHSParen ]] any positional parameters that exist after a + # rest parameter # - # source://syntax_tree/lib/syntax_tree/node.rb#8298 + # source://syntax_tree/lib/syntax_tree/node.rb#8282 def posts; end # [Array[ Ident | MLHSParen ]] any required parameters # - # source://syntax_tree/lib/syntax_tree/node.rb#8286 + # source://syntax_tree/lib/syntax_tree/node.rb#8270 def requireds; end # [nil | ArgsForward | ExcessedComma | RestParam] the optional rest # parameter # - # source://syntax_tree/lib/syntax_tree/node.rb#8294 + # source://syntax_tree/lib/syntax_tree/node.rb#8278 def rest; end private - # source://syntax_tree/lib/syntax_tree/node.rb#8483 + # source://syntax_tree/lib/syntax_tree/node.rb#8467 def format_contents(q, parts); end end # Formats the keyword position of the parameters. This includes the label, # as well as an optional default value. # -# source://syntax_tree/lib/syntax_tree/node.rb#8240 +# source://syntax_tree/lib/syntax_tree/node.rb#8224 class SyntaxTree::Params::KeywordFormatter # @return [KeywordFormatter] a new instance of KeywordFormatter # - # source://syntax_tree/lib/syntax_tree/node.rb#8247 + # source://syntax_tree/lib/syntax_tree/node.rb#8231 def initialize(name, value); end - # source://syntax_tree/lib/syntax_tree/node.rb#8252 + # source://syntax_tree/lib/syntax_tree/node.rb#8236 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#8256 + # source://syntax_tree/lib/syntax_tree/node.rb#8240 def format(q); end # [Ident] the name of the parameter # - # source://syntax_tree/lib/syntax_tree/node.rb#8242 + # source://syntax_tree/lib/syntax_tree/node.rb#8226 def name; end # [nil | Node] the value of the parameter # - # source://syntax_tree/lib/syntax_tree/node.rb#8245 + # source://syntax_tree/lib/syntax_tree/node.rb#8229 def value; end end # Formats the keyword_rest position of the parameters. This can be the **nil # syntax, the ... syntax, or the ** syntax. # -# source://syntax_tree/lib/syntax_tree/node.rb#8268 +# source://syntax_tree/lib/syntax_tree/node.rb#8252 class SyntaxTree::Params::KeywordRestFormatter # @return [KeywordRestFormatter] a new instance of KeywordRestFormatter # - # source://syntax_tree/lib/syntax_tree/node.rb#8272 + # source://syntax_tree/lib/syntax_tree/node.rb#8256 def initialize(value); end - # source://syntax_tree/lib/syntax_tree/node.rb#8276 + # source://syntax_tree/lib/syntax_tree/node.rb#8260 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#8280 + # source://syntax_tree/lib/syntax_tree/node.rb#8264 def format(q); end # [:nil | ArgsForward | KwRestParam] the value of the parameter # - # source://syntax_tree/lib/syntax_tree/node.rb#8270 + # source://syntax_tree/lib/syntax_tree/node.rb#8254 def value; end end # Formats the optional position of the parameters. This includes the label, # as well as the default value. # -# source://syntax_tree/lib/syntax_tree/node.rb#8215 +# source://syntax_tree/lib/syntax_tree/node.rb#8199 class SyntaxTree::Params::OptionalFormatter # @return [OptionalFormatter] a new instance of OptionalFormatter # - # source://syntax_tree/lib/syntax_tree/node.rb#8222 + # source://syntax_tree/lib/syntax_tree/node.rb#8206 def initialize(name, value); end - # source://syntax_tree/lib/syntax_tree/node.rb#8227 + # source://syntax_tree/lib/syntax_tree/node.rb#8211 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#8231 + # source://syntax_tree/lib/syntax_tree/node.rb#8215 def format(q); end # [Ident] the name of the parameter # - # source://syntax_tree/lib/syntax_tree/node.rb#8217 + # source://syntax_tree/lib/syntax_tree/node.rb#8201 def name; end # [Node] the value of the parameter # - # source://syntax_tree/lib/syntax_tree/node.rb#8220 + # source://syntax_tree/lib/syntax_tree/node.rb#8204 def value; end end @@ -8885,47 +9111,47 @@ end # # (1 + 2) # -# source://syntax_tree/lib/syntax_tree/node.rb#8495 +# source://syntax_tree/lib/syntax_tree/node.rb#8479 class SyntaxTree::Paren < ::SyntaxTree::Node # @return [Paren] a new instance of Paren # - # source://syntax_tree/lib/syntax_tree/node.rb#8505 + # source://syntax_tree/lib/syntax_tree/node.rb#8489 def initialize(lparen:, contents:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#8561 + # source://syntax_tree/lib/syntax_tree/node.rb#8545 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#8512 + # source://syntax_tree/lib/syntax_tree/node.rb#8496 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#8516 + # source://syntax_tree/lib/syntax_tree/node.rb#8500 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#8503 + # source://syntax_tree/lib/syntax_tree/node.rb#8487 def comments; end # [nil | Node] the expression inside the parentheses # - # source://syntax_tree/lib/syntax_tree/node.rb#8500 + # source://syntax_tree/lib/syntax_tree/node.rb#8484 def contents; end - # source://syntax_tree/lib/syntax_tree/node.rb#8520 + # source://syntax_tree/lib/syntax_tree/node.rb#8504 def copy(lparen: T.unsafe(nil), contents: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#8516 + # source://syntax_tree/lib/syntax_tree/node.rb#8500 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#8534 + # source://syntax_tree/lib/syntax_tree/node.rb#8518 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#8543 + # source://syntax_tree/lib/syntax_tree/node.rb#8527 def format(q); end # [LParen] the left parenthesis that opened this statement # - # source://syntax_tree/lib/syntax_tree/node.rb#8497 + # source://syntax_tree/lib/syntax_tree/node.rb#8481 def lparen; end end @@ -8961,18 +9187,18 @@ end # This approach maintains the nice conciseness of the inline version, while # keeping the correct semantic meaning. # -# source://syntax_tree/lib/syntax_tree/node.rb#8171 +# source://syntax_tree/lib/syntax_tree/node.rb#8155 module SyntaxTree::Parentheses class << self - # source://syntax_tree/lib/syntax_tree/node.rb#8191 + # source://syntax_tree/lib/syntax_tree/node.rb#8175 def break(q); end - # source://syntax_tree/lib/syntax_tree/node.rb#8183 + # source://syntax_tree/lib/syntax_tree/node.rb#8167 def flat(q); end end end -# source://syntax_tree/lib/syntax_tree/node.rb#8172 +# source://syntax_tree/lib/syntax_tree/node.rb#8156 SyntaxTree::Parentheses::NODES = T.let(T.unsafe(nil), Array) # Parser is a subclass of the Ripper library that subscribes to the stream of @@ -10735,42 +10961,42 @@ end # Period represents the use of the +.+ operator. It is usually found in method # calls. # -# source://syntax_tree/lib/syntax_tree/node.rb#8569 +# source://syntax_tree/lib/syntax_tree/node.rb#8553 class SyntaxTree::Period < ::SyntaxTree::Node # @return [Period] a new instance of Period # - # source://syntax_tree/lib/syntax_tree/node.rb#8576 + # source://syntax_tree/lib/syntax_tree/node.rb#8560 def initialize(value:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#8611 + # source://syntax_tree/lib/syntax_tree/node.rb#8595 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#8582 + # source://syntax_tree/lib/syntax_tree/node.rb#8566 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#8586 + # source://syntax_tree/lib/syntax_tree/node.rb#8570 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#8574 + # source://syntax_tree/lib/syntax_tree/node.rb#8558 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#8590 + # source://syntax_tree/lib/syntax_tree/node.rb#8574 def copy(value: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#8586 + # source://syntax_tree/lib/syntax_tree/node.rb#8570 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#8603 + # source://syntax_tree/lib/syntax_tree/node.rb#8587 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#8607 + # source://syntax_tree/lib/syntax_tree/node.rb#8591 def format(q); end # [String] the period # - # source://syntax_tree/lib/syntax_tree/node.rb#8571 + # source://syntax_tree/lib/syntax_tree/node.rb#8555 def value; end end @@ -10829,42 +11055,42 @@ end # This can be a plain local variable like the example above. It can also be a # a class variable, a global variable, or an instance variable. # -# source://syntax_tree/lib/syntax_tree/node.rb#11677 +# source://syntax_tree/lib/syntax_tree/node.rb#11661 class SyntaxTree::PinnedVarRef < ::SyntaxTree::Node # @return [PinnedVarRef] a new instance of PinnedVarRef # - # source://syntax_tree/lib/syntax_tree/node.rb#11684 + # source://syntax_tree/lib/syntax_tree/node.rb#11668 def initialize(value:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#11722 + # source://syntax_tree/lib/syntax_tree/node.rb#11706 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#11690 + # source://syntax_tree/lib/syntax_tree/node.rb#11674 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#11694 + # source://syntax_tree/lib/syntax_tree/node.rb#11678 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#11682 + # source://syntax_tree/lib/syntax_tree/node.rb#11666 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#11698 + # source://syntax_tree/lib/syntax_tree/node.rb#11682 def copy(value: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#11694 + # source://syntax_tree/lib/syntax_tree/node.rb#11678 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#11711 + # source://syntax_tree/lib/syntax_tree/node.rb#11695 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#11715 + # source://syntax_tree/lib/syntax_tree/node.rb#11699 def format(q); end # [Const | CVar | GVar | Ident | IVar] the value of this node # - # source://syntax_tree/lib/syntax_tree/node.rb#11679 + # source://syntax_tree/lib/syntax_tree/node.rb#11663 def value; end end @@ -10917,42 +11143,42 @@ end # Program represents the overall syntax tree. # -# source://syntax_tree/lib/syntax_tree/node.rb#8617 +# source://syntax_tree/lib/syntax_tree/node.rb#8601 class SyntaxTree::Program < ::SyntaxTree::Node # @return [Program] a new instance of Program # - # source://syntax_tree/lib/syntax_tree/node.rb#8624 + # source://syntax_tree/lib/syntax_tree/node.rb#8608 def initialize(statements:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#8664 + # source://syntax_tree/lib/syntax_tree/node.rb#8648 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#8630 + # source://syntax_tree/lib/syntax_tree/node.rb#8614 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#8634 + # source://syntax_tree/lib/syntax_tree/node.rb#8618 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#8622 + # source://syntax_tree/lib/syntax_tree/node.rb#8606 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#8638 + # source://syntax_tree/lib/syntax_tree/node.rb#8622 def copy(statements: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#8634 + # source://syntax_tree/lib/syntax_tree/node.rb#8618 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#8651 + # source://syntax_tree/lib/syntax_tree/node.rb#8635 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#8655 + # source://syntax_tree/lib/syntax_tree/node.rb#8639 def format(q); end # [Statements] the top-level expressions of the program # - # source://syntax_tree/lib/syntax_tree/node.rb#8619 + # source://syntax_tree/lib/syntax_tree/node.rb#8603 def statements; end end @@ -10960,47 +11186,47 @@ end # # %i[one two three] # -# source://syntax_tree/lib/syntax_tree/node.rb#8673 +# source://syntax_tree/lib/syntax_tree/node.rb#8657 class SyntaxTree::QSymbols < ::SyntaxTree::Node # @return [QSymbols] a new instance of QSymbols # - # source://syntax_tree/lib/syntax_tree/node.rb#8683 + # source://syntax_tree/lib/syntax_tree/node.rb#8667 def initialize(beginning:, elements:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#8743 + # source://syntax_tree/lib/syntax_tree/node.rb#8727 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#8690 + # source://syntax_tree/lib/syntax_tree/node.rb#8674 def accept(visitor); end # [QSymbolsBeg] the token that opens this array literal # - # source://syntax_tree/lib/syntax_tree/node.rb#8675 + # source://syntax_tree/lib/syntax_tree/node.rb#8659 def beginning; end - # source://syntax_tree/lib/syntax_tree/node.rb#8694 + # source://syntax_tree/lib/syntax_tree/node.rb#8678 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#8681 + # source://syntax_tree/lib/syntax_tree/node.rb#8665 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#8698 + # source://syntax_tree/lib/syntax_tree/node.rb#8682 def copy(beginning: T.unsafe(nil), elements: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#8694 + # source://syntax_tree/lib/syntax_tree/node.rb#8678 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#8712 + # source://syntax_tree/lib/syntax_tree/node.rb#8696 def deconstruct_keys(_keys); end # [Array[ TStringContent ]] the elements of the array # - # source://syntax_tree/lib/syntax_tree/node.rb#8678 + # source://syntax_tree/lib/syntax_tree/node.rb#8662 def elements; end - # source://syntax_tree/lib/syntax_tree/node.rb#8721 + # source://syntax_tree/lib/syntax_tree/node.rb#8705 def format(q); end end @@ -11012,34 +11238,34 @@ end # these kinds of arrays can start with a lot of different delimiter types # (e.g., %i| or %i<). # -# source://syntax_tree/lib/syntax_tree/node.rb#8756 +# source://syntax_tree/lib/syntax_tree/node.rb#8740 class SyntaxTree::QSymbolsBeg < ::SyntaxTree::Node # @return [QSymbolsBeg] a new instance of QSymbolsBeg # - # source://syntax_tree/lib/syntax_tree/node.rb#8760 + # source://syntax_tree/lib/syntax_tree/node.rb#8744 def initialize(value:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#8786 + # source://syntax_tree/lib/syntax_tree/node.rb#8770 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#8765 + # source://syntax_tree/lib/syntax_tree/node.rb#8749 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#8769 + # source://syntax_tree/lib/syntax_tree/node.rb#8753 def child_nodes; end - # source://syntax_tree/lib/syntax_tree/node.rb#8773 + # source://syntax_tree/lib/syntax_tree/node.rb#8757 def copy(value: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#8769 + # source://syntax_tree/lib/syntax_tree/node.rb#8753 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#8782 + # source://syntax_tree/lib/syntax_tree/node.rb#8766 def deconstruct_keys(_keys); end # [String] the beginning of the array literal # - # source://syntax_tree/lib/syntax_tree/node.rb#8758 + # source://syntax_tree/lib/syntax_tree/node.rb#8742 def value; end end @@ -11047,47 +11273,47 @@ end # # %w[one two three] # -# source://syntax_tree/lib/syntax_tree/node.rb#8795 +# source://syntax_tree/lib/syntax_tree/node.rb#8779 class SyntaxTree::QWords < ::SyntaxTree::Node # @return [QWords] a new instance of QWords # - # source://syntax_tree/lib/syntax_tree/node.rb#8805 + # source://syntax_tree/lib/syntax_tree/node.rb#8789 def initialize(beginning:, elements:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#8861 + # source://syntax_tree/lib/syntax_tree/node.rb#8845 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#8812 + # source://syntax_tree/lib/syntax_tree/node.rb#8796 def accept(visitor); end # [QWordsBeg] the token that opens this array literal # - # source://syntax_tree/lib/syntax_tree/node.rb#8797 + # source://syntax_tree/lib/syntax_tree/node.rb#8781 def beginning; end - # source://syntax_tree/lib/syntax_tree/node.rb#8816 + # source://syntax_tree/lib/syntax_tree/node.rb#8800 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#8803 + # source://syntax_tree/lib/syntax_tree/node.rb#8787 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#8820 + # source://syntax_tree/lib/syntax_tree/node.rb#8804 def copy(beginning: T.unsafe(nil), elements: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#8816 + # source://syntax_tree/lib/syntax_tree/node.rb#8800 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#8830 + # source://syntax_tree/lib/syntax_tree/node.rb#8814 def deconstruct_keys(_keys); end # [Array[ TStringContent ]] the elements of the array # - # source://syntax_tree/lib/syntax_tree/node.rb#8800 + # source://syntax_tree/lib/syntax_tree/node.rb#8784 def elements; end - # source://syntax_tree/lib/syntax_tree/node.rb#8839 + # source://syntax_tree/lib/syntax_tree/node.rb#8823 def format(q); end end @@ -11099,41 +11325,41 @@ end # kinds of arrays can start with a lot of different delimiter types (e.g., # %w| or %w<). # -# source://syntax_tree/lib/syntax_tree/node.rb#8874 +# source://syntax_tree/lib/syntax_tree/node.rb#8858 class SyntaxTree::QWordsBeg < ::SyntaxTree::Node # @return [QWordsBeg] a new instance of QWordsBeg # - # source://syntax_tree/lib/syntax_tree/node.rb#8878 + # source://syntax_tree/lib/syntax_tree/node.rb#8862 def initialize(value:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#8904 + # source://syntax_tree/lib/syntax_tree/node.rb#8888 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#8883 + # source://syntax_tree/lib/syntax_tree/node.rb#8867 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#8887 + # source://syntax_tree/lib/syntax_tree/node.rb#8871 def child_nodes; end - # source://syntax_tree/lib/syntax_tree/node.rb#8891 + # source://syntax_tree/lib/syntax_tree/node.rb#8875 def copy(value: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#8887 + # source://syntax_tree/lib/syntax_tree/node.rb#8871 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#8900 + # source://syntax_tree/lib/syntax_tree/node.rb#8884 def deconstruct_keys(_keys); end # [String] the beginning of the array literal # - # source://syntax_tree/lib/syntax_tree/node.rb#8876 + # source://syntax_tree/lib/syntax_tree/node.rb#8860 def value; end end # Responsible for providing information about quotes to be used for strings # and dynamic symbols. # -# source://syntax_tree/lib/syntax_tree/node.rb#4612 +# source://syntax_tree/lib/syntax_tree/node.rb#4615 module SyntaxTree::Quotes class << self # If there is some part of this string that matches an escape sequence or @@ -11144,25 +11370,25 @@ module SyntaxTree::Quotes # # @return [Boolean] # - # source://syntax_tree/lib/syntax_tree/node.rb#4621 + # source://syntax_tree/lib/syntax_tree/node.rb#4624 def locked?(node, quote); end # Find the matching closing quote for the given opening quote. # - # source://syntax_tree/lib/syntax_tree/node.rb#4628 + # source://syntax_tree/lib/syntax_tree/node.rb#4631 def matching(quote); end # Escape and unescape single and double quotes as needed to be able to # enclose +content+ with +enclosing+. # - # source://syntax_tree/lib/syntax_tree/node.rb#4634 + # source://syntax_tree/lib/syntax_tree/node.rb#4637 def normalize(content, enclosing); end end end # The matching pairs of quotes that can be used with % literals. # -# source://syntax_tree/lib/syntax_tree/node.rb#4614 +# source://syntax_tree/lib/syntax_tree/node.rb#4617 SyntaxTree::Quotes::PAIRS = T.let(T.unsafe(nil), Hash) # RAssign represents a single-line pattern match. @@ -11170,152 +11396,152 @@ SyntaxTree::Quotes::PAIRS = T.let(T.unsafe(nil), Hash) # value in pattern # value => pattern # -# source://syntax_tree/lib/syntax_tree/node.rb#3198 +# source://syntax_tree/lib/syntax_tree/node.rb#3201 class SyntaxTree::RAssign < ::SyntaxTree::Node # @return [RAssign] a new instance of RAssign # - # source://syntax_tree/lib/syntax_tree/node.rb#3212 + # source://syntax_tree/lib/syntax_tree/node.rb#3215 def initialize(value:, operator:, pattern:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#3274 + # source://syntax_tree/lib/syntax_tree/node.rb#3277 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#3220 + # source://syntax_tree/lib/syntax_tree/node.rb#3223 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#3224 + # source://syntax_tree/lib/syntax_tree/node.rb#3227 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#3210 + # source://syntax_tree/lib/syntax_tree/node.rb#3213 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#3228 + # source://syntax_tree/lib/syntax_tree/node.rb#3231 def copy(value: T.unsafe(nil), operator: T.unsafe(nil), pattern: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#3224 + # source://syntax_tree/lib/syntax_tree/node.rb#3227 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#3243 + # source://syntax_tree/lib/syntax_tree/node.rb#3246 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#3253 + # source://syntax_tree/lib/syntax_tree/node.rb#3256 def format(q); end # [Kw | Op] the operator being used to match against the pattern, which is # either => or in # - # source://syntax_tree/lib/syntax_tree/node.rb#3204 + # source://syntax_tree/lib/syntax_tree/node.rb#3207 def operator; end # [Node] the pattern on the right-hand side of the expression # - # source://syntax_tree/lib/syntax_tree/node.rb#3207 + # source://syntax_tree/lib/syntax_tree/node.rb#3210 def pattern; end # [Node] the left-hand expression # - # source://syntax_tree/lib/syntax_tree/node.rb#3200 + # source://syntax_tree/lib/syntax_tree/node.rb#3203 def value; end end # RBrace represents the use of a right brace, i.e., +++. # -# source://syntax_tree/lib/syntax_tree/node.rb#8961 +# source://syntax_tree/lib/syntax_tree/node.rb#8945 class SyntaxTree::RBrace < ::SyntaxTree::Node # @return [RBrace] a new instance of RBrace # - # source://syntax_tree/lib/syntax_tree/node.rb#8965 + # source://syntax_tree/lib/syntax_tree/node.rb#8949 def initialize(value:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#8991 + # source://syntax_tree/lib/syntax_tree/node.rb#8975 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#8970 + # source://syntax_tree/lib/syntax_tree/node.rb#8954 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#8974 + # source://syntax_tree/lib/syntax_tree/node.rb#8958 def child_nodes; end - # source://syntax_tree/lib/syntax_tree/node.rb#8978 + # source://syntax_tree/lib/syntax_tree/node.rb#8962 def copy(value: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#8974 + # source://syntax_tree/lib/syntax_tree/node.rb#8958 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#8987 + # source://syntax_tree/lib/syntax_tree/node.rb#8971 def deconstruct_keys(_keys); end # [String] the right brace # - # source://syntax_tree/lib/syntax_tree/node.rb#8963 + # source://syntax_tree/lib/syntax_tree/node.rb#8947 def value; end end # RBracket represents the use of a right bracket, i.e., +]+. # -# source://syntax_tree/lib/syntax_tree/node.rb#8997 +# source://syntax_tree/lib/syntax_tree/node.rb#8981 class SyntaxTree::RBracket < ::SyntaxTree::Node # @return [RBracket] a new instance of RBracket # - # source://syntax_tree/lib/syntax_tree/node.rb#9001 + # source://syntax_tree/lib/syntax_tree/node.rb#8985 def initialize(value:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#9027 + # source://syntax_tree/lib/syntax_tree/node.rb#9011 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#9006 + # source://syntax_tree/lib/syntax_tree/node.rb#8990 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#9010 + # source://syntax_tree/lib/syntax_tree/node.rb#8994 def child_nodes; end - # source://syntax_tree/lib/syntax_tree/node.rb#9014 + # source://syntax_tree/lib/syntax_tree/node.rb#8998 def copy(value: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#9010 + # source://syntax_tree/lib/syntax_tree/node.rb#8994 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#9023 + # source://syntax_tree/lib/syntax_tree/node.rb#9007 def deconstruct_keys(_keys); end # [String] the right bracket # - # source://syntax_tree/lib/syntax_tree/node.rb#8999 + # source://syntax_tree/lib/syntax_tree/node.rb#8983 def value; end end # RParen represents the use of a right parenthesis, i.e., +)+. # -# source://syntax_tree/lib/syntax_tree/node.rb#9767 +# source://syntax_tree/lib/syntax_tree/node.rb#9751 class SyntaxTree::RParen < ::SyntaxTree::Node # @return [RParen] a new instance of RParen # - # source://syntax_tree/lib/syntax_tree/node.rb#9771 + # source://syntax_tree/lib/syntax_tree/node.rb#9755 def initialize(value:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#9797 + # source://syntax_tree/lib/syntax_tree/node.rb#9781 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#9776 + # source://syntax_tree/lib/syntax_tree/node.rb#9760 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#9780 + # source://syntax_tree/lib/syntax_tree/node.rb#9764 def child_nodes; end - # source://syntax_tree/lib/syntax_tree/node.rb#9784 + # source://syntax_tree/lib/syntax_tree/node.rb#9768 def copy(value: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#9780 + # source://syntax_tree/lib/syntax_tree/node.rb#9764 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#9793 + # source://syntax_tree/lib/syntax_tree/node.rb#9777 def deconstruct_keys(_keys); end # [String] the parenthesis # - # source://syntax_tree/lib/syntax_tree/node.rb#9769 + # source://syntax_tree/lib/syntax_tree/node.rb#9753 def value; end end @@ -11331,52 +11557,52 @@ end # # One of the sides of the expression may be nil, but not both. # -# source://syntax_tree/lib/syntax_tree/node.rb#4537 +# source://syntax_tree/lib/syntax_tree/node.rb#4540 class SyntaxTree::RangeNode < ::SyntaxTree::Node # @return [RangeNode] a new instance of RangeNode # - # source://syntax_tree/lib/syntax_tree/node.rb#4550 + # source://syntax_tree/lib/syntax_tree/node.rb#4553 def initialize(left:, operator:, right:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#4604 + # source://syntax_tree/lib/syntax_tree/node.rb#4607 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#4558 + # source://syntax_tree/lib/syntax_tree/node.rb#4561 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#4562 + # source://syntax_tree/lib/syntax_tree/node.rb#4565 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#4548 + # source://syntax_tree/lib/syntax_tree/node.rb#4551 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#4566 + # source://syntax_tree/lib/syntax_tree/node.rb#4569 def copy(left: T.unsafe(nil), operator: T.unsafe(nil), right: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#4562 + # source://syntax_tree/lib/syntax_tree/node.rb#4565 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#4581 + # source://syntax_tree/lib/syntax_tree/node.rb#4584 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#4591 + # source://syntax_tree/lib/syntax_tree/node.rb#4594 def format(q); end # [nil | Node] the left side of the expression # - # source://syntax_tree/lib/syntax_tree/node.rb#4539 + # source://syntax_tree/lib/syntax_tree/node.rb#4542 def left; end # [Op] the operator used for this range # - # source://syntax_tree/lib/syntax_tree/node.rb#4542 + # source://syntax_tree/lib/syntax_tree/node.rb#4545 def operator; end # [nil | Node] the right side of the expression # - # source://syntax_tree/lib/syntax_tree/node.rb#4545 + # source://syntax_tree/lib/syntax_tree/node.rb#4548 def right; end end @@ -11384,42 +11610,42 @@ end # # 1r # -# source://syntax_tree/lib/syntax_tree/node.rb#8913 +# source://syntax_tree/lib/syntax_tree/node.rb#8897 class SyntaxTree::RationalLiteral < ::SyntaxTree::Node # @return [RationalLiteral] a new instance of RationalLiteral # - # source://syntax_tree/lib/syntax_tree/node.rb#8920 + # source://syntax_tree/lib/syntax_tree/node.rb#8904 def initialize(value:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#8955 + # source://syntax_tree/lib/syntax_tree/node.rb#8939 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#8926 + # source://syntax_tree/lib/syntax_tree/node.rb#8910 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#8930 + # source://syntax_tree/lib/syntax_tree/node.rb#8914 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#8918 + # source://syntax_tree/lib/syntax_tree/node.rb#8902 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#8934 + # source://syntax_tree/lib/syntax_tree/node.rb#8918 def copy(value: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#8930 + # source://syntax_tree/lib/syntax_tree/node.rb#8914 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#8947 + # source://syntax_tree/lib/syntax_tree/node.rb#8931 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#8951 + # source://syntax_tree/lib/syntax_tree/node.rb#8935 def format(q); end # [String] the rational number literal # - # source://syntax_tree/lib/syntax_tree/node.rb#8915 + # source://syntax_tree/lib/syntax_tree/node.rb#8899 def value; end end @@ -11427,37 +11653,37 @@ end # # redo # -# source://syntax_tree/lib/syntax_tree/node.rb#9036 +# source://syntax_tree/lib/syntax_tree/node.rb#9020 class SyntaxTree::Redo < ::SyntaxTree::Node # @return [Redo] a new instance of Redo # - # source://syntax_tree/lib/syntax_tree/node.rb#9040 + # source://syntax_tree/lib/syntax_tree/node.rb#9024 def initialize(location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#9070 + # source://syntax_tree/lib/syntax_tree/node.rb#9054 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#9045 + # source://syntax_tree/lib/syntax_tree/node.rb#9029 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#9049 + # source://syntax_tree/lib/syntax_tree/node.rb#9033 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#9038 + # source://syntax_tree/lib/syntax_tree/node.rb#9022 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#9053 + # source://syntax_tree/lib/syntax_tree/node.rb#9037 def copy(location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#9049 + # source://syntax_tree/lib/syntax_tree/node.rb#9033 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#9062 + # source://syntax_tree/lib/syntax_tree/node.rb#9046 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#9066 + # source://syntax_tree/lib/syntax_tree/node.rb#9050 def format(q); end end @@ -11470,34 +11696,34 @@ end # # %r{.+} # -# source://syntax_tree/lib/syntax_tree/node.rb#9132 +# source://syntax_tree/lib/syntax_tree/node.rb#9116 class SyntaxTree::RegexpBeg < ::SyntaxTree::Node # @return [RegexpBeg] a new instance of RegexpBeg # - # source://syntax_tree/lib/syntax_tree/node.rb#9136 + # source://syntax_tree/lib/syntax_tree/node.rb#9120 def initialize(value:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#9162 + # source://syntax_tree/lib/syntax_tree/node.rb#9146 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#9141 + # source://syntax_tree/lib/syntax_tree/node.rb#9125 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#9145 + # source://syntax_tree/lib/syntax_tree/node.rb#9129 def child_nodes; end - # source://syntax_tree/lib/syntax_tree/node.rb#9149 + # source://syntax_tree/lib/syntax_tree/node.rb#9133 def copy(value: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#9145 + # source://syntax_tree/lib/syntax_tree/node.rb#9129 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#9158 + # source://syntax_tree/lib/syntax_tree/node.rb#9142 def deconstruct_keys(_keys); end # [String] the beginning of the regular expression # - # source://syntax_tree/lib/syntax_tree/node.rb#9134 + # source://syntax_tree/lib/syntax_tree/node.rb#9118 def value; end end @@ -11508,40 +11734,40 @@ end # In the example above, a RegexpContent node represents everything contained # within the forward slashes. # -# source://syntax_tree/lib/syntax_tree/node.rb#9081 +# source://syntax_tree/lib/syntax_tree/node.rb#9065 class SyntaxTree::RegexpContent < ::SyntaxTree::Node # @return [RegexpContent] a new instance of RegexpContent # - # source://syntax_tree/lib/syntax_tree/node.rb#9089 + # source://syntax_tree/lib/syntax_tree/node.rb#9073 def initialize(beginning:, parts:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#9117 + # source://syntax_tree/lib/syntax_tree/node.rb#9101 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#9095 + # source://syntax_tree/lib/syntax_tree/node.rb#9079 def accept(visitor); end # [String] the opening of the regular expression # - # source://syntax_tree/lib/syntax_tree/node.rb#9083 + # source://syntax_tree/lib/syntax_tree/node.rb#9067 def beginning; end - # source://syntax_tree/lib/syntax_tree/node.rb#9099 + # source://syntax_tree/lib/syntax_tree/node.rb#9083 def child_nodes; end - # source://syntax_tree/lib/syntax_tree/node.rb#9103 + # source://syntax_tree/lib/syntax_tree/node.rb#9087 def copy(beginning: T.unsafe(nil), parts: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#9099 + # source://syntax_tree/lib/syntax_tree/node.rb#9083 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#9113 + # source://syntax_tree/lib/syntax_tree/node.rb#9097 def deconstruct_keys(_keys); end # [Array[ StringDVar | StringEmbExpr | TStringContent ]] the parts of the # regular expression # - # source://syntax_tree/lib/syntax_tree/node.rb#9087 + # source://syntax_tree/lib/syntax_tree/node.rb#9071 def parts; end end @@ -11555,34 +11781,34 @@ end # # %r{.+}m # -# source://syntax_tree/lib/syntax_tree/node.rb#9177 +# source://syntax_tree/lib/syntax_tree/node.rb#9161 class SyntaxTree::RegexpEnd < ::SyntaxTree::Node # @return [RegexpEnd] a new instance of RegexpEnd # - # source://syntax_tree/lib/syntax_tree/node.rb#9181 + # source://syntax_tree/lib/syntax_tree/node.rb#9165 def initialize(value:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#9207 + # source://syntax_tree/lib/syntax_tree/node.rb#9191 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#9186 + # source://syntax_tree/lib/syntax_tree/node.rb#9170 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#9190 + # source://syntax_tree/lib/syntax_tree/node.rb#9174 def child_nodes; end - # source://syntax_tree/lib/syntax_tree/node.rb#9194 + # source://syntax_tree/lib/syntax_tree/node.rb#9178 def copy(value: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#9190 + # source://syntax_tree/lib/syntax_tree/node.rb#9174 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#9203 + # source://syntax_tree/lib/syntax_tree/node.rb#9187 def deconstruct_keys(_keys); end # [String] the end of the regular expression # - # source://syntax_tree/lib/syntax_tree/node.rb#9179 + # source://syntax_tree/lib/syntax_tree/node.rb#9163 def value; end end @@ -11590,56 +11816,56 @@ end # # /.+/ # -# source://syntax_tree/lib/syntax_tree/node.rb#9216 +# source://syntax_tree/lib/syntax_tree/node.rb#9200 class SyntaxTree::RegexpLiteral < ::SyntaxTree::Node # @return [RegexpLiteral] a new instance of RegexpLiteral # - # source://syntax_tree/lib/syntax_tree/node.rb#9230 + # source://syntax_tree/lib/syntax_tree/node.rb#9214 def initialize(beginning:, ending:, parts:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#9312 + # source://syntax_tree/lib/syntax_tree/node.rb#9296 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#9238 + # source://syntax_tree/lib/syntax_tree/node.rb#9222 def accept(visitor); end # [String] the beginning of the regular expression literal # - # source://syntax_tree/lib/syntax_tree/node.rb#9218 + # source://syntax_tree/lib/syntax_tree/node.rb#9202 def beginning; end - # source://syntax_tree/lib/syntax_tree/node.rb#9242 + # source://syntax_tree/lib/syntax_tree/node.rb#9226 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#9228 + # source://syntax_tree/lib/syntax_tree/node.rb#9212 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#9246 + # source://syntax_tree/lib/syntax_tree/node.rb#9230 def copy(beginning: T.unsafe(nil), ending: T.unsafe(nil), parts: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#9242 + # source://syntax_tree/lib/syntax_tree/node.rb#9226 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#9261 + # source://syntax_tree/lib/syntax_tree/node.rb#9245 def deconstruct_keys(_keys); end # [String] the ending of the regular expression literal # - # source://syntax_tree/lib/syntax_tree/node.rb#9221 + # source://syntax_tree/lib/syntax_tree/node.rb#9205 def ending; end - # source://syntax_tree/lib/syntax_tree/node.rb#9272 + # source://syntax_tree/lib/syntax_tree/node.rb#9256 def format(q); end - # source://syntax_tree/lib/syntax_tree/node.rb#9318 + # source://syntax_tree/lib/syntax_tree/node.rb#9302 def options; end # [Array[ StringEmbExpr | StringDVar | TStringContent ]] the parts of the # regular expression literal # - # source://syntax_tree/lib/syntax_tree/node.rb#9225 + # source://syntax_tree/lib/syntax_tree/node.rb#9209 def parts; end private @@ -11651,12 +11877,12 @@ class SyntaxTree::RegexpLiteral < ::SyntaxTree::Node # # @return [Boolean] # - # source://syntax_tree/lib/syntax_tree/node.rb#9334 + # source://syntax_tree/lib/syntax_tree/node.rb#9318 def ambiguous?(q); end # @return [Boolean] # - # source://syntax_tree/lib/syntax_tree/node.rb#9324 + # source://syntax_tree/lib/syntax_tree/node.rb#9308 def include?(pattern); end end @@ -11666,60 +11892,60 @@ end # rescue # end # -# source://syntax_tree/lib/syntax_tree/node.rb#9424 +# source://syntax_tree/lib/syntax_tree/node.rb#9408 class SyntaxTree::Rescue < ::SyntaxTree::Node # @return [Rescue] a new instance of Rescue # - # source://syntax_tree/lib/syntax_tree/node.rb#9440 + # source://syntax_tree/lib/syntax_tree/node.rb#9424 def initialize(keyword:, exception:, statements:, consequent:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#9536 + # source://syntax_tree/lib/syntax_tree/node.rb#9520 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#9471 + # source://syntax_tree/lib/syntax_tree/node.rb#9455 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#9449 + # source://syntax_tree/lib/syntax_tree/node.rb#9433 def bind_end(end_char, end_column); end - # source://syntax_tree/lib/syntax_tree/node.rb#9475 + # source://syntax_tree/lib/syntax_tree/node.rb#9459 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#9438 + # source://syntax_tree/lib/syntax_tree/node.rb#9422 def comments; end # [nil | Rescue] the optional next clause in the chain # - # source://syntax_tree/lib/syntax_tree/node.rb#9435 + # source://syntax_tree/lib/syntax_tree/node.rb#9419 def consequent; end - # source://syntax_tree/lib/syntax_tree/node.rb#9479 + # source://syntax_tree/lib/syntax_tree/node.rb#9463 def copy(keyword: T.unsafe(nil), exception: T.unsafe(nil), statements: T.unsafe(nil), consequent: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#9475 + # source://syntax_tree/lib/syntax_tree/node.rb#9459 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#9501 + # source://syntax_tree/lib/syntax_tree/node.rb#9485 def deconstruct_keys(_keys); end # [nil | RescueEx] the exceptions being rescued # - # source://syntax_tree/lib/syntax_tree/node.rb#9429 + # source://syntax_tree/lib/syntax_tree/node.rb#9413 def exception; end - # source://syntax_tree/lib/syntax_tree/node.rb#9512 + # source://syntax_tree/lib/syntax_tree/node.rb#9496 def format(q); end # [Kw] the rescue keyword # - # source://syntax_tree/lib/syntax_tree/node.rb#9426 + # source://syntax_tree/lib/syntax_tree/node.rb#9410 def keyword; end # [Statements] the expressions to evaluate when an error is rescued # - # source://syntax_tree/lib/syntax_tree/node.rb#9432 + # source://syntax_tree/lib/syntax_tree/node.rb#9416 def statements; end end @@ -11729,48 +11955,48 @@ end # rescue Exception => exception # end # -# source://syntax_tree/lib/syntax_tree/node.rb#9349 +# source://syntax_tree/lib/syntax_tree/node.rb#9333 class SyntaxTree::RescueEx < ::SyntaxTree::Node # @return [RescueEx] a new instance of RescueEx # - # source://syntax_tree/lib/syntax_tree/node.rb#9360 + # source://syntax_tree/lib/syntax_tree/node.rb#9344 def initialize(exceptions:, variable:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#9412 + # source://syntax_tree/lib/syntax_tree/node.rb#9396 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#9367 + # source://syntax_tree/lib/syntax_tree/node.rb#9351 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#9371 + # source://syntax_tree/lib/syntax_tree/node.rb#9355 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#9358 + # source://syntax_tree/lib/syntax_tree/node.rb#9342 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#9375 + # source://syntax_tree/lib/syntax_tree/node.rb#9359 def copy(exceptions: T.unsafe(nil), variable: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#9371 + # source://syntax_tree/lib/syntax_tree/node.rb#9355 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#9389 + # source://syntax_tree/lib/syntax_tree/node.rb#9373 def deconstruct_keys(_keys); end # [nil | Node] the list of exceptions being rescued # - # source://syntax_tree/lib/syntax_tree/node.rb#9351 + # source://syntax_tree/lib/syntax_tree/node.rb#9335 def exceptions; end - # source://syntax_tree/lib/syntax_tree/node.rb#9398 + # source://syntax_tree/lib/syntax_tree/node.rb#9382 def format(q); end # [nil | Field | VarField] the expression being used to capture the raised # exception # - # source://syntax_tree/lib/syntax_tree/node.rb#9355 + # source://syntax_tree/lib/syntax_tree/node.rb#9339 def variable; end end @@ -11778,47 +12004,47 @@ end # # expression rescue value # -# source://syntax_tree/lib/syntax_tree/node.rb#9547 +# source://syntax_tree/lib/syntax_tree/node.rb#9531 class SyntaxTree::RescueMod < ::SyntaxTree::Node # @return [RescueMod] a new instance of RescueMod # - # source://syntax_tree/lib/syntax_tree/node.rb#9557 + # source://syntax_tree/lib/syntax_tree/node.rb#9541 def initialize(statement:, value:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#9613 + # source://syntax_tree/lib/syntax_tree/node.rb#9597 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#9564 + # source://syntax_tree/lib/syntax_tree/node.rb#9548 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#9568 + # source://syntax_tree/lib/syntax_tree/node.rb#9552 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#9555 + # source://syntax_tree/lib/syntax_tree/node.rb#9539 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#9572 + # source://syntax_tree/lib/syntax_tree/node.rb#9556 def copy(statement: T.unsafe(nil), value: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#9568 + # source://syntax_tree/lib/syntax_tree/node.rb#9552 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#9586 + # source://syntax_tree/lib/syntax_tree/node.rb#9570 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#9595 + # source://syntax_tree/lib/syntax_tree/node.rb#9579 def format(q); end # [Node] the expression to execute # - # source://syntax_tree/lib/syntax_tree/node.rb#9549 + # source://syntax_tree/lib/syntax_tree/node.rb#9533 def statement; end # [Node] the value to use if the executed expression raises an error # - # source://syntax_tree/lib/syntax_tree/node.rb#9552 + # source://syntax_tree/lib/syntax_tree/node.rb#9536 def value; end end @@ -11827,42 +12053,42 @@ end # # def method(*rest) end # -# source://syntax_tree/lib/syntax_tree/node.rb#9624 +# source://syntax_tree/lib/syntax_tree/node.rb#9608 class SyntaxTree::RestParam < ::SyntaxTree::Node # @return [RestParam] a new instance of RestParam # - # source://syntax_tree/lib/syntax_tree/node.rb#9631 + # source://syntax_tree/lib/syntax_tree/node.rb#9615 def initialize(name:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#9667 + # source://syntax_tree/lib/syntax_tree/node.rb#9651 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#9637 + # source://syntax_tree/lib/syntax_tree/node.rb#9621 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#9641 + # source://syntax_tree/lib/syntax_tree/node.rb#9625 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#9629 + # source://syntax_tree/lib/syntax_tree/node.rb#9613 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#9645 + # source://syntax_tree/lib/syntax_tree/node.rb#9629 def copy(name: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#9641 + # source://syntax_tree/lib/syntax_tree/node.rb#9625 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#9658 + # source://syntax_tree/lib/syntax_tree/node.rb#9642 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#9662 + # source://syntax_tree/lib/syntax_tree/node.rb#9646 def format(q); end # [nil | Ident] the name of the parameter # - # source://syntax_tree/lib/syntax_tree/node.rb#9626 + # source://syntax_tree/lib/syntax_tree/node.rb#9610 def name; end end @@ -11870,37 +12096,37 @@ end # # retry # -# source://syntax_tree/lib/syntax_tree/node.rb#9676 +# source://syntax_tree/lib/syntax_tree/node.rb#9660 class SyntaxTree::Retry < ::SyntaxTree::Node # @return [Retry] a new instance of Retry # - # source://syntax_tree/lib/syntax_tree/node.rb#9680 + # source://syntax_tree/lib/syntax_tree/node.rb#9664 def initialize(location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#9710 + # source://syntax_tree/lib/syntax_tree/node.rb#9694 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#9685 + # source://syntax_tree/lib/syntax_tree/node.rb#9669 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#9689 + # source://syntax_tree/lib/syntax_tree/node.rb#9673 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#9678 + # source://syntax_tree/lib/syntax_tree/node.rb#9662 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#9693 + # source://syntax_tree/lib/syntax_tree/node.rb#9677 def copy(location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#9689 + # source://syntax_tree/lib/syntax_tree/node.rb#9673 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#9702 + # source://syntax_tree/lib/syntax_tree/node.rb#9686 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#9706 + # source://syntax_tree/lib/syntax_tree/node.rb#9690 def format(q); end end @@ -11908,42 +12134,42 @@ end # # return value # -# source://syntax_tree/lib/syntax_tree/node.rb#9719 +# source://syntax_tree/lib/syntax_tree/node.rb#9703 class SyntaxTree::ReturnNode < ::SyntaxTree::Node # @return [ReturnNode] a new instance of ReturnNode # - # source://syntax_tree/lib/syntax_tree/node.rb#9726 + # source://syntax_tree/lib/syntax_tree/node.rb#9710 def initialize(arguments:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#9761 + # source://syntax_tree/lib/syntax_tree/node.rb#9745 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#9732 + # source://syntax_tree/lib/syntax_tree/node.rb#9716 def accept(visitor); end # [nil | Args] the arguments being passed to the keyword # - # source://syntax_tree/lib/syntax_tree/node.rb#9721 + # source://syntax_tree/lib/syntax_tree/node.rb#9705 def arguments; end - # source://syntax_tree/lib/syntax_tree/node.rb#9736 + # source://syntax_tree/lib/syntax_tree/node.rb#9720 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#9724 + # source://syntax_tree/lib/syntax_tree/node.rb#9708 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#9740 + # source://syntax_tree/lib/syntax_tree/node.rb#9724 def copy(arguments: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#9736 + # source://syntax_tree/lib/syntax_tree/node.rb#9720 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#9753 + # source://syntax_tree/lib/syntax_tree/node.rb#9737 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#9757 + # source://syntax_tree/lib/syntax_tree/node.rb#9741 def format(q); end end @@ -11954,47 +12180,47 @@ end # class << self # end # -# source://syntax_tree/lib/syntax_tree/node.rb#9809 +# source://syntax_tree/lib/syntax_tree/node.rb#9793 class SyntaxTree::SClass < ::SyntaxTree::Node # @return [SClass] a new instance of SClass # - # source://syntax_tree/lib/syntax_tree/node.rb#9819 + # source://syntax_tree/lib/syntax_tree/node.rb#9803 def initialize(target:, bodystmt:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#9870 + # source://syntax_tree/lib/syntax_tree/node.rb#9854 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#9826 + # source://syntax_tree/lib/syntax_tree/node.rb#9810 def accept(visitor); end # [BodyStmt] the expressions to be executed # - # source://syntax_tree/lib/syntax_tree/node.rb#9814 + # source://syntax_tree/lib/syntax_tree/node.rb#9798 def bodystmt; end - # source://syntax_tree/lib/syntax_tree/node.rb#9830 + # source://syntax_tree/lib/syntax_tree/node.rb#9814 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#9817 + # source://syntax_tree/lib/syntax_tree/node.rb#9801 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#9834 + # source://syntax_tree/lib/syntax_tree/node.rb#9818 def copy(target: T.unsafe(nil), bodystmt: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#9830 + # source://syntax_tree/lib/syntax_tree/node.rb#9814 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#9848 + # source://syntax_tree/lib/syntax_tree/node.rb#9832 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#9857 + # source://syntax_tree/lib/syntax_tree/node.rb#9841 def format(q); end # [Node] the target of the singleton class to enter # - # source://syntax_tree/lib/syntax_tree/node.rb#9811 + # source://syntax_tree/lib/syntax_tree/node.rb#9795 def target; end end @@ -12025,53 +12251,53 @@ end # propagate that onto void_stmt nodes inside the stmts in order to make sure # all comments get printed appropriately. # -# source://syntax_tree/lib/syntax_tree/node.rb#9883 +# source://syntax_tree/lib/syntax_tree/node.rb#9867 class SyntaxTree::Statements < ::SyntaxTree::Node # @return [Statements] a new instance of Statements # - # source://syntax_tree/lib/syntax_tree/node.rb#9890 + # source://syntax_tree/lib/syntax_tree/node.rb#9874 def initialize(body:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#10016 + # source://syntax_tree/lib/syntax_tree/node.rb#10000 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#9943 + # source://syntax_tree/lib/syntax_tree/node.rb#9927 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#9896 + # source://syntax_tree/lib/syntax_tree/node.rb#9880 def bind(parser, start_char, start_column, end_char, end_column); end - # source://syntax_tree/lib/syntax_tree/node.rb#9925 + # source://syntax_tree/lib/syntax_tree/node.rb#9909 def bind_end(end_char, end_column); end # [Array[ Node ]] the list of expressions contained within this node # - # source://syntax_tree/lib/syntax_tree/node.rb#9885 + # source://syntax_tree/lib/syntax_tree/node.rb#9869 def body; end - # source://syntax_tree/lib/syntax_tree/node.rb#9947 + # source://syntax_tree/lib/syntax_tree/node.rb#9931 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#9888 + # source://syntax_tree/lib/syntax_tree/node.rb#9872 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#9951 + # source://syntax_tree/lib/syntax_tree/node.rb#9935 def copy(body: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#9947 + # source://syntax_tree/lib/syntax_tree/node.rb#9931 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#9964 + # source://syntax_tree/lib/syntax_tree/node.rb#9948 def deconstruct_keys(_keys); end # @return [Boolean] # - # source://syntax_tree/lib/syntax_tree/node.rb#9937 + # source://syntax_tree/lib/syntax_tree/node.rb#9921 def empty?; end - # source://syntax_tree/lib/syntax_tree/node.rb#9968 + # source://syntax_tree/lib/syntax_tree/node.rb#9952 def format(q); end private @@ -12080,7 +12306,7 @@ class SyntaxTree::Statements < ::SyntaxTree::Node # found while this statements list was being parsed and add them into the # body. # - # source://syntax_tree/lib/syntax_tree/node.rb#10025 + # source://syntax_tree/lib/syntax_tree/node.rb#10009 def attach_comments(parser, start_char, end_char); end end @@ -12090,48 +12316,48 @@ end # "first" \ # "second" # -# source://syntax_tree/lib/syntax_tree/node.rb#10140 +# source://syntax_tree/lib/syntax_tree/node.rb#10124 class SyntaxTree::StringConcat < ::SyntaxTree::Node # @return [StringConcat] a new instance of StringConcat # - # source://syntax_tree/lib/syntax_tree/node.rb#10151 + # source://syntax_tree/lib/syntax_tree/node.rb#10135 def initialize(left:, right:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#10195 + # source://syntax_tree/lib/syntax_tree/node.rb#10179 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#10158 + # source://syntax_tree/lib/syntax_tree/node.rb#10142 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#10162 + # source://syntax_tree/lib/syntax_tree/node.rb#10146 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#10149 + # source://syntax_tree/lib/syntax_tree/node.rb#10133 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#10166 + # source://syntax_tree/lib/syntax_tree/node.rb#10150 def copy(left: T.unsafe(nil), right: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#10162 + # source://syntax_tree/lib/syntax_tree/node.rb#10146 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#10180 + # source://syntax_tree/lib/syntax_tree/node.rb#10164 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#10184 + # source://syntax_tree/lib/syntax_tree/node.rb#10168 def format(q); end # [Heredoc | StringConcat | StringLiteral] the left side of the # concatenation # - # source://syntax_tree/lib/syntax_tree/node.rb#10143 + # source://syntax_tree/lib/syntax_tree/node.rb#10127 def left; end # [StringLiteral] the right side of the concatenation # - # source://syntax_tree/lib/syntax_tree/node.rb#10146 + # source://syntax_tree/lib/syntax_tree/node.rb#10130 def right; end end @@ -12139,43 +12365,43 @@ end # # "string" # -# source://syntax_tree/lib/syntax_tree/node.rb#10067 +# source://syntax_tree/lib/syntax_tree/node.rb#10051 class SyntaxTree::StringContent < ::SyntaxTree::Node # @return [StringContent] a new instance of StringContent # - # source://syntax_tree/lib/syntax_tree/node.rb#10075 + # source://syntax_tree/lib/syntax_tree/node.rb#10059 def initialize(parts:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#10102 + # source://syntax_tree/lib/syntax_tree/node.rb#10086 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#10081 + # source://syntax_tree/lib/syntax_tree/node.rb#10065 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#10085 + # source://syntax_tree/lib/syntax_tree/node.rb#10069 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#10073 + # source://syntax_tree/lib/syntax_tree/node.rb#10057 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#10089 + # source://syntax_tree/lib/syntax_tree/node.rb#10073 def copy(parts: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#10085 + # source://syntax_tree/lib/syntax_tree/node.rb#10069 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#10098 + # source://syntax_tree/lib/syntax_tree/node.rb#10082 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#10106 + # source://syntax_tree/lib/syntax_tree/node.rb#10090 def format(q); end # [Array[ StringEmbExpr | StringDVar | TStringContent ]] the parts of the # string # - # source://syntax_tree/lib/syntax_tree/node.rb#10070 + # source://syntax_tree/lib/syntax_tree/node.rb#10054 def parts; end end @@ -12185,42 +12411,42 @@ end # # "#@variable" # -# source://syntax_tree/lib/syntax_tree/node.rb#10206 +# source://syntax_tree/lib/syntax_tree/node.rb#10190 class SyntaxTree::StringDVar < ::SyntaxTree::Node # @return [StringDVar] a new instance of StringDVar # - # source://syntax_tree/lib/syntax_tree/node.rb#10213 + # source://syntax_tree/lib/syntax_tree/node.rb#10197 def initialize(variable:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#10250 + # source://syntax_tree/lib/syntax_tree/node.rb#10234 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#10219 + # source://syntax_tree/lib/syntax_tree/node.rb#10203 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#10223 + # source://syntax_tree/lib/syntax_tree/node.rb#10207 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#10211 + # source://syntax_tree/lib/syntax_tree/node.rb#10195 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#10227 + # source://syntax_tree/lib/syntax_tree/node.rb#10211 def copy(variable: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#10223 + # source://syntax_tree/lib/syntax_tree/node.rb#10207 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#10240 + # source://syntax_tree/lib/syntax_tree/node.rb#10224 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#10244 + # source://syntax_tree/lib/syntax_tree/node.rb#10228 def format(q); end # [Backref | VarRef] the variable being interpolated # - # source://syntax_tree/lib/syntax_tree/node.rb#10208 + # source://syntax_tree/lib/syntax_tree/node.rb#10192 def variable; end end @@ -12230,42 +12456,42 @@ end # # "string #{expression}" # -# source://syntax_tree/lib/syntax_tree/node.rb#10261 +# source://syntax_tree/lib/syntax_tree/node.rb#10245 class SyntaxTree::StringEmbExpr < ::SyntaxTree::Node # @return [StringEmbExpr] a new instance of StringEmbExpr # - # source://syntax_tree/lib/syntax_tree/node.rb#10268 + # source://syntax_tree/lib/syntax_tree/node.rb#10252 def initialize(statements:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#10325 + # source://syntax_tree/lib/syntax_tree/node.rb#10309 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#10274 + # source://syntax_tree/lib/syntax_tree/node.rb#10258 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#10278 + # source://syntax_tree/lib/syntax_tree/node.rb#10262 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#10266 + # source://syntax_tree/lib/syntax_tree/node.rb#10250 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#10282 + # source://syntax_tree/lib/syntax_tree/node.rb#10266 def copy(statements: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#10278 + # source://syntax_tree/lib/syntax_tree/node.rb#10262 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#10295 + # source://syntax_tree/lib/syntax_tree/node.rb#10279 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#10299 + # source://syntax_tree/lib/syntax_tree/node.rb#10283 def format(q); end # [Statements] the expressions to be interpolated # - # source://syntax_tree/lib/syntax_tree/node.rb#10263 + # source://syntax_tree/lib/syntax_tree/node.rb#10247 def statements; end end @@ -12273,48 +12499,48 @@ end # # "string" # -# source://syntax_tree/lib/syntax_tree/node.rb#10334 +# source://syntax_tree/lib/syntax_tree/node.rb#10318 class SyntaxTree::StringLiteral < ::SyntaxTree::Node # @return [StringLiteral] a new instance of StringLiteral # - # source://syntax_tree/lib/syntax_tree/node.rb#10345 + # source://syntax_tree/lib/syntax_tree/node.rb#10329 def initialize(parts:, quote:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#10419 + # source://syntax_tree/lib/syntax_tree/node.rb#10403 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#10352 + # source://syntax_tree/lib/syntax_tree/node.rb#10336 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#10356 + # source://syntax_tree/lib/syntax_tree/node.rb#10340 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#10343 + # source://syntax_tree/lib/syntax_tree/node.rb#10327 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#10360 + # source://syntax_tree/lib/syntax_tree/node.rb#10344 def copy(parts: T.unsafe(nil), quote: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#10356 + # source://syntax_tree/lib/syntax_tree/node.rb#10340 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#10374 + # source://syntax_tree/lib/syntax_tree/node.rb#10358 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#10378 + # source://syntax_tree/lib/syntax_tree/node.rb#10362 def format(q); end # [Array[ StringEmbExpr | StringDVar | TStringContent ]] the parts of the # string literal # - # source://syntax_tree/lib/syntax_tree/node.rb#10337 + # source://syntax_tree/lib/syntax_tree/node.rb#10321 def parts; end # [nil | String] which quote was used by the string literal # - # source://syntax_tree/lib/syntax_tree/node.rb#10340 + # source://syntax_tree/lib/syntax_tree/node.rb#10324 def quote; end end @@ -12323,42 +12549,42 @@ end # # super(value) # -# source://syntax_tree/lib/syntax_tree/node.rb#10430 +# source://syntax_tree/lib/syntax_tree/node.rb#10414 class SyntaxTree::Super < ::SyntaxTree::Node # @return [Super] a new instance of Super # - # source://syntax_tree/lib/syntax_tree/node.rb#10437 + # source://syntax_tree/lib/syntax_tree/node.rb#10421 def initialize(arguments:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#10481 + # source://syntax_tree/lib/syntax_tree/node.rb#10465 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#10443 + # source://syntax_tree/lib/syntax_tree/node.rb#10427 def accept(visitor); end # [ArgParen | Args] the arguments to the keyword # - # source://syntax_tree/lib/syntax_tree/node.rb#10432 + # source://syntax_tree/lib/syntax_tree/node.rb#10416 def arguments; end - # source://syntax_tree/lib/syntax_tree/node.rb#10447 + # source://syntax_tree/lib/syntax_tree/node.rb#10431 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#10435 + # source://syntax_tree/lib/syntax_tree/node.rb#10419 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#10451 + # source://syntax_tree/lib/syntax_tree/node.rb#10435 def copy(arguments: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#10447 + # source://syntax_tree/lib/syntax_tree/node.rb#10431 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#10464 + # source://syntax_tree/lib/syntax_tree/node.rb#10448 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#10468 + # source://syntax_tree/lib/syntax_tree/node.rb#10452 def format(q); end end @@ -12379,34 +12605,34 @@ end # contain ":'" or ":\"". In the case of %s symbols, it will contain the start # of the symbol including the %s and the delimiter. # -# source://syntax_tree/lib/syntax_tree/node.rb#10502 +# source://syntax_tree/lib/syntax_tree/node.rb#10486 class SyntaxTree::SymBeg < ::SyntaxTree::Node # @return [SymBeg] a new instance of SymBeg # - # source://syntax_tree/lib/syntax_tree/node.rb#10506 + # source://syntax_tree/lib/syntax_tree/node.rb#10490 def initialize(value:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#10532 + # source://syntax_tree/lib/syntax_tree/node.rb#10516 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#10511 + # source://syntax_tree/lib/syntax_tree/node.rb#10495 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#10515 + # source://syntax_tree/lib/syntax_tree/node.rb#10499 def child_nodes; end - # source://syntax_tree/lib/syntax_tree/node.rb#10519 + # source://syntax_tree/lib/syntax_tree/node.rb#10503 def copy(value: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#10515 + # source://syntax_tree/lib/syntax_tree/node.rb#10499 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#10528 + # source://syntax_tree/lib/syntax_tree/node.rb#10512 def deconstruct_keys(_keys); end # [String] the beginning of the symbol # - # source://syntax_tree/lib/syntax_tree/node.rb#10504 + # source://syntax_tree/lib/syntax_tree/node.rb#10488 def value; end end @@ -12415,35 +12641,35 @@ end # # :symbol # -# source://syntax_tree/lib/syntax_tree/node.rb#10542 +# source://syntax_tree/lib/syntax_tree/node.rb#10526 class SyntaxTree::SymbolContent < ::SyntaxTree::Node # @return [SymbolContent] a new instance of SymbolContent # - # source://syntax_tree/lib/syntax_tree/node.rb#10547 + # source://syntax_tree/lib/syntax_tree/node.rb#10531 def initialize(value:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#10573 + # source://syntax_tree/lib/syntax_tree/node.rb#10557 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#10552 + # source://syntax_tree/lib/syntax_tree/node.rb#10536 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#10556 + # source://syntax_tree/lib/syntax_tree/node.rb#10540 def child_nodes; end - # source://syntax_tree/lib/syntax_tree/node.rb#10560 + # source://syntax_tree/lib/syntax_tree/node.rb#10544 def copy(value: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#10556 + # source://syntax_tree/lib/syntax_tree/node.rb#10540 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#10569 + # source://syntax_tree/lib/syntax_tree/node.rb#10553 def deconstruct_keys(_keys); end # [Backtick | Const | CVar | GVar | Ident | IVar | Kw | Op] the value of the # symbol # - # source://syntax_tree/lib/syntax_tree/node.rb#10545 + # source://syntax_tree/lib/syntax_tree/node.rb#10529 def value; end end @@ -12452,43 +12678,43 @@ end # # :symbol # -# source://syntax_tree/lib/syntax_tree/node.rb#10583 +# source://syntax_tree/lib/syntax_tree/node.rb#10567 class SyntaxTree::SymbolLiteral < ::SyntaxTree::Node # @return [SymbolLiteral] a new instance of SymbolLiteral # - # source://syntax_tree/lib/syntax_tree/node.rb#10591 + # source://syntax_tree/lib/syntax_tree/node.rb#10575 def initialize(value:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#10628 + # source://syntax_tree/lib/syntax_tree/node.rb#10612 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#10597 + # source://syntax_tree/lib/syntax_tree/node.rb#10581 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#10601 + # source://syntax_tree/lib/syntax_tree/node.rb#10585 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#10589 + # source://syntax_tree/lib/syntax_tree/node.rb#10573 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#10605 + # source://syntax_tree/lib/syntax_tree/node.rb#10589 def copy(value: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#10601 + # source://syntax_tree/lib/syntax_tree/node.rb#10585 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#10618 + # source://syntax_tree/lib/syntax_tree/node.rb#10602 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#10622 + # source://syntax_tree/lib/syntax_tree/node.rb#10606 def format(q); end # [Backtick | Const | CVar | GVar | Ident | IVar | Kw | Op | TStringContent] # the value of the symbol # - # source://syntax_tree/lib/syntax_tree/node.rb#10586 + # source://syntax_tree/lib/syntax_tree/node.rb#10570 def value; end end @@ -12496,47 +12722,47 @@ end # # %I[one two three] # -# source://syntax_tree/lib/syntax_tree/node.rb#10637 +# source://syntax_tree/lib/syntax_tree/node.rb#10621 class SyntaxTree::Symbols < ::SyntaxTree::Node # @return [Symbols] a new instance of Symbols # - # source://syntax_tree/lib/syntax_tree/node.rb#10647 + # source://syntax_tree/lib/syntax_tree/node.rb#10631 def initialize(beginning:, elements:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#10703 + # source://syntax_tree/lib/syntax_tree/node.rb#10687 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#10654 + # source://syntax_tree/lib/syntax_tree/node.rb#10638 def accept(visitor); end # [SymbolsBeg] the token that opens this array literal # - # source://syntax_tree/lib/syntax_tree/node.rb#10639 + # source://syntax_tree/lib/syntax_tree/node.rb#10623 def beginning; end - # source://syntax_tree/lib/syntax_tree/node.rb#10658 + # source://syntax_tree/lib/syntax_tree/node.rb#10642 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#10645 + # source://syntax_tree/lib/syntax_tree/node.rb#10629 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#10662 + # source://syntax_tree/lib/syntax_tree/node.rb#10646 def copy(beginning: T.unsafe(nil), elements: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#10658 + # source://syntax_tree/lib/syntax_tree/node.rb#10642 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#10672 + # source://syntax_tree/lib/syntax_tree/node.rb#10656 def deconstruct_keys(_keys); end # [Array[ Word ]] the words in the symbol array literal # - # source://syntax_tree/lib/syntax_tree/node.rb#10642 + # source://syntax_tree/lib/syntax_tree/node.rb#10626 def elements; end - # source://syntax_tree/lib/syntax_tree/node.rb#10681 + # source://syntax_tree/lib/syntax_tree/node.rb#10665 def format(q); end end @@ -12549,34 +12775,34 @@ end # kinds of arrays can start with a lot of different delimiter types # (e.g., %I| or %I<). # -# source://syntax_tree/lib/syntax_tree/node.rb#10717 +# source://syntax_tree/lib/syntax_tree/node.rb#10701 class SyntaxTree::SymbolsBeg < ::SyntaxTree::Node # @return [SymbolsBeg] a new instance of SymbolsBeg # - # source://syntax_tree/lib/syntax_tree/node.rb#10721 + # source://syntax_tree/lib/syntax_tree/node.rb#10705 def initialize(value:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#10747 + # source://syntax_tree/lib/syntax_tree/node.rb#10731 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#10726 + # source://syntax_tree/lib/syntax_tree/node.rb#10710 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#10730 + # source://syntax_tree/lib/syntax_tree/node.rb#10714 def child_nodes; end - # source://syntax_tree/lib/syntax_tree/node.rb#10734 + # source://syntax_tree/lib/syntax_tree/node.rb#10718 def copy(value: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#10730 + # source://syntax_tree/lib/syntax_tree/node.rb#10714 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#10743 + # source://syntax_tree/lib/syntax_tree/node.rb#10727 def deconstruct_keys(_keys); end # [String] the beginning of the symbol literal array # - # source://syntax_tree/lib/syntax_tree/node.rb#10719 + # source://syntax_tree/lib/syntax_tree/node.rb#10703 def value; end end @@ -12587,34 +12813,34 @@ end # # In the example above the TLamBeg represents the +{+ operator. # -# source://syntax_tree/lib/syntax_tree/node.rb#10798 +# source://syntax_tree/lib/syntax_tree/node.rb#10782 class SyntaxTree::TLamBeg < ::SyntaxTree::Node # @return [TLamBeg] a new instance of TLamBeg # - # source://syntax_tree/lib/syntax_tree/node.rb#10802 + # source://syntax_tree/lib/syntax_tree/node.rb#10786 def initialize(value:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#10828 + # source://syntax_tree/lib/syntax_tree/node.rb#10812 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#10807 + # source://syntax_tree/lib/syntax_tree/node.rb#10791 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#10811 + # source://syntax_tree/lib/syntax_tree/node.rb#10795 def child_nodes; end - # source://syntax_tree/lib/syntax_tree/node.rb#10815 + # source://syntax_tree/lib/syntax_tree/node.rb#10799 def copy(value: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#10811 + # source://syntax_tree/lib/syntax_tree/node.rb#10795 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#10824 + # source://syntax_tree/lib/syntax_tree/node.rb#10808 def deconstruct_keys(_keys); end # [String] the beginning of the body of the lambda literal # - # source://syntax_tree/lib/syntax_tree/node.rb#10800 + # source://syntax_tree/lib/syntax_tree/node.rb#10784 def value; end end @@ -12624,34 +12850,34 @@ end # # In the example above the TLambda represents the +->+ operator. # -# source://syntax_tree/lib/syntax_tree/node.rb#10757 +# source://syntax_tree/lib/syntax_tree/node.rb#10741 class SyntaxTree::TLambda < ::SyntaxTree::Node # @return [TLambda] a new instance of TLambda # - # source://syntax_tree/lib/syntax_tree/node.rb#10761 + # source://syntax_tree/lib/syntax_tree/node.rb#10745 def initialize(value:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#10787 + # source://syntax_tree/lib/syntax_tree/node.rb#10771 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#10766 + # source://syntax_tree/lib/syntax_tree/node.rb#10750 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#10770 + # source://syntax_tree/lib/syntax_tree/node.rb#10754 def child_nodes; end - # source://syntax_tree/lib/syntax_tree/node.rb#10774 + # source://syntax_tree/lib/syntax_tree/node.rb#10758 def copy(value: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#10770 + # source://syntax_tree/lib/syntax_tree/node.rb#10754 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#10783 + # source://syntax_tree/lib/syntax_tree/node.rb#10767 def deconstruct_keys(_keys); end # [String] the beginning of the lambda literal # - # source://syntax_tree/lib/syntax_tree/node.rb#10759 + # source://syntax_tree/lib/syntax_tree/node.rb#10743 def value; end end @@ -12665,34 +12891,34 @@ end # # %q{string} # -# source://syntax_tree/lib/syntax_tree/node.rb#10950 +# source://syntax_tree/lib/syntax_tree/node.rb#10934 class SyntaxTree::TStringBeg < ::SyntaxTree::Node # @return [TStringBeg] a new instance of TStringBeg # - # source://syntax_tree/lib/syntax_tree/node.rb#10954 + # source://syntax_tree/lib/syntax_tree/node.rb#10938 def initialize(value:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#10980 + # source://syntax_tree/lib/syntax_tree/node.rb#10964 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#10959 + # source://syntax_tree/lib/syntax_tree/node.rb#10943 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#10963 + # source://syntax_tree/lib/syntax_tree/node.rb#10947 def child_nodes; end - # source://syntax_tree/lib/syntax_tree/node.rb#10967 + # source://syntax_tree/lib/syntax_tree/node.rb#10951 def copy(value: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#10963 + # source://syntax_tree/lib/syntax_tree/node.rb#10947 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#10976 + # source://syntax_tree/lib/syntax_tree/node.rb#10960 def deconstruct_keys(_keys); end # [String] the beginning of the string # - # source://syntax_tree/lib/syntax_tree/node.rb#10952 + # source://syntax_tree/lib/syntax_tree/node.rb#10936 def value; end end @@ -12705,47 +12931,47 @@ end # In the example above, TStringContent represents the +string+ token contained # within the string. # -# source://syntax_tree/lib/syntax_tree/node.rb#10993 +# source://syntax_tree/lib/syntax_tree/node.rb#10977 class SyntaxTree::TStringContent < ::SyntaxTree::Node # @return [TStringContent] a new instance of TStringContent # - # source://syntax_tree/lib/syntax_tree/node.rb#11000 + # source://syntax_tree/lib/syntax_tree/node.rb#10984 def initialize(value:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#11039 + # source://syntax_tree/lib/syntax_tree/node.rb#11023 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#11010 + # source://syntax_tree/lib/syntax_tree/node.rb#10994 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#11014 + # source://syntax_tree/lib/syntax_tree/node.rb#10998 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#10998 + # source://syntax_tree/lib/syntax_tree/node.rb#10982 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#11018 + # source://syntax_tree/lib/syntax_tree/node.rb#11002 def copy(value: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#11014 + # source://syntax_tree/lib/syntax_tree/node.rb#10998 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#11031 + # source://syntax_tree/lib/syntax_tree/node.rb#11015 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#11035 + # source://syntax_tree/lib/syntax_tree/node.rb#11019 def format(q); end # @return [Boolean] # - # source://syntax_tree/lib/syntax_tree/node.rb#11006 + # source://syntax_tree/lib/syntax_tree/node.rb#10990 def match?(pattern); end # [String] the content of the string # - # source://syntax_tree/lib/syntax_tree/node.rb#10995 + # source://syntax_tree/lib/syntax_tree/node.rb#10979 def value; end end @@ -12759,34 +12985,34 @@ end # # %q{string} # -# source://syntax_tree/lib/syntax_tree/node.rb#11054 +# source://syntax_tree/lib/syntax_tree/node.rb#11038 class SyntaxTree::TStringEnd < ::SyntaxTree::Node # @return [TStringEnd] a new instance of TStringEnd # - # source://syntax_tree/lib/syntax_tree/node.rb#11058 + # source://syntax_tree/lib/syntax_tree/node.rb#11042 def initialize(value:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#11084 + # source://syntax_tree/lib/syntax_tree/node.rb#11068 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#11063 + # source://syntax_tree/lib/syntax_tree/node.rb#11047 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#11067 + # source://syntax_tree/lib/syntax_tree/node.rb#11051 def child_nodes; end - # source://syntax_tree/lib/syntax_tree/node.rb#11071 + # source://syntax_tree/lib/syntax_tree/node.rb#11055 def copy(value: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#11067 + # source://syntax_tree/lib/syntax_tree/node.rb#11051 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#11080 + # source://syntax_tree/lib/syntax_tree/node.rb#11064 def deconstruct_keys(_keys); end # [String] the end of the string # - # source://syntax_tree/lib/syntax_tree/node.rb#11056 + # source://syntax_tree/lib/syntax_tree/node.rb#11040 def value; end end @@ -12796,10 +13022,10 @@ end # statement, and that statement must not be on the denied list of potential # statements. # -# source://syntax_tree/lib/syntax_tree/node.rb#6251 +# source://syntax_tree/lib/syntax_tree/node.rb#6254 module SyntaxTree::Ternaryable class << self - # source://syntax_tree/lib/syntax_tree/node.rb#6253 + # source://syntax_tree/lib/syntax_tree/node.rb#6256 def call(q, node); end private @@ -12810,7 +13036,7 @@ module SyntaxTree::Ternaryable # # @return [Boolean] # - # source://syntax_tree/lib/syntax_tree/node.rb#6291 + # source://syntax_tree/lib/syntax_tree/node.rb#6294 def ternaryable?(statement); end end end @@ -12821,42 +13047,42 @@ end # # ::Constant = value # -# source://syntax_tree/lib/syntax_tree/node.rb#10839 +# source://syntax_tree/lib/syntax_tree/node.rb#10823 class SyntaxTree::TopConstField < ::SyntaxTree::Node # @return [TopConstField] a new instance of TopConstField # - # source://syntax_tree/lib/syntax_tree/node.rb#10846 + # source://syntax_tree/lib/syntax_tree/node.rb#10830 def initialize(constant:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#10882 + # source://syntax_tree/lib/syntax_tree/node.rb#10866 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#10852 + # source://syntax_tree/lib/syntax_tree/node.rb#10836 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#10856 + # source://syntax_tree/lib/syntax_tree/node.rb#10840 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#10844 + # source://syntax_tree/lib/syntax_tree/node.rb#10828 def comments; end # [Const] the constant being assigned # - # source://syntax_tree/lib/syntax_tree/node.rb#10841 + # source://syntax_tree/lib/syntax_tree/node.rb#10825 def constant; end - # source://syntax_tree/lib/syntax_tree/node.rb#10860 + # source://syntax_tree/lib/syntax_tree/node.rb#10844 def copy(constant: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#10856 + # source://syntax_tree/lib/syntax_tree/node.rb#10840 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#10873 + # source://syntax_tree/lib/syntax_tree/node.rb#10857 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#10877 + # source://syntax_tree/lib/syntax_tree/node.rb#10861 def format(q); end end @@ -12865,42 +13091,42 @@ end # # ::Constant # -# source://syntax_tree/lib/syntax_tree/node.rb#10892 +# source://syntax_tree/lib/syntax_tree/node.rb#10876 class SyntaxTree::TopConstRef < ::SyntaxTree::Node # @return [TopConstRef] a new instance of TopConstRef # - # source://syntax_tree/lib/syntax_tree/node.rb#10899 + # source://syntax_tree/lib/syntax_tree/node.rb#10883 def initialize(constant:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#10935 + # source://syntax_tree/lib/syntax_tree/node.rb#10919 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#10905 + # source://syntax_tree/lib/syntax_tree/node.rb#10889 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#10909 + # source://syntax_tree/lib/syntax_tree/node.rb#10893 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#10897 + # source://syntax_tree/lib/syntax_tree/node.rb#10881 def comments; end # [Const] the constant being referenced # - # source://syntax_tree/lib/syntax_tree/node.rb#10894 + # source://syntax_tree/lib/syntax_tree/node.rb#10878 def constant; end - # source://syntax_tree/lib/syntax_tree/node.rb#10913 + # source://syntax_tree/lib/syntax_tree/node.rb#10897 def copy(constant: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#10909 + # source://syntax_tree/lib/syntax_tree/node.rb#10893 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#10926 + # source://syntax_tree/lib/syntax_tree/node.rb#10910 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#10930 + # source://syntax_tree/lib/syntax_tree/node.rb#10914 def format(q); end end @@ -12931,47 +13157,47 @@ end # # !value # -# source://syntax_tree/lib/syntax_tree/node.rb#11177 +# source://syntax_tree/lib/syntax_tree/node.rb#11161 class SyntaxTree::Unary < ::SyntaxTree::Node # @return [Unary] a new instance of Unary # - # source://syntax_tree/lib/syntax_tree/node.rb#11187 + # source://syntax_tree/lib/syntax_tree/node.rb#11171 def initialize(operator:, statement:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#11230 + # source://syntax_tree/lib/syntax_tree/node.rb#11214 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#11194 + # source://syntax_tree/lib/syntax_tree/node.rb#11178 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#11198 + # source://syntax_tree/lib/syntax_tree/node.rb#11182 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#11185 + # source://syntax_tree/lib/syntax_tree/node.rb#11169 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#11202 + # source://syntax_tree/lib/syntax_tree/node.rb#11186 def copy(operator: T.unsafe(nil), statement: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#11198 + # source://syntax_tree/lib/syntax_tree/node.rb#11182 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#11216 + # source://syntax_tree/lib/syntax_tree/node.rb#11200 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#11225 + # source://syntax_tree/lib/syntax_tree/node.rb#11209 def format(q); end # [String] the operator being used # - # source://syntax_tree/lib/syntax_tree/node.rb#11179 + # source://syntax_tree/lib/syntax_tree/node.rb#11163 def operator; end # [Node] the statement on which to operate # - # source://syntax_tree/lib/syntax_tree/node.rb#11182 + # source://syntax_tree/lib/syntax_tree/node.rb#11166 def statement; end end @@ -12979,42 +13205,42 @@ end # # undef method # -# source://syntax_tree/lib/syntax_tree/node.rb#11240 +# source://syntax_tree/lib/syntax_tree/node.rb#11224 class SyntaxTree::Undef < ::SyntaxTree::Node # @return [Undef] a new instance of Undef # - # source://syntax_tree/lib/syntax_tree/node.rb#11271 + # source://syntax_tree/lib/syntax_tree/node.rb#11255 def initialize(symbols:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#11314 + # source://syntax_tree/lib/syntax_tree/node.rb#11298 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#11277 + # source://syntax_tree/lib/syntax_tree/node.rb#11261 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#11281 + # source://syntax_tree/lib/syntax_tree/node.rb#11265 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#11269 + # source://syntax_tree/lib/syntax_tree/node.rb#11253 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#11285 + # source://syntax_tree/lib/syntax_tree/node.rb#11269 def copy(symbols: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#11281 + # source://syntax_tree/lib/syntax_tree/node.rb#11265 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#11298 + # source://syntax_tree/lib/syntax_tree/node.rb#11282 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#11302 + # source://syntax_tree/lib/syntax_tree/node.rb#11286 def format(q); end # [Array[ DynaSymbol | SymbolLiteral ]] the symbols to undefine # - # source://syntax_tree/lib/syntax_tree/node.rb#11266 + # source://syntax_tree/lib/syntax_tree/node.rb#11250 def symbols; end end @@ -13022,22 +13248,22 @@ end # or SymbolLiteral objects. For SymbolLiteral objects we descend directly # into the value in order to have it come out as bare words. # -# source://syntax_tree/lib/syntax_tree/node.rb#11244 +# source://syntax_tree/lib/syntax_tree/node.rb#11228 class SyntaxTree::Undef::UndefArgumentFormatter # @return [UndefArgumentFormatter] a new instance of UndefArgumentFormatter # - # source://syntax_tree/lib/syntax_tree/node.rb#11248 + # source://syntax_tree/lib/syntax_tree/node.rb#11232 def initialize(node); end - # source://syntax_tree/lib/syntax_tree/node.rb#11252 + # source://syntax_tree/lib/syntax_tree/node.rb#11236 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#11260 + # source://syntax_tree/lib/syntax_tree/node.rb#11244 def format(q); end # [DynaSymbol | SymbolLiteral] the symbol to undefine # - # source://syntax_tree/lib/syntax_tree/node.rb#11246 + # source://syntax_tree/lib/syntax_tree/node.rb#11230 def node; end end @@ -13046,59 +13272,59 @@ end # unless predicate # end # -# source://syntax_tree/lib/syntax_tree/node.rb#11324 +# source://syntax_tree/lib/syntax_tree/node.rb#11308 class SyntaxTree::UnlessNode < ::SyntaxTree::Node # @return [UnlessNode] a new instance of UnlessNode # - # source://syntax_tree/lib/syntax_tree/node.rb#11337 + # source://syntax_tree/lib/syntax_tree/node.rb#11321 def initialize(predicate:, statements:, consequent:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#11382 + # source://syntax_tree/lib/syntax_tree/node.rb#11366 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#11345 + # source://syntax_tree/lib/syntax_tree/node.rb#11329 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#11349 + # source://syntax_tree/lib/syntax_tree/node.rb#11333 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#11335 + # source://syntax_tree/lib/syntax_tree/node.rb#11319 def comments; end # [nil | Elsif | Else] the next clause in the chain # - # source://syntax_tree/lib/syntax_tree/node.rb#11332 + # source://syntax_tree/lib/syntax_tree/node.rb#11316 def consequent; end - # source://syntax_tree/lib/syntax_tree/node.rb#11353 + # source://syntax_tree/lib/syntax_tree/node.rb#11337 def copy(predicate: T.unsafe(nil), statements: T.unsafe(nil), consequent: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#11349 + # source://syntax_tree/lib/syntax_tree/node.rb#11333 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#11368 + # source://syntax_tree/lib/syntax_tree/node.rb#11352 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#11378 + # source://syntax_tree/lib/syntax_tree/node.rb#11362 def format(q); end # Checks if the node was originally found in the modifier form. # # @return [Boolean] # - # source://syntax_tree/lib/syntax_tree/node.rb#11388 + # source://syntax_tree/lib/syntax_tree/node.rb#11372 def modifier?; end # [Node] the expression to be checked # - # source://syntax_tree/lib/syntax_tree/node.rb#11326 + # source://syntax_tree/lib/syntax_tree/node.rb#11310 def predicate; end # [Statements] the expressions to be executed # - # source://syntax_tree/lib/syntax_tree/node.rb#11329 + # source://syntax_tree/lib/syntax_tree/node.rb#11313 def statements; end end @@ -13107,52 +13333,52 @@ end # until predicate # end # -# source://syntax_tree/lib/syntax_tree/node.rb#11470 +# source://syntax_tree/lib/syntax_tree/node.rb#11454 class SyntaxTree::UntilNode < ::SyntaxTree::Node # @return [UntilNode] a new instance of UntilNode # - # source://syntax_tree/lib/syntax_tree/node.rb#11480 + # source://syntax_tree/lib/syntax_tree/node.rb#11464 def initialize(predicate:, statements:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#11522 + # source://syntax_tree/lib/syntax_tree/node.rb#11506 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#11487 + # source://syntax_tree/lib/syntax_tree/node.rb#11471 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#11491 + # source://syntax_tree/lib/syntax_tree/node.rb#11475 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#11478 + # source://syntax_tree/lib/syntax_tree/node.rb#11462 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#11495 + # source://syntax_tree/lib/syntax_tree/node.rb#11479 def copy(predicate: T.unsafe(nil), statements: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#11491 + # source://syntax_tree/lib/syntax_tree/node.rb#11475 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#11509 + # source://syntax_tree/lib/syntax_tree/node.rb#11493 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#11518 + # source://syntax_tree/lib/syntax_tree/node.rb#11502 def format(q); end # @return [Boolean] # - # source://syntax_tree/lib/syntax_tree/node.rb#11527 + # source://syntax_tree/lib/syntax_tree/node.rb#11511 def modifier?; end # [Node] the expression to be checked # - # source://syntax_tree/lib/syntax_tree/node.rb#11472 + # source://syntax_tree/lib/syntax_tree/node.rb#11456 def predicate; end # [Statements] the expressions to be executed # - # source://syntax_tree/lib/syntax_tree/node.rb#11475 + # source://syntax_tree/lib/syntax_tree/node.rb#11459 def statements; end end @@ -13161,50 +13387,50 @@ end # # variable # -# source://syntax_tree/lib/syntax_tree/node.rb#11732 +# source://syntax_tree/lib/syntax_tree/node.rb#11716 class SyntaxTree::VCall < ::SyntaxTree::Node # @return [VCall] a new instance of VCall # - # source://syntax_tree/lib/syntax_tree/node.rb#11739 + # source://syntax_tree/lib/syntax_tree/node.rb#11723 def initialize(value:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#11774 + # source://syntax_tree/lib/syntax_tree/node.rb#11758 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#11745 + # source://syntax_tree/lib/syntax_tree/node.rb#11729 def accept(visitor); end # @return [Boolean] # - # source://syntax_tree/lib/syntax_tree/node.rb#11778 + # source://syntax_tree/lib/syntax_tree/node.rb#11762 def access_control?; end - # source://syntax_tree/lib/syntax_tree/node.rb#11782 + # source://syntax_tree/lib/syntax_tree/node.rb#11766 def arity; end - # source://syntax_tree/lib/syntax_tree/node.rb#11749 + # source://syntax_tree/lib/syntax_tree/node.rb#11733 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#11737 + # source://syntax_tree/lib/syntax_tree/node.rb#11721 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#11753 + # source://syntax_tree/lib/syntax_tree/node.rb#11737 def copy(value: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#11749 + # source://syntax_tree/lib/syntax_tree/node.rb#11733 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#11766 + # source://syntax_tree/lib/syntax_tree/node.rb#11750 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#11770 + # source://syntax_tree/lib/syntax_tree/node.rb#11754 def format(q); end # [Ident] the value of this expression # - # source://syntax_tree/lib/syntax_tree/node.rb#11734 + # source://syntax_tree/lib/syntax_tree/node.rb#11718 def value; end end @@ -13218,42 +13444,42 @@ SyntaxTree::VERSION = T.let(T.unsafe(nil), String) # # In the example above, the VarField node represents the +variable+ token. # -# source://syntax_tree/lib/syntax_tree/node.rb#11538 +# source://syntax_tree/lib/syntax_tree/node.rb#11522 class SyntaxTree::VarField < ::SyntaxTree::Node # @return [VarField] a new instance of VarField # - # source://syntax_tree/lib/syntax_tree/node.rb#11545 + # source://syntax_tree/lib/syntax_tree/node.rb#11529 def initialize(value:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#11584 + # source://syntax_tree/lib/syntax_tree/node.rb#11568 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#11551 + # source://syntax_tree/lib/syntax_tree/node.rb#11535 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#11555 + # source://syntax_tree/lib/syntax_tree/node.rb#11539 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#11543 + # source://syntax_tree/lib/syntax_tree/node.rb#11527 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#11559 + # source://syntax_tree/lib/syntax_tree/node.rb#11543 def copy(value: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#11555 + # source://syntax_tree/lib/syntax_tree/node.rb#11539 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#11572 + # source://syntax_tree/lib/syntax_tree/node.rb#11556 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#11576 + # source://syntax_tree/lib/syntax_tree/node.rb#11560 def format(q); end # [nil | :nil | Const | CVar | GVar | Ident | IVar] the target of this node # - # source://syntax_tree/lib/syntax_tree/node.rb#11540 + # source://syntax_tree/lib/syntax_tree/node.rb#11524 def value; end end @@ -13266,37 +13492,37 @@ end # keyword (like +self+, +nil+, +true+, or +false+), or a numbered block # variable. # -# source://syntax_tree/lib/syntax_tree/node.rb#11597 +# source://syntax_tree/lib/syntax_tree/node.rb#11581 class SyntaxTree::VarRef < ::SyntaxTree::Node # @return [VarRef] a new instance of VarRef # - # source://syntax_tree/lib/syntax_tree/node.rb#11604 + # source://syntax_tree/lib/syntax_tree/node.rb#11588 def initialize(value:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#11639 + # source://syntax_tree/lib/syntax_tree/node.rb#11623 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#11610 + # source://syntax_tree/lib/syntax_tree/node.rb#11594 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#11614 + # source://syntax_tree/lib/syntax_tree/node.rb#11598 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#11602 + # source://syntax_tree/lib/syntax_tree/node.rb#11586 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#11618 + # source://syntax_tree/lib/syntax_tree/node.rb#11602 def copy(value: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#11614 + # source://syntax_tree/lib/syntax_tree/node.rb#11598 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#11631 + # source://syntax_tree/lib/syntax_tree/node.rb#11615 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#11635 + # source://syntax_tree/lib/syntax_tree/node.rb#11619 def format(q); end # Oh man I hate this so much. Basically, ripper doesn't provide enough @@ -13307,12 +13533,12 @@ class SyntaxTree::VarRef < ::SyntaxTree::Node # To be clear, this method should just not exist. It's not good. It's a # place of shame. But it's necessary for now, so I'm keeping it. # - # source://syntax_tree/lib/syntax_tree/node.rb#11650 + # source://syntax_tree/lib/syntax_tree/node.rb#11634 def pin(parent, pin); end # [Const | CVar | GVar | Ident | IVar | Kw] the value of this node # - # source://syntax_tree/lib/syntax_tree/node.rb#11599 + # source://syntax_tree/lib/syntax_tree/node.rb#11583 def value; end end @@ -14077,37 +14303,37 @@ end # # ;; # -# source://syntax_tree/lib/syntax_tree/node.rb#11791 +# source://syntax_tree/lib/syntax_tree/node.rb#11775 class SyntaxTree::VoidStmt < ::SyntaxTree::Node # @return [VoidStmt] a new instance of VoidStmt # - # source://syntax_tree/lib/syntax_tree/node.rb#11795 + # source://syntax_tree/lib/syntax_tree/node.rb#11779 def initialize(location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#11824 + # source://syntax_tree/lib/syntax_tree/node.rb#11808 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#11800 + # source://syntax_tree/lib/syntax_tree/node.rb#11784 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#11804 + # source://syntax_tree/lib/syntax_tree/node.rb#11788 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#11793 + # source://syntax_tree/lib/syntax_tree/node.rb#11777 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#11808 + # source://syntax_tree/lib/syntax_tree/node.rb#11792 def copy(location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#11804 + # source://syntax_tree/lib/syntax_tree/node.rb#11788 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#11817 + # source://syntax_tree/lib/syntax_tree/node.rb#11801 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#11821 + # source://syntax_tree/lib/syntax_tree/node.rb#11805 def format(q); end end @@ -14117,68 +14343,68 @@ end # when predicate # end # -# source://syntax_tree/lib/syntax_tree/node.rb#11835 +# source://syntax_tree/lib/syntax_tree/node.rb#11819 class SyntaxTree::When < ::SyntaxTree::Node # @return [When] a new instance of When # - # source://syntax_tree/lib/syntax_tree/node.rb#11848 + # source://syntax_tree/lib/syntax_tree/node.rb#11832 def initialize(arguments:, statements:, consequent:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#11940 + # source://syntax_tree/lib/syntax_tree/node.rb#11924 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#11856 + # source://syntax_tree/lib/syntax_tree/node.rb#11840 def accept(visitor); end # [Args] the arguments to the when clause # - # source://syntax_tree/lib/syntax_tree/node.rb#11837 + # source://syntax_tree/lib/syntax_tree/node.rb#11821 def arguments; end - # source://syntax_tree/lib/syntax_tree/node.rb#11860 + # source://syntax_tree/lib/syntax_tree/node.rb#11844 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#11846 + # source://syntax_tree/lib/syntax_tree/node.rb#11830 def comments; end # [nil | Else | When] the next clause in the chain # - # source://syntax_tree/lib/syntax_tree/node.rb#11843 + # source://syntax_tree/lib/syntax_tree/node.rb#11827 def consequent; end - # source://syntax_tree/lib/syntax_tree/node.rb#11864 + # source://syntax_tree/lib/syntax_tree/node.rb#11848 def copy(arguments: T.unsafe(nil), statements: T.unsafe(nil), consequent: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#11860 + # source://syntax_tree/lib/syntax_tree/node.rb#11844 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#11879 + # source://syntax_tree/lib/syntax_tree/node.rb#11863 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#11905 + # source://syntax_tree/lib/syntax_tree/node.rb#11889 def format(q); end # [Statements] the expressions to be executed # - # source://syntax_tree/lib/syntax_tree/node.rb#11840 + # source://syntax_tree/lib/syntax_tree/node.rb#11824 def statements; end end # We're going to keep a single instance of this separator around so we don't # have to allocate a new one every time we format a when clause. # -# source://syntax_tree/lib/syntax_tree/node.rb#11903 +# source://syntax_tree/lib/syntax_tree/node.rb#11887 SyntaxTree::When::SEPARATOR = T.let(T.unsafe(nil), SyntaxTree::When::Separator) # We have a special separator here for when clauses which causes them to # fill as much of the line as possible as opposed to everything breaking # into its own line as soon as you hit the print limit. # -# source://syntax_tree/lib/syntax_tree/node.rb#11892 +# source://syntax_tree/lib/syntax_tree/node.rb#11876 class SyntaxTree::When::Separator - # source://syntax_tree/lib/syntax_tree/node.rb#11893 + # source://syntax_tree/lib/syntax_tree/node.rb#11877 def call(q); end end @@ -14187,52 +14413,52 @@ end # while predicate # end # -# source://syntax_tree/lib/syntax_tree/node.rb#11951 +# source://syntax_tree/lib/syntax_tree/node.rb#11935 class SyntaxTree::WhileNode < ::SyntaxTree::Node # @return [WhileNode] a new instance of WhileNode # - # source://syntax_tree/lib/syntax_tree/node.rb#11961 + # source://syntax_tree/lib/syntax_tree/node.rb#11945 def initialize(predicate:, statements:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#12003 + # source://syntax_tree/lib/syntax_tree/node.rb#11987 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#11968 + # source://syntax_tree/lib/syntax_tree/node.rb#11952 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#11972 + # source://syntax_tree/lib/syntax_tree/node.rb#11956 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#11959 + # source://syntax_tree/lib/syntax_tree/node.rb#11943 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#11976 + # source://syntax_tree/lib/syntax_tree/node.rb#11960 def copy(predicate: T.unsafe(nil), statements: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#11972 + # source://syntax_tree/lib/syntax_tree/node.rb#11956 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#11990 + # source://syntax_tree/lib/syntax_tree/node.rb#11974 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#11999 + # source://syntax_tree/lib/syntax_tree/node.rb#11983 def format(q); end # @return [Boolean] # - # source://syntax_tree/lib/syntax_tree/node.rb#12008 + # source://syntax_tree/lib/syntax_tree/node.rb#11992 def modifier?; end # [Node] the expression to be checked # - # source://syntax_tree/lib/syntax_tree/node.rb#11953 + # source://syntax_tree/lib/syntax_tree/node.rb#11937 def predicate; end # [Statements] the expressions to be executed # - # source://syntax_tree/lib/syntax_tree/node.rb#11956 + # source://syntax_tree/lib/syntax_tree/node.rb#11940 def statements; end end @@ -14271,13 +14497,13 @@ module SyntaxTree::WithScope # Visit for capturing local variables defined in regex named capture groups # - # source://syntax_tree/lib/syntax_tree/with_scope.rb#239 + # source://syntax_tree/lib/syntax_tree/with_scope.rb#236 def visit_binary(node); end - # source://syntax_tree/lib/syntax_tree/with_scope.rb#192 + # source://syntax_tree/lib/syntax_tree/with_scope.rb#189 def visit_block_var(node); end - # source://syntax_tree/lib/syntax_tree/with_scope.rb#185 + # source://syntax_tree/lib/syntax_tree/with_scope.rb#182 def visit_blockarg(node); end # Visits for nodes that create new scopes, such as classes, modules @@ -14289,10 +14515,10 @@ module SyntaxTree::WithScope # source://syntax_tree/lib/syntax_tree/with_scope.rb#147 def visit_def(node); end - # source://syntax_tree/lib/syntax_tree/with_scope.rb#178 + # source://syntax_tree/lib/syntax_tree/with_scope.rb#175 def visit_kwrest_param(node); end - # source://syntax_tree/lib/syntax_tree/with_scope.rb#192 + # source://syntax_tree/lib/syntax_tree/with_scope.rb#189 def visit_lambda_var(node); end # When we find a method invocation with a block, only the code that happens @@ -14313,36 +14539,36 @@ module SyntaxTree::WithScope # Visit for keeping track of local variable definitions # - # source://syntax_tree/lib/syntax_tree/with_scope.rb#210 + # source://syntax_tree/lib/syntax_tree/with_scope.rb#207 def visit_pinned_var_ref(node); end - # source://syntax_tree/lib/syntax_tree/with_scope.rb#171 + # source://syntax_tree/lib/syntax_tree/with_scope.rb#168 def visit_rest_param(node); end # Visit for keeping track of local variable definitions # - # source://syntax_tree/lib/syntax_tree/with_scope.rb#202 + # source://syntax_tree/lib/syntax_tree/with_scope.rb#199 def visit_var_field(node); end # Visits for keeping track of variable and argument usages # - # source://syntax_tree/lib/syntax_tree/with_scope.rb#218 + # source://syntax_tree/lib/syntax_tree/with_scope.rb#215 def visit_var_ref(node); end # When using regex named capture groups, vcalls might actually be a variable # - # source://syntax_tree/lib/syntax_tree/with_scope.rb#230 + # source://syntax_tree/lib/syntax_tree/with_scope.rb#227 def visit_vcall(node); end private - # source://syntax_tree/lib/syntax_tree/with_scope.rb#288 + # source://syntax_tree/lib/syntax_tree/with_scope.rb#285 def add_argument_definitions(list); end - # source://syntax_tree/lib/syntax_tree/with_scope.rb#302 + # source://syntax_tree/lib/syntax_tree/with_scope.rb#299 def next_scope_id; end - # source://syntax_tree/lib/syntax_tree/with_scope.rb#306 + # source://syntax_tree/lib/syntax_tree/with_scope.rb#303 def with_scope(parent_scope = T.unsafe(nil)); end end @@ -14440,48 +14666,48 @@ end # In the example above, there would be two Word nodes within a parent Words # node. # -# source://syntax_tree/lib/syntax_tree/node.rb#12020 +# source://syntax_tree/lib/syntax_tree/node.rb#12004 class SyntaxTree::Word < ::SyntaxTree::Node # @return [Word] a new instance of Word # - # source://syntax_tree/lib/syntax_tree/node.rb#12028 + # source://syntax_tree/lib/syntax_tree/node.rb#12012 def initialize(parts:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#12067 + # source://syntax_tree/lib/syntax_tree/node.rb#12051 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#12038 + # source://syntax_tree/lib/syntax_tree/node.rb#12022 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#12042 + # source://syntax_tree/lib/syntax_tree/node.rb#12026 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#12026 + # source://syntax_tree/lib/syntax_tree/node.rb#12010 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#12046 + # source://syntax_tree/lib/syntax_tree/node.rb#12030 def copy(parts: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#12042 + # source://syntax_tree/lib/syntax_tree/node.rb#12026 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#12059 + # source://syntax_tree/lib/syntax_tree/node.rb#12043 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#12063 + # source://syntax_tree/lib/syntax_tree/node.rb#12047 def format(q); end # @return [Boolean] # - # source://syntax_tree/lib/syntax_tree/node.rb#12034 + # source://syntax_tree/lib/syntax_tree/node.rb#12018 def match?(pattern); end # [Array[ StringEmbExpr | StringDVar | TStringContent ]] the parts of the # word # - # source://syntax_tree/lib/syntax_tree/node.rb#12023 + # source://syntax_tree/lib/syntax_tree/node.rb#12007 def parts; end end @@ -14489,47 +14715,47 @@ end # # %W[one two three] # -# source://syntax_tree/lib/syntax_tree/node.rb#12076 +# source://syntax_tree/lib/syntax_tree/node.rb#12060 class SyntaxTree::Words < ::SyntaxTree::Node # @return [Words] a new instance of Words # - # source://syntax_tree/lib/syntax_tree/node.rb#12086 + # source://syntax_tree/lib/syntax_tree/node.rb#12070 def initialize(beginning:, elements:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#12142 + # source://syntax_tree/lib/syntax_tree/node.rb#12126 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#12093 + # source://syntax_tree/lib/syntax_tree/node.rb#12077 def accept(visitor); end # [WordsBeg] the token that opens this array literal # - # source://syntax_tree/lib/syntax_tree/node.rb#12078 + # source://syntax_tree/lib/syntax_tree/node.rb#12062 def beginning; end - # source://syntax_tree/lib/syntax_tree/node.rb#12097 + # source://syntax_tree/lib/syntax_tree/node.rb#12081 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#12084 + # source://syntax_tree/lib/syntax_tree/node.rb#12068 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#12101 + # source://syntax_tree/lib/syntax_tree/node.rb#12085 def copy(beginning: T.unsafe(nil), elements: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#12097 + # source://syntax_tree/lib/syntax_tree/node.rb#12081 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#12111 + # source://syntax_tree/lib/syntax_tree/node.rb#12095 def deconstruct_keys(_keys); end # [Array[ Word ]] the elements of this array # - # source://syntax_tree/lib/syntax_tree/node.rb#12081 + # source://syntax_tree/lib/syntax_tree/node.rb#12065 def elements; end - # source://syntax_tree/lib/syntax_tree/node.rb#12120 + # source://syntax_tree/lib/syntax_tree/node.rb#12104 def format(q); end end @@ -14542,34 +14768,34 @@ end # Note that these kinds of arrays can start with a lot of different delimiter # types (e.g., %W| or %W<). # -# source://syntax_tree/lib/syntax_tree/node.rb#12156 +# source://syntax_tree/lib/syntax_tree/node.rb#12140 class SyntaxTree::WordsBeg < ::SyntaxTree::Node # @return [WordsBeg] a new instance of WordsBeg # - # source://syntax_tree/lib/syntax_tree/node.rb#12160 + # source://syntax_tree/lib/syntax_tree/node.rb#12144 def initialize(value:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#12186 + # source://syntax_tree/lib/syntax_tree/node.rb#12170 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#12165 + # source://syntax_tree/lib/syntax_tree/node.rb#12149 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#12169 + # source://syntax_tree/lib/syntax_tree/node.rb#12153 def child_nodes; end - # source://syntax_tree/lib/syntax_tree/node.rb#12173 + # source://syntax_tree/lib/syntax_tree/node.rb#12157 def copy(value: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#12169 + # source://syntax_tree/lib/syntax_tree/node.rb#12153 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#12182 + # source://syntax_tree/lib/syntax_tree/node.rb#12166 def deconstruct_keys(_keys); end # [String] the start of the word literal array # - # source://syntax_tree/lib/syntax_tree/node.rb#12158 + # source://syntax_tree/lib/syntax_tree/node.rb#12142 def value; end end @@ -14577,35 +14803,35 @@ end # # `ls` # -# source://syntax_tree/lib/syntax_tree/node.rb#12195 +# source://syntax_tree/lib/syntax_tree/node.rb#12179 class SyntaxTree::XString < ::SyntaxTree::Node # @return [XString] a new instance of XString # - # source://syntax_tree/lib/syntax_tree/node.rb#12200 + # source://syntax_tree/lib/syntax_tree/node.rb#12184 def initialize(parts:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#12226 + # source://syntax_tree/lib/syntax_tree/node.rb#12210 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#12205 + # source://syntax_tree/lib/syntax_tree/node.rb#12189 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#12209 + # source://syntax_tree/lib/syntax_tree/node.rb#12193 def child_nodes; end - # source://syntax_tree/lib/syntax_tree/node.rb#12213 + # source://syntax_tree/lib/syntax_tree/node.rb#12197 def copy(parts: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#12209 + # source://syntax_tree/lib/syntax_tree/node.rb#12193 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#12222 + # source://syntax_tree/lib/syntax_tree/node.rb#12206 def deconstruct_keys(_keys); end # [Array[ StringEmbExpr | StringDVar | TStringContent ]] the parts of the # xstring # - # source://syntax_tree/lib/syntax_tree/node.rb#12198 + # source://syntax_tree/lib/syntax_tree/node.rb#12182 def parts; end end @@ -14613,43 +14839,43 @@ end # # `ls` # -# source://syntax_tree/lib/syntax_tree/node.rb#12235 +# source://syntax_tree/lib/syntax_tree/node.rb#12219 class SyntaxTree::XStringLiteral < ::SyntaxTree::Node # @return [XStringLiteral] a new instance of XStringLiteral # - # source://syntax_tree/lib/syntax_tree/node.rb#12243 + # source://syntax_tree/lib/syntax_tree/node.rb#12227 def initialize(parts:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#12280 + # source://syntax_tree/lib/syntax_tree/node.rb#12264 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#12249 + # source://syntax_tree/lib/syntax_tree/node.rb#12233 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#12253 + # source://syntax_tree/lib/syntax_tree/node.rb#12237 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#12241 + # source://syntax_tree/lib/syntax_tree/node.rb#12225 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#12257 + # source://syntax_tree/lib/syntax_tree/node.rb#12241 def copy(parts: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#12253 + # source://syntax_tree/lib/syntax_tree/node.rb#12237 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#12270 + # source://syntax_tree/lib/syntax_tree/node.rb#12254 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#12274 + # source://syntax_tree/lib/syntax_tree/node.rb#12258 def format(q); end # [Array[ StringEmbExpr | StringDVar | TStringContent ]] the parts of the # xstring # - # source://syntax_tree/lib/syntax_tree/node.rb#12238 + # source://syntax_tree/lib/syntax_tree/node.rb#12222 def parts; end end @@ -14660,7 +14886,7 @@ module SyntaxTree::YARV class << self # A convenience method for creating a CallData object. # - # source://syntax_tree/lib/syntax_tree/yarv/calldata.rb#82 + # source://syntax_tree/lib/syntax_tree/yarv/calldata.rb#88 def calldata(method, argc = T.unsafe(nil), flags = T.unsafe(nil), kw_arg = T.unsafe(nil)); end # Compile the given source into a YARV instruction sequence. @@ -14768,54 +14994,54 @@ end class SyntaxTree::YARV::Assembler # @return [Assembler] a new instance of Assembler # - # source://syntax_tree/lib/syntax_tree/yarv/assembler.rb#67 + # source://syntax_tree/lib/syntax_tree/yarv/assembler.rb#66 def initialize(lines); end - # source://syntax_tree/lib/syntax_tree/yarv/assembler.rb#71 + # source://syntax_tree/lib/syntax_tree/yarv/assembler.rb#70 def assemble; end # Returns the value of attribute lines. # - # source://syntax_tree/lib/syntax_tree/yarv/assembler.rb#65 + # source://syntax_tree/lib/syntax_tree/yarv/assembler.rb#64 def lines; end private - # source://syntax_tree/lib/syntax_tree/yarv/assembler.rb#89 + # source://syntax_tree/lib/syntax_tree/yarv/assembler.rb#88 def assemble_iseq(iseq, lines); end - # source://syntax_tree/lib/syntax_tree/yarv/assembler.rb#409 + # source://syntax_tree/lib/syntax_tree/yarv/assembler.rb#408 def find_local(iseq, operands); end - # source://syntax_tree/lib/syntax_tree/yarv/assembler.rb#418 + # source://syntax_tree/lib/syntax_tree/yarv/assembler.rb#417 def parse(value); end - # source://syntax_tree/lib/syntax_tree/yarv/assembler.rb#450 + # source://syntax_tree/lib/syntax_tree/yarv/assembler.rb#449 def parse_calldata(value); end - # source://syntax_tree/lib/syntax_tree/yarv/assembler.rb#445 + # source://syntax_tree/lib/syntax_tree/yarv/assembler.rb#444 def parse_nested(lines); end - # source://syntax_tree/lib/syntax_tree/yarv/assembler.rb#433 + # source://syntax_tree/lib/syntax_tree/yarv/assembler.rb#432 def parse_number(value); end - # source://syntax_tree/lib/syntax_tree/yarv/assembler.rb#425 + # source://syntax_tree/lib/syntax_tree/yarv/assembler.rb#424 def parse_options(value, options); end - # source://syntax_tree/lib/syntax_tree/yarv/assembler.rb#437 + # source://syntax_tree/lib/syntax_tree/yarv/assembler.rb#436 def parse_string(value); end - # source://syntax_tree/lib/syntax_tree/yarv/assembler.rb#441 + # source://syntax_tree/lib/syntax_tree/yarv/assembler.rb#440 def parse_symbol(value); end - # source://syntax_tree/lib/syntax_tree/yarv/assembler.rb#429 + # source://syntax_tree/lib/syntax_tree/yarv/assembler.rb#428 def parse_type(value, type); end class << self - # source://syntax_tree/lib/syntax_tree/yarv/assembler.rb#79 + # source://syntax_tree/lib/syntax_tree/yarv/assembler.rb#78 def assemble(source); end - # source://syntax_tree/lib/syntax_tree/yarv/assembler.rb#83 + # source://syntax_tree/lib/syntax_tree/yarv/assembler.rb#82 def assemble_file(filepath); end end end @@ -14823,7 +15049,7 @@ end # source://syntax_tree/lib/syntax_tree/yarv/assembler.rb#28 SyntaxTree::YARV::Assembler::CALLDATA_FLAGS = T.let(T.unsafe(nil), Hash) -# source://syntax_tree/lib/syntax_tree/yarv/assembler.rb#44 +# source://syntax_tree/lib/syntax_tree/yarv/assembler.rb#43 SyntaxTree::YARV::Assembler::DEFINED_TYPES = T.let(T.unsafe(nil), Array) # source://syntax_tree/lib/syntax_tree/yarv/assembler.rb#6 @@ -15117,83 +15343,83 @@ end class SyntaxTree::YARV::CallData # @return [CallData] a new instance of CallData # - # source://syntax_tree/lib/syntax_tree/yarv/calldata.rb#24 + # source://syntax_tree/lib/syntax_tree/yarv/calldata.rb#31 def initialize(method, argc = T.unsafe(nil), flags = T.unsafe(nil), kw_arg = T.unsafe(nil)); end # Returns the value of attribute argc. # - # source://syntax_tree/lib/syntax_tree/yarv/calldata.rb#22 + # source://syntax_tree/lib/syntax_tree/yarv/calldata.rb#29 def argc; end # @return [Boolean] # - # source://syntax_tree/lib/syntax_tree/yarv/calldata.rb#36 + # source://syntax_tree/lib/syntax_tree/yarv/calldata.rb#43 def flag?(mask); end # Returns the value of attribute flags. # - # source://syntax_tree/lib/syntax_tree/yarv/calldata.rb#22 + # source://syntax_tree/lib/syntax_tree/yarv/calldata.rb#29 def flags; end - # source://syntax_tree/lib/syntax_tree/yarv/calldata.rb#46 + # source://syntax_tree/lib/syntax_tree/yarv/calldata.rb#53 def inspect; end # Returns the value of attribute kw_arg. # - # source://syntax_tree/lib/syntax_tree/yarv/calldata.rb#22 + # source://syntax_tree/lib/syntax_tree/yarv/calldata.rb#29 def kw_arg; end # Returns the value of attribute method. # - # source://syntax_tree/lib/syntax_tree/yarv/calldata.rb#22 + # source://syntax_tree/lib/syntax_tree/yarv/calldata.rb#29 def method; end - # source://syntax_tree/lib/syntax_tree/yarv/calldata.rb#40 + # source://syntax_tree/lib/syntax_tree/yarv/calldata.rb#47 def to_h; end class << self - # source://syntax_tree/lib/syntax_tree/yarv/calldata.rb#71 + # source://syntax_tree/lib/syntax_tree/yarv/calldata.rb#77 def from(serialized); end end end -# source://syntax_tree/lib/syntax_tree/yarv/calldata.rb#9 +# source://syntax_tree/lib/syntax_tree/yarv/calldata.rb#27 SyntaxTree::YARV::CallData::CALL_ARGS_BLOCKARG = T.let(T.unsafe(nil), Integer) -# source://syntax_tree/lib/syntax_tree/yarv/calldata.rb#12 +# source://syntax_tree/lib/syntax_tree/yarv/calldata.rb#27 SyntaxTree::YARV::CallData::CALL_ARGS_SIMPLE = T.let(T.unsafe(nil), Integer) -# source://syntax_tree/lib/syntax_tree/yarv/calldata.rb#8 +# source://syntax_tree/lib/syntax_tree/yarv/calldata.rb#27 SyntaxTree::YARV::CallData::CALL_ARGS_SPLAT = T.let(T.unsafe(nil), Integer) -# source://syntax_tree/lib/syntax_tree/yarv/calldata.rb#13 +# source://syntax_tree/lib/syntax_tree/yarv/calldata.rb#27 SyntaxTree::YARV::CallData::CALL_BLOCKISEQ = T.let(T.unsafe(nil), Integer) -# source://syntax_tree/lib/syntax_tree/yarv/calldata.rb#10 +# source://syntax_tree/lib/syntax_tree/yarv/calldata.rb#27 SyntaxTree::YARV::CallData::CALL_FCALL = T.let(T.unsafe(nil), Integer) -# source://syntax_tree/lib/syntax_tree/yarv/calldata.rb#14 +# source://syntax_tree/lib/syntax_tree/yarv/calldata.rb#27 SyntaxTree::YARV::CallData::CALL_KWARG = T.let(T.unsafe(nil), Integer) -# source://syntax_tree/lib/syntax_tree/yarv/calldata.rb#15 +# source://syntax_tree/lib/syntax_tree/yarv/calldata.rb#27 SyntaxTree::YARV::CallData::CALL_KW_SPLAT = T.let(T.unsafe(nil), Integer) -# source://syntax_tree/lib/syntax_tree/yarv/calldata.rb#20 +# source://syntax_tree/lib/syntax_tree/yarv/calldata.rb#27 SyntaxTree::YARV::CallData::CALL_KW_SPLAT_MUT = T.let(T.unsafe(nil), Integer) -# source://syntax_tree/lib/syntax_tree/yarv/calldata.rb#19 +# source://syntax_tree/lib/syntax_tree/yarv/calldata.rb#27 SyntaxTree::YARV::CallData::CALL_OPT_SEND = T.let(T.unsafe(nil), Integer) -# source://syntax_tree/lib/syntax_tree/yarv/calldata.rb#17 +# source://syntax_tree/lib/syntax_tree/yarv/calldata.rb#27 SyntaxTree::YARV::CallData::CALL_SUPER = T.let(T.unsafe(nil), Integer) -# source://syntax_tree/lib/syntax_tree/yarv/calldata.rb#16 +# source://syntax_tree/lib/syntax_tree/yarv/calldata.rb#27 SyntaxTree::YARV::CallData::CALL_TAILCALL = T.let(T.unsafe(nil), Integer) -# source://syntax_tree/lib/syntax_tree/yarv/calldata.rb#11 +# source://syntax_tree/lib/syntax_tree/yarv/calldata.rb#27 SyntaxTree::YARV::CallData::CALL_VCALL = T.let(T.unsafe(nil), Integer) -# source://syntax_tree/lib/syntax_tree/yarv/calldata.rb#18 +# source://syntax_tree/lib/syntax_tree/yarv/calldata.rb#27 SyntaxTree::YARV::CallData::CALL_ZSUPER = T.let(T.unsafe(nil), Integer) # ### Summary @@ -18165,10 +18391,10 @@ class SyntaxTree::YARV::InstructionSequence # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#168 def initialize(name, file, line, type, parent_iseq = T.unsafe(nil), options = T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#636 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#652 def adjuststack(number); end - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#640 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#656 def anytostring; end # Returns the value of attribute argument_options. @@ -18188,34 +18414,34 @@ class SyntaxTree::YARV::InstructionSequence # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#142 def argument_size=(_arg0); end - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#456 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#472 def block_child_iseq(line); end - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#644 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#660 def branchif(label); end - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#648 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#664 def branchnil(label); end - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#652 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#668 def branchunless(label); end - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#549 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#565 def catch_break(iseq, begin_label, end_label, exit_label, restore_sp); end - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#559 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#575 def catch_ensure(iseq, begin_label, end_label, exit_label, restore_sp); end - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#569 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#585 def catch_next(begin_label, end_label, exit_label, restore_sp); end - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#579 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#595 def catch_redo(begin_label, end_label, exit_label, restore_sp); end - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#589 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#605 def catch_rescue(iseq, begin_label, end_label, exit_label, restore_sp); end - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#599 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#615 def catch_retry(begin_label, end_label, exit_label, restore_sp); end # The catch table for this instruction sequence. @@ -18223,21 +18449,21 @@ class SyntaxTree::YARV::InstructionSequence # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#146 def catch_table; end - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#656 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#672 def checkkeyword(keyword_bits_index, keyword_index); end - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#660 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#676 def checkmatch(type); end - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#664 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#680 def checktype(type); end # Child instruction sequence methods # - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#452 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#468 def child_iseq(name, line, type); end - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#462 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#478 def class_child_iseq(name, line); end # This method converts our linked list of instructions into a final array @@ -18246,49 +18472,49 @@ class SyntaxTree::YARV::InstructionSequence # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#305 def compile!; end - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#668 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#684 def concatarray; end - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#672 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#688 def concatstrings(number); end - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#676 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#692 def defineclass(name, class_iseq, flags); end - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#680 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#696 def defined(type, name, message); end - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#684 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#700 def definedivar(name, cache, message); end - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#693 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#709 def definemethod(name, method_iseq); end - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#697 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#713 def definesmethod(name, method_iseq); end # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#292 def disasm; end - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#701 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#717 def dup; end - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#705 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#721 def duparray(object); end - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#709 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#725 def duphash(object); end - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#713 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#729 def dupn(number); end # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#232 def eval; end - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#632 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#648 def event(name); end - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#717 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#733 def expandarray(length, flags); end # The source location of the instruction sequence. @@ -18296,28 +18522,28 @@ class SyntaxTree::YARV::InstructionSequence # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#132 def file; end - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#721 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#737 def getblockparam(index, level); end - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#725 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#741 def getblockparamproxy(index, level); end - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#729 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#745 def getclassvariable(name); end - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#737 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#753 def getconstant(name); end - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#741 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#757 def getglobal(name); end - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#745 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#761 def getinstancevariable(name); end - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#753 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#769 def getlocal(index, level); end - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#772 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#788 def getspecial(key, type); end # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#207 @@ -18340,24 +18566,24 @@ class SyntaxTree::YARV::InstructionSequence # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#299 def inspect; end - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#776 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#792 def intern; end - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#780 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#796 def invokeblock(calldata); end - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#784 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#800 def invokesuper(calldata, block_iseq); end - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#788 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#804 def jump(label); end # Instruction push methods # - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#613 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#629 def label; end - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#792 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#808 def leave; end # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#219 @@ -18378,10 +18604,10 @@ class SyntaxTree::YARV::InstructionSequence # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#199 def local_variable(name, level = T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#466 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#482 def method_child_iseq(name, line); end - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#470 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#486 def module_child_iseq(name, line); end # The name of the instruction sequence. @@ -18389,43 +18615,43 @@ class SyntaxTree::YARV::InstructionSequence # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#129 def name; end - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#796 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#812 def newarray(number); end - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#800 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#816 def newarraykwsplat(number); end - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#804 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#820 def newhash(number); end - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#808 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#824 def newrange(exclude_end); end - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#812 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#828 def nop; end - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#816 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#832 def objtostring(calldata); end - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#820 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#836 def once(iseq, cache); end - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#824 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#840 def opt_aref_with(object, calldata); end - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#828 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#844 def opt_aset_with(object, calldata); end - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#832 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#848 def opt_case_dispatch(case_dispatch_hash, else_label); end - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#836 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#852 def opt_getconstant_path(names); end - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#872 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#888 def opt_getinlinecache(label, cache); end - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#876 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#892 def opt_setinlinecache(cache); end # These are various compilation options provided. @@ -18438,61 +18664,61 @@ class SyntaxTree::YARV::InstructionSequence # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#138 def parent_iseq; end - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#880 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#896 def pop; end - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#617 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#633 def push(value); end - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#884 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#900 def putnil; end - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#888 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#904 def putobject(object); end - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#906 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#922 def putself; end - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#910 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#926 def putspecialobject(object); end - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#914 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#930 def putstring(object); end - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#918 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#934 def send(calldata, block_iseq = T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#922 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#938 def setblockparam(index, level); end - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#926 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#942 def setclassvariable(name); end - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#934 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#950 def setconstant(name); end - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#938 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#954 def setglobal(name); end - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#942 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#958 def setinstancevariable(name); end - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#950 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#966 def setlocal(index, level); end - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#969 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#985 def setn(number); end - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#973 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#989 def setspecial(key); end - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#474 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#490 def singleton_class_child_iseq(line); end # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#341 def specialize_instructions!; end - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#977 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#993 def splatarray(flag); end # An object that will track the current size of the stack and the @@ -18506,10 +18732,10 @@ class SyntaxTree::YARV::InstructionSequence # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#159 def storage_index; end - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#981 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#997 def swap; end - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#985 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#1001 def throw(type); end # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#236 @@ -18524,10 +18750,10 @@ class SyntaxTree::YARV::InstructionSequence # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#288 def to_son; end - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#989 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#1005 def topn(number); end - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#993 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#1009 def toregexp(options, length); end # The type of the instruction sequence. @@ -18539,7 +18765,7 @@ class SyntaxTree::YARV::InstructionSequence # This method will create a new instruction sequence from a serialized # RubyVM::InstructionSequence object. # - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#999 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#1015 def from(source, options = T.unsafe(nil), parent_iseq = T.unsafe(nil)); end # This provides a handle to the rb_iseq_load function, which allows you @@ -18551,74 +18777,74 @@ class SyntaxTree::YARV::InstructionSequence end end -# source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#494 +# source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#510 class SyntaxTree::YARV::InstructionSequence::CatchBreak < ::SyntaxTree::YARV::InstructionSequence::CatchEntry - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#495 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#511 def to_a; end end -# source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#507 +# source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#523 class SyntaxTree::YARV::InstructionSequence::CatchEnsure < ::SyntaxTree::YARV::InstructionSequence::CatchEntry - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#508 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#524 def to_a; end end # Catch table methods # -# source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#482 +# source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#498 class SyntaxTree::YARV::InstructionSequence::CatchEntry # @return [CatchEntry] a new instance of CatchEntry # - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#485 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#501 def initialize(iseq, begin_label, end_label, exit_label, restore_sp); end # Returns the value of attribute begin_label. # - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#483 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#499 def begin_label; end # Returns the value of attribute end_label. # - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#483 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#499 def end_label; end # Returns the value of attribute exit_label. # - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#483 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#499 def exit_label; end # Returns the value of attribute iseq. # - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#483 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#499 def iseq; end # Returns the value of attribute restore_sp. # - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#483 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#499 def restore_sp; end end -# source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#519 +# source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#535 class SyntaxTree::YARV::InstructionSequence::CatchNext < ::SyntaxTree::YARV::InstructionSequence::CatchEntry - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#520 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#536 def to_a; end end -# source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#525 +# source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#541 class SyntaxTree::YARV::InstructionSequence::CatchRedo < ::SyntaxTree::YARV::InstructionSequence::CatchEntry - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#526 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#542 def to_a; end end -# source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#531 +# source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#547 class SyntaxTree::YARV::InstructionSequence::CatchRescue < ::SyntaxTree::YARV::InstructionSequence::CatchEntry - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#532 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#548 def to_a; end end -# source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#543 +# source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#559 class SyntaxTree::YARV::InstructionSequence::CatchRetry < ::SyntaxTree::YARV::InstructionSequence::CatchEntry - # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#544 + # source://syntax_tree/lib/syntax_tree/yarv/instruction_sequence.rb#560 def to_a; end end @@ -19101,6 +19327,104 @@ class SyntaxTree::YARV::Legacy::OptGetInlineCache < ::SyntaxTree::YARV::Instruct def to_a(_iseq); end end +# ### Summary +# +# `opt_newarray_max` is a specialization that occurs when the `max` method +# is called on an array literal. It pops the values of the array off the +# stack and pushes on the result. +# +# ### Usage +# +# ~~~ruby +# [a, b, c].max +# ~~~ +# +# source://syntax_tree/lib/syntax_tree/yarv/legacy.rb#139 +class SyntaxTree::YARV::Legacy::OptNewArrayMax < ::SyntaxTree::YARV::Instruction + # @return [OptNewArrayMax] a new instance of OptNewArrayMax + # + # source://syntax_tree/lib/syntax_tree/yarv/legacy.rb#142 + def initialize(number); end + + # source://syntax_tree/lib/syntax_tree/yarv/legacy.rb#158 + def ==(other); end + + # source://syntax_tree/lib/syntax_tree/yarv/legacy.rb#174 + def call(vm); end + + # source://syntax_tree/lib/syntax_tree/yarv/legacy.rb#154 + def deconstruct_keys(_keys); end + + # source://syntax_tree/lib/syntax_tree/yarv/legacy.rb#146 + def disasm(fmt); end + + # source://syntax_tree/lib/syntax_tree/yarv/legacy.rb#162 + def length; end + + # Returns the value of attribute number. + # + # source://syntax_tree/lib/syntax_tree/yarv/legacy.rb#140 + def number; end + + # source://syntax_tree/lib/syntax_tree/yarv/legacy.rb#166 + def pops; end + + # source://syntax_tree/lib/syntax_tree/yarv/legacy.rb#170 + def pushes; end + + # source://syntax_tree/lib/syntax_tree/yarv/legacy.rb#150 + def to_a(_iseq); end +end + +# ### Summary +# +# `opt_newarray_min` is a specialization that occurs when the `min` method +# is called on an array literal. It pops the values of the array off the +# stack and pushes on the result. +# +# ### Usage +# +# ~~~ruby +# [a, b, c].min +# ~~~ +# +# source://syntax_tree/lib/syntax_tree/yarv/legacy.rb#191 +class SyntaxTree::YARV::Legacy::OptNewArrayMin < ::SyntaxTree::YARV::Instruction + # @return [OptNewArrayMin] a new instance of OptNewArrayMin + # + # source://syntax_tree/lib/syntax_tree/yarv/legacy.rb#194 + def initialize(number); end + + # source://syntax_tree/lib/syntax_tree/yarv/legacy.rb#210 + def ==(other); end + + # source://syntax_tree/lib/syntax_tree/yarv/legacy.rb#226 + def call(vm); end + + # source://syntax_tree/lib/syntax_tree/yarv/legacy.rb#206 + def deconstruct_keys(_keys); end + + # source://syntax_tree/lib/syntax_tree/yarv/legacy.rb#198 + def disasm(fmt); end + + # source://syntax_tree/lib/syntax_tree/yarv/legacy.rb#214 + def length; end + + # Returns the value of attribute number. + # + # source://syntax_tree/lib/syntax_tree/yarv/legacy.rb#192 + def number; end + + # source://syntax_tree/lib/syntax_tree/yarv/legacy.rb#218 + def pops; end + + # source://syntax_tree/lib/syntax_tree/yarv/legacy.rb#222 + def pushes; end + + # source://syntax_tree/lib/syntax_tree/yarv/legacy.rb#202 + def to_a(_iseq); end +end + # ### Summary # # `opt_setinlinecache` sets an inline cache for a constant lookup. It pops @@ -19116,40 +19440,40 @@ end # Constant # ~~~ # -# source://syntax_tree/lib/syntax_tree/yarv/legacy.rb#142 +# source://syntax_tree/lib/syntax_tree/yarv/legacy.rb#246 class SyntaxTree::YARV::Legacy::OptSetInlineCache < ::SyntaxTree::YARV::Instruction # @return [OptSetInlineCache] a new instance of OptSetInlineCache # - # source://syntax_tree/lib/syntax_tree/yarv/legacy.rb#145 + # source://syntax_tree/lib/syntax_tree/yarv/legacy.rb#249 def initialize(cache); end - # source://syntax_tree/lib/syntax_tree/yarv/legacy.rb#161 + # source://syntax_tree/lib/syntax_tree/yarv/legacy.rb#265 def ==(other); end # Returns the value of attribute cache. # - # source://syntax_tree/lib/syntax_tree/yarv/legacy.rb#143 + # source://syntax_tree/lib/syntax_tree/yarv/legacy.rb#247 def cache; end - # source://syntax_tree/lib/syntax_tree/yarv/legacy.rb#177 + # source://syntax_tree/lib/syntax_tree/yarv/legacy.rb#281 def call(vm); end - # source://syntax_tree/lib/syntax_tree/yarv/legacy.rb#157 + # source://syntax_tree/lib/syntax_tree/yarv/legacy.rb#261 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/yarv/legacy.rb#149 + # source://syntax_tree/lib/syntax_tree/yarv/legacy.rb#253 def disasm(fmt); end - # source://syntax_tree/lib/syntax_tree/yarv/legacy.rb#165 + # source://syntax_tree/lib/syntax_tree/yarv/legacy.rb#269 def length; end - # source://syntax_tree/lib/syntax_tree/yarv/legacy.rb#169 + # source://syntax_tree/lib/syntax_tree/yarv/legacy.rb#273 def pops; end - # source://syntax_tree/lib/syntax_tree/yarv/legacy.rb#173 + # source://syntax_tree/lib/syntax_tree/yarv/legacy.rb#277 def pushes; end - # source://syntax_tree/lib/syntax_tree/yarv/legacy.rb#153 + # source://syntax_tree/lib/syntax_tree/yarv/legacy.rb#257 def to_a(_iseq); end end @@ -19167,40 +19491,40 @@ end # @@class_variable = 1 # ~~~ # -# source://syntax_tree/lib/syntax_tree/yarv/legacy.rb#195 +# source://syntax_tree/lib/syntax_tree/yarv/legacy.rb#299 class SyntaxTree::YARV::Legacy::SetClassVariable < ::SyntaxTree::YARV::Instruction # @return [SetClassVariable] a new instance of SetClassVariable # - # source://syntax_tree/lib/syntax_tree/yarv/legacy.rb#198 + # source://syntax_tree/lib/syntax_tree/yarv/legacy.rb#302 def initialize(name); end - # source://syntax_tree/lib/syntax_tree/yarv/legacy.rb#214 + # source://syntax_tree/lib/syntax_tree/yarv/legacy.rb#318 def ==(other); end - # source://syntax_tree/lib/syntax_tree/yarv/legacy.rb#230 + # source://syntax_tree/lib/syntax_tree/yarv/legacy.rb#334 def call(vm); end - # source://syntax_tree/lib/syntax_tree/yarv/legacy.rb#226 + # source://syntax_tree/lib/syntax_tree/yarv/legacy.rb#330 def canonical; end - # source://syntax_tree/lib/syntax_tree/yarv/legacy.rb#210 + # source://syntax_tree/lib/syntax_tree/yarv/legacy.rb#314 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/yarv/legacy.rb#202 + # source://syntax_tree/lib/syntax_tree/yarv/legacy.rb#306 def disasm(fmt); end - # source://syntax_tree/lib/syntax_tree/yarv/legacy.rb#218 + # source://syntax_tree/lib/syntax_tree/yarv/legacy.rb#322 def length; end # Returns the value of attribute name. # - # source://syntax_tree/lib/syntax_tree/yarv/legacy.rb#196 + # source://syntax_tree/lib/syntax_tree/yarv/legacy.rb#300 def name; end - # source://syntax_tree/lib/syntax_tree/yarv/legacy.rb#222 + # source://syntax_tree/lib/syntax_tree/yarv/legacy.rb#326 def pops; end - # source://syntax_tree/lib/syntax_tree/yarv/legacy.rb#206 + # source://syntax_tree/lib/syntax_tree/yarv/legacy.rb#310 def to_a(_iseq); end end @@ -20733,9 +21057,10 @@ end # ### Summary # -# `opt_newarray_max` is a specialization that occurs when the `max` method -# is called on an array literal. It pops the values of the array off the -# stack and pushes on the result. +# `opt_newarray_send` is a specialization that occurs when a dynamic array +# literal is created and immediately sent the `min`, `max`, or `hash` +# methods. It pops the values of the array off the stack and pushes on the +# result of the method call. # # ### Usage # @@ -20743,89 +21068,45 @@ end # [a, b, c].max # ~~~ # -# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#3831 -class SyntaxTree::YARV::OptNewArrayMax < ::SyntaxTree::YARV::Instruction - # @return [OptNewArrayMax] a new instance of OptNewArrayMax +# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#3832 +class SyntaxTree::YARV::OptNewArraySend < ::SyntaxTree::YARV::Instruction + # @return [OptNewArraySend] a new instance of OptNewArraySend # - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#3834 - def initialize(number); end + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#3835 + def initialize(number, method); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#3850 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#3855 def ==(other); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#3866 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#3872 def call(vm); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#3846 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#3851 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#3838 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#3840 def disasm(fmt); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#3854 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#3860 def length; end - # Returns the value of attribute number. - # - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#3832 - def number; end - - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#3858 - def pops; end - - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#3862 - def pushes; end - - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#3842 - def to_a(_iseq); end -end - -# ### Summary -# -# `opt_newarray_min` is a specialization that occurs when the `min` method -# is called on an array literal. It pops the values of the array off the -# stack and pushes on the result. -# -# ### Usage -# -# ~~~ruby -# [a, b, c].min -# ~~~ -# -# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#3883 -class SyntaxTree::YARV::OptNewArrayMin < ::SyntaxTree::YARV::Instruction - # @return [OptNewArrayMin] a new instance of OptNewArrayMin + # Returns the value of attribute method. # - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#3886 - def initialize(number); end - - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#3902 - def ==(other); end - - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#3918 - def call(vm); end - - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#3898 - def deconstruct_keys(_keys); end - - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#3890 - def disasm(fmt); end - - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#3906 - def length; end + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#3833 + def method; end # Returns the value of attribute number. # - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#3884 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#3833 def number; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#3910 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#3864 def pops; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#3914 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#3868 def pushes; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#3894 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#3847 def to_a(_iseq); end end @@ -20842,43 +21123,43 @@ end # "".nil? # ~~~ # -# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#3936 +# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#3890 class SyntaxTree::YARV::OptNilP < ::SyntaxTree::YARV::Instruction # @return [OptNilP] a new instance of OptNilP # - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#3939 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#3893 def initialize(calldata); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#3955 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#3909 def ==(other); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#3975 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#3929 def call(vm); end # Returns the value of attribute calldata. # - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#3937 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#3891 def calldata; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#3971 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#3925 def canonical; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#3951 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#3905 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#3943 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#3897 def disasm(fmt); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#3959 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#3913 def length; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#3963 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#3917 def pops; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#3967 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#3921 def pushes; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#3947 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#3901 def to_a(_iseq); end end @@ -20893,43 +21174,43 @@ end # !true # ~~~ # -# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#3991 +# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#3945 class SyntaxTree::YARV::OptNot < ::SyntaxTree::YARV::Instruction # @return [OptNot] a new instance of OptNot # - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#3994 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#3948 def initialize(calldata); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4010 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#3964 def ==(other); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4030 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#3984 def call(vm); end # Returns the value of attribute calldata. # - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#3992 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#3946 def calldata; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4026 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#3980 def canonical; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4006 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#3960 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#3998 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#3952 def disasm(fmt); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4014 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#3968 def length; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4018 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#3972 def pops; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4022 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#3976 def pushes; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4002 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#3956 def to_a(_iseq); end end @@ -20946,43 +21227,43 @@ end # 2 | 3 # ~~~ # -# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4048 +# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4002 class SyntaxTree::YARV::OptOr < ::SyntaxTree::YARV::Instruction # @return [OptOr] a new instance of OptOr # - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4051 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4005 def initialize(calldata); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4067 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4021 def ==(other); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4087 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4041 def call(vm); end # Returns the value of attribute calldata. # - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4049 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4003 def calldata; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4083 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4037 def canonical; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4063 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4017 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4055 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4009 def disasm(fmt); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4071 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4025 def length; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4075 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4029 def pops; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4079 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4033 def pushes; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4059 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4013 def to_a(_iseq); end end @@ -20999,43 +21280,43 @@ end # 2 + 3 # ~~~ # -# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4105 +# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4059 class SyntaxTree::YARV::OptPlus < ::SyntaxTree::YARV::Instruction # @return [OptPlus] a new instance of OptPlus # - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4108 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4062 def initialize(calldata); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4124 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4078 def ==(other); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4144 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4098 def call(vm); end # Returns the value of attribute calldata. # - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4106 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4060 def calldata; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4140 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4094 def canonical; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4120 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4074 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4112 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4066 def disasm(fmt); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4128 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4082 def length; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4132 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4086 def pops; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4136 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4090 def pushes; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4116 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4070 def to_a(_iseq); end end @@ -21051,43 +21332,43 @@ end # /a/ =~ "a" # ~~~ # -# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4161 +# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4115 class SyntaxTree::YARV::OptRegExpMatch2 < ::SyntaxTree::YARV::Instruction # @return [OptRegExpMatch2] a new instance of OptRegExpMatch2 # - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4164 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4118 def initialize(calldata); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4180 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4134 def ==(other); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4200 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4154 def call(vm); end # Returns the value of attribute calldata. # - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4162 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4116 def calldata; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4196 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4150 def canonical; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4176 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4130 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4168 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4122 def disasm(fmt); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4184 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4138 def length; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4188 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4142 def pops; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4192 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4146 def pushes; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4172 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4126 def to_a(_iseq); end end @@ -21103,43 +21384,43 @@ end # puts "Hello, world!" # ~~~ # -# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4217 +# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4171 class SyntaxTree::YARV::OptSendWithoutBlock < ::SyntaxTree::YARV::Instruction # @return [OptSendWithoutBlock] a new instance of OptSendWithoutBlock # - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4220 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4174 def initialize(calldata); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4236 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4190 def ==(other); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4256 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4210 def call(vm); end # Returns the value of attribute calldata. # - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4218 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4172 def calldata; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4252 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4206 def canonical; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4232 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4186 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4224 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4178 def disasm(fmt); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4240 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4194 def length; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4244 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4198 def pops; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4248 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4202 def pushes; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4228 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4182 def to_a(_iseq); end end @@ -21156,43 +21437,43 @@ end # "".size # ~~~ # -# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4274 +# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4228 class SyntaxTree::YARV::OptSize < ::SyntaxTree::YARV::Instruction # @return [OptSize] a new instance of OptSize # - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4277 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4231 def initialize(calldata); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4293 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4247 def ==(other); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4313 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4267 def call(vm); end # Returns the value of attribute calldata. # - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4275 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4229 def calldata; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4309 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4263 def canonical; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4289 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4243 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4281 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4235 def disasm(fmt); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4297 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4251 def length; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4301 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4255 def pops; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4305 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4259 def pushes; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4285 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4239 def to_a(_iseq); end end @@ -21208,42 +21489,42 @@ end # "hello".freeze # ~~~ # -# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4330 +# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4284 class SyntaxTree::YARV::OptStrFreeze < ::SyntaxTree::YARV::Instruction # @return [OptStrFreeze] a new instance of OptStrFreeze # - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4333 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4287 def initialize(object, calldata); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4353 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4307 def ==(other); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4366 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4320 def call(vm); end # Returns the value of attribute calldata. # - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4331 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4285 def calldata; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4349 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4303 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4338 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4292 def disasm(fmt); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4358 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4312 def length; end # Returns the value of attribute object. # - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4331 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4285 def object; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4362 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4316 def pushes; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4345 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4299 def to_a(_iseq); end end @@ -21259,42 +21540,42 @@ end # -"string" # ~~~ # -# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4383 +# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4337 class SyntaxTree::YARV::OptStrUMinus < ::SyntaxTree::YARV::Instruction # @return [OptStrUMinus] a new instance of OptStrUMinus # - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4386 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4340 def initialize(object, calldata); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4406 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4360 def ==(other); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4419 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4373 def call(vm); end # Returns the value of attribute calldata. # - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4384 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4338 def calldata; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4402 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4356 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4391 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4345 def disasm(fmt); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4411 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4365 def length; end # Returns the value of attribute object. # - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4384 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4338 def object; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4415 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4369 def pushes; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4398 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4352 def to_a(_iseq); end end @@ -21311,43 +21592,43 @@ end # "".succ # ~~~ # -# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4437 +# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4391 class SyntaxTree::YARV::OptSucc < ::SyntaxTree::YARV::Instruction # @return [OptSucc] a new instance of OptSucc # - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4440 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4394 def initialize(calldata); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4456 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4410 def ==(other); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4476 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4430 def call(vm); end # Returns the value of attribute calldata. # - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4438 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4392 def calldata; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4472 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4426 def canonical; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4452 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4406 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4444 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4398 def disasm(fmt); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4460 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4414 def length; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4464 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4418 def pops; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4468 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4422 def pushes; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4448 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4402 def to_a(_iseq); end end @@ -21361,29 +21642,29 @@ end # a ||= 2 # ~~~ # -# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4491 +# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4445 class SyntaxTree::YARV::Pop < ::SyntaxTree::YARV::Instruction - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4504 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4458 def ==(other); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4512 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4466 def call(vm); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4500 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4454 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4492 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4446 def disasm(fmt); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4508 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4462 def pops; end # @return [Boolean] # - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4516 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4470 def side_effects?; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4496 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4450 def to_a(_iseq); end end @@ -21397,32 +21678,32 @@ end # nil # ~~~ # -# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4531 +# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4485 class SyntaxTree::YARV::PutNil < ::SyntaxTree::YARV::Instruction - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4544 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4498 def ==(other); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4556 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4510 def call(vm); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4552 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4506 def canonical; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4540 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4494 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4532 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4486 def disasm(fmt); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4548 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4502 def pushes; end # @return [Boolean] # - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4560 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4514 def side_effects?; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4536 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4490 def to_a(_iseq); end end @@ -21436,42 +21717,42 @@ end # 5 # ~~~ # -# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4575 +# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4529 class SyntaxTree::YARV::PutObject < ::SyntaxTree::YARV::Instruction # @return [PutObject] a new instance of PutObject # - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4578 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4532 def initialize(object); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4594 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4548 def ==(other); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4606 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4560 def call(vm); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4590 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4544 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4582 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4536 def disasm(fmt); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4598 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4552 def length; end # Returns the value of attribute object. # - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4576 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4530 def object; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4602 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4556 def pushes; end # @return [Boolean] # - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4610 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4564 def side_effects?; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4586 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4540 def to_a(_iseq); end end @@ -21487,32 +21768,32 @@ end # 0 # ~~~ # -# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4627 +# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4581 class SyntaxTree::YARV::PutObjectInt2Fix0 < ::SyntaxTree::YARV::Instruction - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4640 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4594 def ==(other); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4652 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4606 def call(vm); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4648 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4602 def canonical; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4636 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4590 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4628 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4582 def disasm(fmt); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4644 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4598 def pushes; end # @return [Boolean] # - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4656 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4610 def side_effects?; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4632 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4586 def to_a(_iseq); end end @@ -21528,32 +21809,32 @@ end # 1 # ~~~ # -# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4673 +# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4627 class SyntaxTree::YARV::PutObjectInt2Fix1 < ::SyntaxTree::YARV::Instruction - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4686 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4640 def ==(other); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4698 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4652 def call(vm); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4694 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4648 def canonical; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4682 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4636 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4674 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4628 def disasm(fmt); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4690 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4644 def pushes; end # @return [Boolean] # - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4702 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4656 def side_effects?; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4678 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4632 def to_a(_iseq); end end @@ -21567,29 +21848,29 @@ end # puts "Hello, world!" # ~~~ # -# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4717 +# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4671 class SyntaxTree::YARV::PutSelf < ::SyntaxTree::YARV::Instruction - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4730 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4684 def ==(other); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4738 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4692 def call(vm); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4726 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4680 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4718 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4672 def disasm(fmt); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4734 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4688 def pushes; end # @return [Boolean] # - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4742 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4696 def side_effects?; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4722 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4676 def to_a(_iseq); end end @@ -21605,47 +21886,47 @@ end # alias foo bar # ~~~ # -# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4759 +# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4713 class SyntaxTree::YARV::PutSpecialObject < ::SyntaxTree::YARV::Instruction # @return [PutSpecialObject] a new instance of PutSpecialObject # - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4766 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4720 def initialize(object); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4782 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4736 def ==(other); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4794 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4748 def call(vm); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4778 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4732 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4770 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4724 def disasm(fmt); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4786 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4740 def length; end # Returns the value of attribute object. # - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4764 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4718 def object; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4790 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4744 def pushes; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4774 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4728 def to_a(_iseq); end end -# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4761 +# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4715 SyntaxTree::YARV::PutSpecialObject::OBJECT_CBASE = T.let(T.unsafe(nil), Integer) -# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4762 +# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4716 SyntaxTree::YARV::PutSpecialObject::OBJECT_CONST_BASE = T.let(T.unsafe(nil), Integer) -# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4760 +# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4714 SyntaxTree::YARV::PutSpecialObject::OBJECT_VMCORE = T.let(T.unsafe(nil), Integer) # ### Summary @@ -21658,37 +21939,37 @@ SyntaxTree::YARV::PutSpecialObject::OBJECT_VMCORE = T.let(T.unsafe(nil), Integer # "foo" # ~~~ # -# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4818 +# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4772 class SyntaxTree::YARV::PutString < ::SyntaxTree::YARV::Instruction # @return [PutString] a new instance of PutString # - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4821 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4775 def initialize(object); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4837 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4791 def ==(other); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4849 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4803 def call(vm); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4833 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4787 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4825 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4779 def disasm(fmt); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4841 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4795 def length; end # Returns the value of attribute object. # - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4819 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4773 def object; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4845 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4799 def pushes; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4829 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4783 def to_a(_iseq); end end @@ -21979,45 +22260,45 @@ end # "hello".tap { |i| p i } # ~~~ # -# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4867 +# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4821 class SyntaxTree::YARV::Send < ::SyntaxTree::YARV::Instruction # @return [Send] a new instance of Send # - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4870 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4824 def initialize(calldata, block_iseq); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4891 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4845 def ==(other); end # Returns the value of attribute block_iseq. # - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4868 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4822 def block_iseq; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4909 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4863 def call(vm); end # Returns the value of attribute calldata. # - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4868 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4822 def calldata; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4887 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4841 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4875 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4829 def disasm(fmt); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4896 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4850 def length; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4900 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4854 def pops; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4905 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4859 def pushes; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4883 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4837 def to_a(_iseq); end end @@ -22036,42 +22317,42 @@ end # end # ~~~ # -# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4951 +# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4905 class SyntaxTree::YARV::SetBlockParam < ::SyntaxTree::YARV::Instruction # @return [SetBlockParam] a new instance of SetBlockParam # - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4954 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4908 def initialize(index, level); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4973 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4927 def ==(other); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4986 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4940 def call(vm); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4969 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4923 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4959 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4913 def disasm(fmt); end # Returns the value of attribute index. # - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4952 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4906 def index; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4978 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4932 def length; end # Returns the value of attribute level. # - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4952 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4906 def level; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4982 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4936 def pops; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4963 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4917 def to_a(iseq); end end @@ -22088,42 +22369,42 @@ end # @@class_variable = 1 # ~~~ # -# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5004 +# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4958 class SyntaxTree::YARV::SetClassVariable < ::SyntaxTree::YARV::Instruction # @return [SetClassVariable] a new instance of SetClassVariable # - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5007 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4961 def initialize(name, cache); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5027 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4981 def ==(other); end # Returns the value of attribute cache. # - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5005 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4959 def cache; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5040 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4994 def call(vm); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5023 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4977 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5012 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4966 def disasm(fmt); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5032 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4986 def length; end # Returns the value of attribute name. # - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5005 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4959 def name; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5036 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4990 def pops; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5019 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#4973 def to_a(_iseq); end end @@ -22138,37 +22419,37 @@ end # Constant = 1 # ~~~ # -# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5058 +# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5012 class SyntaxTree::YARV::SetConstant < ::SyntaxTree::YARV::Instruction # @return [SetConstant] a new instance of SetConstant # - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5061 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5015 def initialize(name); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5077 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5031 def ==(other); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5089 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5043 def call(vm); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5073 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5027 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5065 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5019 def disasm(fmt); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5081 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5035 def length; end # Returns the value of attribute name. # - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5059 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5013 def name; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5085 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5039 def pops; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5069 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5023 def to_a(_iseq); end end @@ -22183,37 +22464,37 @@ end # $global = 5 # ~~~ # -# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5106 +# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5060 class SyntaxTree::YARV::SetGlobal < ::SyntaxTree::YARV::Instruction # @return [SetGlobal] a new instance of SetGlobal # - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5109 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5063 def initialize(name); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5125 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5079 def ==(other); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5137 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5091 def call(vm); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5121 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5075 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5113 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5067 def disasm(fmt); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5129 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5083 def length; end # Returns the value of attribute name. # - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5107 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5061 def name; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5133 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5087 def pops; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5117 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5071 def to_a(_iseq); end end @@ -22232,42 +22513,42 @@ end # ~~~ruby # ~~~ # -# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5160 +# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5114 class SyntaxTree::YARV::SetInstanceVariable < ::SyntaxTree::YARV::Instruction # @return [SetInstanceVariable] a new instance of SetInstanceVariable # - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5163 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5117 def initialize(name, cache); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5183 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5137 def ==(other); end # Returns the value of attribute cache. # - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5161 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5115 def cache; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5196 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5150 def call(vm); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5179 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5133 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5168 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5122 def disasm(fmt); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5188 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5142 def length; end # Returns the value of attribute name. # - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5161 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5115 def name; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5192 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5146 def pops; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5175 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5129 def to_a(_iseq); end end @@ -22285,42 +22566,42 @@ end # tap { tap { value = 10 } } # ~~~ # -# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5216 +# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5170 class SyntaxTree::YARV::SetLocal < ::SyntaxTree::YARV::Instruction # @return [SetLocal] a new instance of SetLocal # - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5219 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5173 def initialize(index, level); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5238 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5192 def ==(other); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5250 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5204 def call(vm); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5234 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5188 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5224 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5178 def disasm(fmt); end # Returns the value of attribute index. # - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5217 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5171 def index; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5242 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5196 def length; end # Returns the value of attribute level. # - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5217 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5171 def level; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5246 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5200 def pops; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5228 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5182 def to_a(iseq); end end @@ -22337,40 +22618,40 @@ end # value = 5 # ~~~ # -# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5268 +# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5222 class SyntaxTree::YARV::SetLocalWC0 < ::SyntaxTree::YARV::Instruction # @return [SetLocalWC0] a new instance of SetLocalWC0 # - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5271 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5225 def initialize(index); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5287 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5241 def ==(other); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5303 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5257 def call(vm); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5299 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5253 def canonical; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5283 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5237 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5275 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5229 def disasm(fmt); end # Returns the value of attribute index. # - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5269 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5223 def index; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5291 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5245 def length; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5295 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5249 def pops; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5279 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5233 def to_a(iseq); end end @@ -22387,40 +22668,40 @@ end # self.then { value = 10 } # ~~~ # -# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5321 +# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5275 class SyntaxTree::YARV::SetLocalWC1 < ::SyntaxTree::YARV::Instruction # @return [SetLocalWC1] a new instance of SetLocalWC1 # - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5324 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5278 def initialize(index); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5340 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5294 def ==(other); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5356 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5310 def call(vm); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5352 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5306 def canonical; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5336 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5290 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5328 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5282 def disasm(fmt); end # Returns the value of attribute index. # - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5322 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5276 def index; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5344 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5298 def length; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5348 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5302 def pops; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5332 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5286 def to_a(iseq); end end @@ -22435,40 +22716,40 @@ end # {}[:key] = 'val' # ~~~ # -# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5372 +# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5326 class SyntaxTree::YARV::SetN < ::SyntaxTree::YARV::Instruction # @return [SetN] a new instance of SetN # - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5375 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5329 def initialize(number); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5391 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5345 def ==(other); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5407 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5361 def call(vm); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5387 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5341 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5379 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5333 def disasm(fmt); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5395 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5349 def length; end # Returns the value of attribute number. # - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5373 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5327 def number; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5399 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5353 def pops; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5403 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5357 def pushes; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5383 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5337 def to_a(_iseq); end end @@ -22484,37 +22765,37 @@ end # baz if (foo == 1) .. (bar == 1) # ~~~ # -# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5424 +# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5378 class SyntaxTree::YARV::SetSpecial < ::SyntaxTree::YARV::Instruction # @return [SetSpecial] a new instance of SetSpecial # - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5427 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5381 def initialize(key); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5443 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5397 def ==(other); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5455 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5409 def call(vm); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5439 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5393 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5431 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5385 def disasm(fmt); end # Returns the value of attribute key. # - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5425 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5379 def key; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5447 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5401 def length; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5451 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5405 def pops; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5435 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5389 def to_a(_iseq); end end @@ -22530,40 +22811,40 @@ end # x = *(5) # ~~~ # -# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5479 +# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5433 class SyntaxTree::YARV::SplatArray < ::SyntaxTree::YARV::Instruction # @return [SplatArray] a new instance of SplatArray # - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5482 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5436 def initialize(flag); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5498 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5452 def ==(other); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5514 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5468 def call(vm); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5494 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5448 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5486 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5440 def disasm(fmt); end # Returns the value of attribute flag. # - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5480 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5434 def flag; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5502 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5456 def length; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5506 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5460 def pops; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5510 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5464 def pushes; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5490 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5444 def to_a(_iseq); end end @@ -22581,27 +22862,27 @@ end # !!defined?([[]]) # ~~~ # -# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5553 +# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5507 class SyntaxTree::YARV::Swap < ::SyntaxTree::YARV::Instruction - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5566 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5520 def ==(other); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5578 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5532 def call(vm); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5562 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5516 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5554 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5508 def disasm(fmt); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5570 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5524 def pops; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5574 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5528 def pushes; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5558 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5512 def to_a(_iseq); end end @@ -22617,79 +22898,79 @@ end # [1, 2, 3].map { break 2 } # ~~~ # -# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5596 +# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5550 class SyntaxTree::YARV::Throw < ::SyntaxTree::YARV::Instruction # @return [Throw] a new instance of Throw # - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5612 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5566 def initialize(type); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5628 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5582 def ==(other); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5644 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5598 def call(vm); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5624 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5578 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5616 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5570 def disasm(fmt); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5632 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5586 def length; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5636 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5590 def pops; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5640 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5594 def pushes; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5620 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5574 def to_a(_iseq); end # Returns the value of attribute type. # - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5610 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5564 def type; end private - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5671 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5625 def error_backtrace(vm); end end -# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5599 +# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5553 SyntaxTree::YARV::Throw::RUBY_TAG_BREAK = T.let(T.unsafe(nil), Integer) -# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5605 +# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5559 SyntaxTree::YARV::Throw::RUBY_TAG_FATAL = T.let(T.unsafe(nil), Integer) -# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5600 +# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5554 SyntaxTree::YARV::Throw::RUBY_TAG_NEXT = T.let(T.unsafe(nil), Integer) -# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5597 +# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5551 SyntaxTree::YARV::Throw::RUBY_TAG_NONE = T.let(T.unsafe(nil), Integer) -# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5603 +# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5557 SyntaxTree::YARV::Throw::RUBY_TAG_RAISE = T.let(T.unsafe(nil), Integer) -# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5602 +# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5556 SyntaxTree::YARV::Throw::RUBY_TAG_REDO = T.let(T.unsafe(nil), Integer) -# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5601 +# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5555 SyntaxTree::YARV::Throw::RUBY_TAG_RETRY = T.let(T.unsafe(nil), Integer) -# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5598 +# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5552 SyntaxTree::YARV::Throw::RUBY_TAG_RETURN = T.let(T.unsafe(nil), Integer) -# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5604 +# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5558 SyntaxTree::YARV::Throw::RUBY_TAG_THROW = T.let(T.unsafe(nil), Integer) -# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5607 +# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5561 SyntaxTree::YARV::Throw::VM_THROW_NO_ESCAPE_FLAG = T.let(T.unsafe(nil), Integer) -# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5608 +# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5562 SyntaxTree::YARV::Throw::VM_THROW_STATE_MASK = T.let(T.unsafe(nil), Integer) # ### Summary @@ -22703,42 +22984,42 @@ SyntaxTree::YARV::Throw::VM_THROW_STATE_MASK = T.let(T.unsafe(nil), Integer) # /foo #{bar}/ # ~~~ # -# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5746 +# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5700 class SyntaxTree::YARV::ToRegExp < ::SyntaxTree::YARV::Instruction # @return [ToRegExp] a new instance of ToRegExp # - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5749 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5703 def initialize(options, length); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5766 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5720 def ==(other); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5779 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5733 def call(vm); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5762 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5716 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5754 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5708 def disasm(fmt); end # Returns the value of attribute length. # - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5747 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5701 def length; end # Returns the value of attribute options. # - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5747 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5701 def options; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5771 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5725 def pops; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5775 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5729 def pushes; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5758 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5712 def to_a(_iseq); end end @@ -22756,37 +23037,37 @@ end # end # ~~~ # -# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5699 +# source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5653 class SyntaxTree::YARV::TopN < ::SyntaxTree::YARV::Instruction # @return [TopN] a new instance of TopN # - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5702 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5656 def initialize(number); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5718 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5672 def ==(other); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5730 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5684 def call(vm); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5714 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5668 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5706 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5660 def disasm(fmt); end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5722 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5676 def length; end # Returns the value of attribute number. # - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5700 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5654 def number; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5726 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5680 def pushes; end - # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5710 + # source://syntax_tree/lib/syntax_tree/yarv/instructions.rb#5664 def to_a(_iseq); end end @@ -23173,42 +23454,42 @@ end # # yield value # -# source://syntax_tree/lib/syntax_tree/node.rb#12289 +# source://syntax_tree/lib/syntax_tree/node.rb#12273 class SyntaxTree::YieldNode < ::SyntaxTree::Node # @return [YieldNode] a new instance of YieldNode # - # source://syntax_tree/lib/syntax_tree/node.rb#12296 + # source://syntax_tree/lib/syntax_tree/node.rb#12280 def initialize(arguments:, location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#12350 + # source://syntax_tree/lib/syntax_tree/node.rb#12334 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#12302 + # source://syntax_tree/lib/syntax_tree/node.rb#12286 def accept(visitor); end # [nil | Args | Paren] the arguments passed to the yield # - # source://syntax_tree/lib/syntax_tree/node.rb#12291 + # source://syntax_tree/lib/syntax_tree/node.rb#12275 def arguments; end - # source://syntax_tree/lib/syntax_tree/node.rb#12306 + # source://syntax_tree/lib/syntax_tree/node.rb#12290 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#12294 + # source://syntax_tree/lib/syntax_tree/node.rb#12278 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#12310 + # source://syntax_tree/lib/syntax_tree/node.rb#12294 def copy(arguments: T.unsafe(nil), location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#12306 + # source://syntax_tree/lib/syntax_tree/node.rb#12290 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#12323 + # source://syntax_tree/lib/syntax_tree/node.rb#12307 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#12327 + # source://syntax_tree/lib/syntax_tree/node.rb#12311 def format(q); end end @@ -23216,36 +23497,36 @@ end # # super # -# source://syntax_tree/lib/syntax_tree/node.rb#12359 +# source://syntax_tree/lib/syntax_tree/node.rb#12343 class SyntaxTree::ZSuper < ::SyntaxTree::Node # @return [ZSuper] a new instance of ZSuper # - # source://syntax_tree/lib/syntax_tree/node.rb#12363 + # source://syntax_tree/lib/syntax_tree/node.rb#12347 def initialize(location:); end - # source://syntax_tree/lib/syntax_tree/node.rb#12393 + # source://syntax_tree/lib/syntax_tree/node.rb#12377 def ===(other); end - # source://syntax_tree/lib/syntax_tree/node.rb#12368 + # source://syntax_tree/lib/syntax_tree/node.rb#12352 def accept(visitor); end - # source://syntax_tree/lib/syntax_tree/node.rb#12372 + # source://syntax_tree/lib/syntax_tree/node.rb#12356 def child_nodes; end # [Array[ Comment | EmbDoc ]] the comments attached to this node # - # source://syntax_tree/lib/syntax_tree/node.rb#12361 + # source://syntax_tree/lib/syntax_tree/node.rb#12345 def comments; end - # source://syntax_tree/lib/syntax_tree/node.rb#12376 + # source://syntax_tree/lib/syntax_tree/node.rb#12360 def copy(location: T.unsafe(nil)); end - # source://syntax_tree/lib/syntax_tree/node.rb#12372 + # source://syntax_tree/lib/syntax_tree/node.rb#12356 def deconstruct; end - # source://syntax_tree/lib/syntax_tree/node.rb#12385 + # source://syntax_tree/lib/syntax_tree/node.rb#12369 def deconstruct_keys(_keys); end - # source://syntax_tree/lib/syntax_tree/node.rb#12389 + # source://syntax_tree/lib/syntax_tree/node.rb#12373 def format(q); end end diff --git a/sorbet/rbi/gems/tapioca@0.11.9.rbi b/sorbet/rbi/gems/tapioca@0.11.9.rbi index b8592d23..6b7ee004 100644 --- a/sorbet/rbi/gems/tapioca@0.11.9.rbi +++ b/sorbet/rbi/gems/tapioca@0.11.9.rbi @@ -3455,30 +3455,30 @@ end # source://tapioca/lib/tapioca/helpers/source_uri.rb#7 class URI::Source < ::URI::File - # source://ruby-lsp/0.10.1lib/ruby_lsp/requests/support/source_uri.rb#62 + # source://ruby-lsp/0.11.0lib/ruby_lsp/requests/support/source_uri.rb#62 sig { params(v: T.nilable(::String)).returns(T::Boolean) } def check_host(v); end # source://uri/0.12.1uri/generic.rb#243 def gem_name; end - # source://ruby-lsp/0.10.1lib/ruby_lsp/requests/support/source_uri.rb#26 + # source://ruby-lsp/0.11.0lib/ruby_lsp/requests/support/source_uri.rb#26 sig { returns(T.nilable(::String)) } def gem_version; end # source://uri/0.12.1uri/generic.rb#283 def line_number; end - # source://ruby-lsp/0.10.1lib/ruby_lsp/requests/support/source_uri.rb#52 + # source://ruby-lsp/0.11.0lib/ruby_lsp/requests/support/source_uri.rb#52 sig { params(v: T.nilable(::String)).void } def set_path(v); end - # source://ruby-lsp/0.10.1lib/ruby_lsp/requests/support/source_uri.rb#74 + # source://ruby-lsp/0.11.0lib/ruby_lsp/requests/support/source_uri.rb#74 sig { returns(::String) } def to_s; end class << self - # source://ruby-lsp/0.10.1lib/ruby_lsp/requests/support/source_uri.rb#39 + # source://ruby-lsp/0.11.0lib/ruby_lsp/requests/support/source_uri.rb#39 sig do params( gem_name: ::String, diff --git a/sorbet/rbi/gems/yarp@0.11.0.rbi b/sorbet/rbi/gems/yarp@0.12.0.rbi similarity index 71% rename from sorbet/rbi/gems/yarp@0.11.0.rbi rename to sorbet/rbi/gems/yarp@0.12.0.rbi index cc17941b..e438fdb1 100644 --- a/sorbet/rbi/gems/yarp@0.11.0.rbi +++ b/sorbet/rbi/gems/yarp@0.12.0.rbi @@ -4,9 +4,10 @@ # This is an autogenerated file for types exported from the `yarp` gem. # Please instead update this file by running `bin/tapioca gem yarp`. -# This file is generated by the templates/template.rb script and should not be -# modified manually. See templates/lib/yarp/node.rb.erb -# if you are looking to modify the template +# Reopening the YARP module after yarp/node is required so that constant +# reflection APIs will find the constants defined in the node file before these. +# This block is meant to contain extra APIs we define on YARP nodes that aren't +# templated and are meant as convenience methods. # # source://yarp/lib/yarp.rb#3 module YARP @@ -39,7 +40,7 @@ module YARP # Load the serialized AST using the source as a reference into a tree. # - # source://yarp/lib/yarp.rb#417 + # source://yarp/lib/yarp.rb#380 def load(source, serialized); end # Mirror the YARP.parse API by using the serialization API. @@ -58,16 +59,16 @@ module YARP end end -# Represents the use of the `alias` keyword. +# Represents the use of the `alias` keyword to alias a global variable. # -# alias foo bar -# ^^^^^^^^^^^^^ +# alias $foo $bar +# ^^^^^^^^^^^^^^^ # # source://yarp/lib/yarp/node.rb#13 -class YARP::AliasNode < ::YARP::Node +class YARP::AliasGlobalVariableNode < ::YARP::Node # def initialize: (new_name: Node, old_name: Node, keyword_loc: Location, location: Location) -> void # - # @return [AliasNode] a new instance of AliasNode + # @return [AliasGlobalVariableNode] a new instance of AliasGlobalVariableNode # # source://yarp/lib/yarp/node.rb#24 def initialize(new_name, old_name, keyword_loc, location); end @@ -84,12 +85,17 @@ class YARP::AliasNode < ::YARP::Node # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#42 + # source://yarp/lib/yarp/node.rb#47 def comment_targets; end - # def copy: (**params) -> AliasNode + # def compact_child_nodes: () -> Array[Node] # - # source://yarp/lib/yarp/node.rb#47 + # source://yarp/lib/yarp/node.rb#42 + def compact_child_nodes; end + + # def copy: (**params) -> AliasGlobalVariableNode + # + # source://yarp/lib/yarp/node.rb#52 def copy(**params); end # def child_nodes: () -> Array[nil | Node] @@ -100,15 +106,22 @@ class YARP::AliasNode < ::YARP::Node # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#60 + # source://yarp/lib/yarp/node.rb#65 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#69 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#87 + def human; end + + # source://yarp/lib/yarp/node.rb#74 def inspect(inspector = T.unsafe(nil)); end # def keyword: () -> String # - # source://yarp/lib/yarp/node.rb#65 + # source://yarp/lib/yarp/node.rb#70 def keyword; end # attr_reader keyword_loc: Location @@ -127,72 +140,165 @@ class YARP::AliasNode < ::YARP::Node def old_name; end end +# Represents the use of the `alias` keyword to alias a method. +# +# alias foo bar +# ^^^^^^^^^^^^^ +# +# source://yarp/lib/yarp/node.rb#96 +class YARP::AliasMethodNode < ::YARP::Node + # def initialize: (new_name: Node, old_name: Node, keyword_loc: Location, location: Location) -> void + # + # @return [AliasMethodNode] a new instance of AliasMethodNode + # + # source://yarp/lib/yarp/node.rb#107 + def initialize(new_name, old_name, keyword_loc, location); end + + # def accept: (visitor: Visitor) -> void + # + # source://yarp/lib/yarp/node.rb#115 + def accept(visitor); end + + # def child_nodes: () -> Array[nil | Node] + # + # source://yarp/lib/yarp/node.rb#120 + def child_nodes; end + + # def comment_targets: () -> Array[Node | Location] + # + # source://yarp/lib/yarp/node.rb#130 + def comment_targets; end + + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#125 + def compact_child_nodes; end + + # def copy: (**params) -> AliasMethodNode + # + # source://yarp/lib/yarp/node.rb#135 + def copy(**params); end + + # def child_nodes: () -> Array[nil | Node] + # def deconstruct: () -> Array[nil | Node] + # + # source://yarp/lib/yarp/node.rb#120 + def deconstruct; end + + # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] + # + # source://yarp/lib/yarp/node.rb#148 + def deconstruct_keys(keys); end + + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#170 + def human; end + + # source://yarp/lib/yarp/node.rb#157 + def inspect(inspector = T.unsafe(nil)); end + + # def keyword: () -> String + # + # source://yarp/lib/yarp/node.rb#153 + def keyword; end + + # attr_reader keyword_loc: Location + # + # source://yarp/lib/yarp/node.rb#104 + def keyword_loc; end + + # attr_reader new_name: Node + # + # source://yarp/lib/yarp/node.rb#98 + def new_name; end + + # attr_reader old_name: Node + # + # source://yarp/lib/yarp/node.rb#101 + def old_name; end +end + # Represents an alternation pattern in pattern matching. # # foo => bar | baz # ^^^^^^^^^ # -# source://yarp/lib/yarp/node.rb#84 +# source://yarp/lib/yarp/node.rb#179 class YARP::AlternationPatternNode < ::YARP::Node # def initialize: (left: Node, right: Node, operator_loc: Location, location: Location) -> void # # @return [AlternationPatternNode] a new instance of AlternationPatternNode # - # source://yarp/lib/yarp/node.rb#95 + # source://yarp/lib/yarp/node.rb#190 def initialize(left, right, operator_loc, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#103 + # source://yarp/lib/yarp/node.rb#198 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#108 + # source://yarp/lib/yarp/node.rb#203 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#113 + # source://yarp/lib/yarp/node.rb#213 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#208 + def compact_child_nodes; end + # def copy: (**params) -> AlternationPatternNode # - # source://yarp/lib/yarp/node.rb#118 + # source://yarp/lib/yarp/node.rb#218 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#108 + # source://yarp/lib/yarp/node.rb#203 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#131 + # source://yarp/lib/yarp/node.rb#231 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#140 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#253 + def human; end + + # source://yarp/lib/yarp/node.rb#240 def inspect(inspector = T.unsafe(nil)); end # attr_reader left: Node # - # source://yarp/lib/yarp/node.rb#86 + # source://yarp/lib/yarp/node.rb#181 def left; end # def operator: () -> String # - # source://yarp/lib/yarp/node.rb#136 + # source://yarp/lib/yarp/node.rb#236 def operator; end # attr_reader operator_loc: Location # - # source://yarp/lib/yarp/node.rb#92 + # source://yarp/lib/yarp/node.rb#187 def operator_loc; end # attr_reader right: Node # - # source://yarp/lib/yarp/node.rb#89 + # source://yarp/lib/yarp/node.rb#184 def right; end end @@ -201,67 +307,79 @@ end # left and right # ^^^^^^^^^^^^^^ # -# source://yarp/lib/yarp/node.rb#155 +# source://yarp/lib/yarp/node.rb#262 class YARP::AndNode < ::YARP::Node # def initialize: (left: Node, right: Node, operator_loc: Location, location: Location) -> void # # @return [AndNode] a new instance of AndNode # - # source://yarp/lib/yarp/node.rb#166 + # source://yarp/lib/yarp/node.rb#273 def initialize(left, right, operator_loc, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#174 + # source://yarp/lib/yarp/node.rb#281 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#179 + # source://yarp/lib/yarp/node.rb#286 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#184 + # source://yarp/lib/yarp/node.rb#296 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#291 + def compact_child_nodes; end + # def copy: (**params) -> AndNode # - # source://yarp/lib/yarp/node.rb#189 + # source://yarp/lib/yarp/node.rb#301 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#179 + # source://yarp/lib/yarp/node.rb#286 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#202 + # source://yarp/lib/yarp/node.rb#314 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#211 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#336 + def human; end + + # source://yarp/lib/yarp/node.rb#323 def inspect(inspector = T.unsafe(nil)); end # attr_reader left: Node # - # source://yarp/lib/yarp/node.rb#157 + # source://yarp/lib/yarp/node.rb#264 def left; end # def operator: () -> String # - # source://yarp/lib/yarp/node.rb#207 + # source://yarp/lib/yarp/node.rb#319 def operator; end # attr_reader operator_loc: Location # - # source://yarp/lib/yarp/node.rb#163 + # source://yarp/lib/yarp/node.rb#270 def operator_loc; end # attr_reader right: Node # - # source://yarp/lib/yarp/node.rb#160 + # source://yarp/lib/yarp/node.rb#267 def right; end end @@ -270,52 +388,64 @@ end # return foo, bar, baz # ^^^^^^^^^^^^^ # -# source://yarp/lib/yarp/node.rb#226 +# source://yarp/lib/yarp/node.rb#345 class YARP::ArgumentsNode < ::YARP::Node # def initialize: (arguments: Array[Node], location: Location) -> void # # @return [ArgumentsNode] a new instance of ArgumentsNode # - # source://yarp/lib/yarp/node.rb#231 + # source://yarp/lib/yarp/node.rb#350 def initialize(arguments, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#237 + # source://yarp/lib/yarp/node.rb#356 def accept(visitor); end # attr_reader arguments: Array[Node] # - # source://yarp/lib/yarp/node.rb#228 + # source://yarp/lib/yarp/node.rb#347 def arguments; end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#242 + # source://yarp/lib/yarp/node.rb#361 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#247 + # source://yarp/lib/yarp/node.rb#371 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#366 + def compact_child_nodes; end + # def copy: (**params) -> ArgumentsNode # - # source://yarp/lib/yarp/node.rb#252 + # source://yarp/lib/yarp/node.rb#376 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#242 + # source://yarp/lib/yarp/node.rb#361 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#263 + # source://yarp/lib/yarp/node.rb#387 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#267 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#400 + def human; end + + # source://yarp/lib/yarp/node.rb#391 def inspect(inspector = T.unsafe(nil)); end end @@ -325,72 +455,84 @@ end # [1, 2, 3] # ^^^^^^^^^ # -# source://yarp/lib/yarp/node.rb#279 +# source://yarp/lib/yarp/node.rb#410 class YARP::ArrayNode < ::YARP::Node # def initialize: (elements: Array[Node], opening_loc: Location?, closing_loc: Location?, location: Location) -> void # # @return [ArrayNode] a new instance of ArrayNode # - # source://yarp/lib/yarp/node.rb#290 + # source://yarp/lib/yarp/node.rb#421 def initialize(elements, opening_loc, closing_loc, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#298 + # source://yarp/lib/yarp/node.rb#429 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#303 + # source://yarp/lib/yarp/node.rb#434 def child_nodes; end # def closing: () -> String? # - # source://yarp/lib/yarp/node.rb#336 + # source://yarp/lib/yarp/node.rb#472 def closing; end # attr_reader closing_loc: Location? # - # source://yarp/lib/yarp/node.rb#287 + # source://yarp/lib/yarp/node.rb#418 def closing_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#308 + # source://yarp/lib/yarp/node.rb#444 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#439 + def compact_child_nodes; end + # def copy: (**params) -> ArrayNode # - # source://yarp/lib/yarp/node.rb#313 + # source://yarp/lib/yarp/node.rb#449 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#303 + # source://yarp/lib/yarp/node.rb#434 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#326 + # source://yarp/lib/yarp/node.rb#462 def deconstruct_keys(keys); end # attr_reader elements: Array[Node] # - # source://yarp/lib/yarp/node.rb#281 + # source://yarp/lib/yarp/node.rb#412 def elements; end - # source://yarp/lib/yarp/node.rb#340 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#487 + def human; end + + # source://yarp/lib/yarp/node.rb#476 def inspect(inspector = T.unsafe(nil)); end # def opening: () -> String? # - # source://yarp/lib/yarp/node.rb#331 + # source://yarp/lib/yarp/node.rb#467 def opening; end # attr_reader opening_loc: Location? # - # source://yarp/lib/yarp/node.rb#284 + # source://yarp/lib/yarp/node.rb#415 def opening_loc; end end @@ -411,87 +553,99 @@ end # foo in Bar[1, 2, 3] # ^^^^^^^^^^^^^^^^^^^ # -# source://yarp/lib/yarp/node.rb#365 +# source://yarp/lib/yarp/node.rb#508 class YARP::ArrayPatternNode < ::YARP::Node # def initialize: (constant: Node?, requireds: Array[Node], rest: Node?, posts: Array[Node], opening_loc: Location?, closing_loc: Location?, location: Location) -> void # # @return [ArrayPatternNode] a new instance of ArrayPatternNode # - # source://yarp/lib/yarp/node.rb#385 + # source://yarp/lib/yarp/node.rb#528 def initialize(constant, requireds, rest, posts, opening_loc, closing_loc, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#396 + # source://yarp/lib/yarp/node.rb#539 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#401 + # source://yarp/lib/yarp/node.rb#544 def child_nodes; end # def closing: () -> String? # - # source://yarp/lib/yarp/node.rb#437 + # source://yarp/lib/yarp/node.rb#590 def closing; end # attr_reader closing_loc: Location? # - # source://yarp/lib/yarp/node.rb#382 + # source://yarp/lib/yarp/node.rb#525 def closing_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#406 + # source://yarp/lib/yarp/node.rb#559 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#549 + def compact_child_nodes; end + # attr_reader constant: Node? # - # source://yarp/lib/yarp/node.rb#367 + # source://yarp/lib/yarp/node.rb#510 def constant; end # def copy: (**params) -> ArrayPatternNode # - # source://yarp/lib/yarp/node.rb#411 + # source://yarp/lib/yarp/node.rb#564 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#401 + # source://yarp/lib/yarp/node.rb#544 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#427 + # source://yarp/lib/yarp/node.rb#580 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#441 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#618 + def human; end + + # source://yarp/lib/yarp/node.rb#594 def inspect(inspector = T.unsafe(nil)); end # def opening: () -> String? # - # source://yarp/lib/yarp/node.rb#432 + # source://yarp/lib/yarp/node.rb#585 def opening; end # attr_reader opening_loc: Location? # - # source://yarp/lib/yarp/node.rb#379 + # source://yarp/lib/yarp/node.rb#522 def opening_loc; end # attr_reader posts: Array[Node] # - # source://yarp/lib/yarp/node.rb#376 + # source://yarp/lib/yarp/node.rb#519 def posts; end # attr_reader requireds: Array[Node] # - # source://yarp/lib/yarp/node.rb#370 + # source://yarp/lib/yarp/node.rb#513 def requireds; end # attr_reader rest: Node? # - # source://yarp/lib/yarp/node.rb#373 + # source://yarp/lib/yarp/node.rb#516 def rest; end end @@ -500,67 +654,79 @@ end # { a => b } # ^^^^^^ # -# source://yarp/lib/yarp/node.rb#467 +# source://yarp/lib/yarp/node.rb#627 class YARP::AssocNode < ::YARP::Node # def initialize: (key: Node, value: Node?, operator_loc: Location?, location: Location) -> void # # @return [AssocNode] a new instance of AssocNode # - # source://yarp/lib/yarp/node.rb#478 + # source://yarp/lib/yarp/node.rb#638 def initialize(key, value, operator_loc, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#486 + # source://yarp/lib/yarp/node.rb#646 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#491 + # source://yarp/lib/yarp/node.rb#651 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#496 + # source://yarp/lib/yarp/node.rb#664 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#656 + def compact_child_nodes; end + # def copy: (**params) -> AssocNode # - # source://yarp/lib/yarp/node.rb#501 + # source://yarp/lib/yarp/node.rb#669 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#491 + # source://yarp/lib/yarp/node.rb#651 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#514 + # source://yarp/lib/yarp/node.rb#682 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#523 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#708 + def human; end + + # source://yarp/lib/yarp/node.rb#691 def inspect(inspector = T.unsafe(nil)); end # attr_reader key: Node # - # source://yarp/lib/yarp/node.rb#469 + # source://yarp/lib/yarp/node.rb#629 def key; end # def operator: () -> String? # - # source://yarp/lib/yarp/node.rb#519 + # source://yarp/lib/yarp/node.rb#687 def operator; end # attr_reader operator_loc: Location? # - # source://yarp/lib/yarp/node.rb#475 + # source://yarp/lib/yarp/node.rb#635 def operator_loc; end # attr_reader value: Node? # - # source://yarp/lib/yarp/node.rb#472 + # source://yarp/lib/yarp/node.rb#632 def value; end end @@ -569,62 +735,74 @@ end # { **foo } # ^^^^^ # -# source://yarp/lib/yarp/node.rb#542 +# source://yarp/lib/yarp/node.rb#717 class YARP::AssocSplatNode < ::YARP::Node # def initialize: (value: Node?, operator_loc: Location, location: Location) -> void # # @return [AssocSplatNode] a new instance of AssocSplatNode # - # source://yarp/lib/yarp/node.rb#550 + # source://yarp/lib/yarp/node.rb#725 def initialize(value, operator_loc, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#557 + # source://yarp/lib/yarp/node.rb#732 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#562 + # source://yarp/lib/yarp/node.rb#737 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#567 + # source://yarp/lib/yarp/node.rb#749 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#742 + def compact_child_nodes; end + # def copy: (**params) -> AssocSplatNode # - # source://yarp/lib/yarp/node.rb#572 + # source://yarp/lib/yarp/node.rb#754 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#562 + # source://yarp/lib/yarp/node.rb#737 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#584 + # source://yarp/lib/yarp/node.rb#766 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#593 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#790 + def human; end + + # source://yarp/lib/yarp/node.rb#775 def inspect(inspector = T.unsafe(nil)); end # def operator: () -> String # - # source://yarp/lib/yarp/node.rb#589 + # source://yarp/lib/yarp/node.rb#771 def operator; end # attr_reader operator_loc: Location # - # source://yarp/lib/yarp/node.rb#547 + # source://yarp/lib/yarp/node.rb#722 def operator_loc; end # attr_reader value: Node? # - # source://yarp/lib/yarp/node.rb#544 + # source://yarp/lib/yarp/node.rb#719 def value; end end @@ -635,47 +813,59 @@ YARP::BACKEND = T.let(T.unsafe(nil), Symbol) # $' # ^^ # -# source://yarp/lib/yarp/node.rb#610 +# source://yarp/lib/yarp/node.rb#799 class YARP::BackReferenceReadNode < ::YARP::Node # def initialize: (location: Location) -> void # # @return [BackReferenceReadNode] a new instance of BackReferenceReadNode # - # source://yarp/lib/yarp/node.rb#612 + # source://yarp/lib/yarp/node.rb#801 def initialize(location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#617 + # source://yarp/lib/yarp/node.rb#806 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#622 + # source://yarp/lib/yarp/node.rb#811 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#627 + # source://yarp/lib/yarp/node.rb#821 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#816 + def compact_child_nodes; end + # def copy: (**params) -> BackReferenceReadNode # - # source://yarp/lib/yarp/node.rb#632 + # source://yarp/lib/yarp/node.rb#826 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#622 + # source://yarp/lib/yarp/node.rb#811 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#642 + # source://yarp/lib/yarp/node.rb#836 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#646 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#848 + def human; end + + # source://yarp/lib/yarp/node.rb#840 def inspect(inspector = T.unsafe(nil)); end end @@ -703,90 +893,102 @@ end # end # ^^^^^ # -# source://yarp/lib/yarp/node.rb#658 +# source://yarp/lib/yarp/node.rb#859 class YARP::BeginNode < ::YARP::Node # def initialize: (begin_keyword_loc: Location?, statements: StatementsNode?, rescue_clause: RescueNode?, else_clause: ElseNode?, ensure_clause: EnsureNode?, end_keyword_loc: Location?, location: Location) -> void # # @return [BeginNode] a new instance of BeginNode # - # source://yarp/lib/yarp/node.rb#678 + # source://yarp/lib/yarp/node.rb#879 def initialize(begin_keyword_loc, statements, rescue_clause, else_clause, ensure_clause, end_keyword_loc, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#689 + # source://yarp/lib/yarp/node.rb#890 def accept(visitor); end # def begin_keyword: () -> String? # - # source://yarp/lib/yarp/node.rb#729 + # source://yarp/lib/yarp/node.rb#940 def begin_keyword; end # attr_reader begin_keyword_loc: Location? # - # source://yarp/lib/yarp/node.rb#660 + # source://yarp/lib/yarp/node.rb#861 def begin_keyword_loc; end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#698 + # source://yarp/lib/yarp/node.rb#899 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#703 + # source://yarp/lib/yarp/node.rb#914 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#904 + def compact_child_nodes; end + # def copy: (**params) -> BeginNode # - # source://yarp/lib/yarp/node.rb#708 + # source://yarp/lib/yarp/node.rb#919 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#698 + # source://yarp/lib/yarp/node.rb#899 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#724 + # source://yarp/lib/yarp/node.rb#935 def deconstruct_keys(keys); end # attr_reader else_clause: ElseNode? # - # source://yarp/lib/yarp/node.rb#669 + # source://yarp/lib/yarp/node.rb#870 def else_clause; end # def end_keyword: () -> String? # - # source://yarp/lib/yarp/node.rb#734 + # source://yarp/lib/yarp/node.rb#945 def end_keyword; end # attr_reader end_keyword_loc: Location? # - # source://yarp/lib/yarp/node.rb#675 + # source://yarp/lib/yarp/node.rb#876 def end_keyword_loc; end # attr_reader ensure_clause: EnsureNode? # - # source://yarp/lib/yarp/node.rb#672 + # source://yarp/lib/yarp/node.rb#873 def ensure_clause; end - # source://yarp/lib/yarp/node.rb#738 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#983 + def human; end + + # source://yarp/lib/yarp/node.rb#949 def inspect(inspector = T.unsafe(nil)); end # attr_reader rescue_clause: RescueNode? # - # source://yarp/lib/yarp/node.rb#666 + # source://yarp/lib/yarp/node.rb#867 def rescue_clause; end - # source://yarp/lib/yarp/node.rb#693 + # source://yarp/lib/yarp/node.rb#894 def set_newline_flag(newline_marked); end # attr_reader statements: StatementsNode? # - # source://yarp/lib/yarp/node.rb#663 + # source://yarp/lib/yarp/node.rb#864 def statements; end end @@ -795,62 +997,74 @@ end # bar(&args) # ^^^^^^^^^^ # -# source://yarp/lib/yarp/node.rb#774 +# source://yarp/lib/yarp/node.rb#992 class YARP::BlockArgumentNode < ::YARP::Node # def initialize: (expression: Node?, operator_loc: Location, location: Location) -> void # # @return [BlockArgumentNode] a new instance of BlockArgumentNode # - # source://yarp/lib/yarp/node.rb#782 + # source://yarp/lib/yarp/node.rb#1000 def initialize(expression, operator_loc, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#789 + # source://yarp/lib/yarp/node.rb#1007 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#794 + # source://yarp/lib/yarp/node.rb#1012 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#799 + # source://yarp/lib/yarp/node.rb#1024 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#1017 + def compact_child_nodes; end + # def copy: (**params) -> BlockArgumentNode # - # source://yarp/lib/yarp/node.rb#804 + # source://yarp/lib/yarp/node.rb#1029 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#794 + # source://yarp/lib/yarp/node.rb#1012 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#816 + # source://yarp/lib/yarp/node.rb#1041 def deconstruct_keys(keys); end # attr_reader expression: Node? # - # source://yarp/lib/yarp/node.rb#776 + # source://yarp/lib/yarp/node.rb#994 def expression; end - # source://yarp/lib/yarp/node.rb#825 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#1065 + def human; end + + # source://yarp/lib/yarp/node.rb#1050 def inspect(inspector = T.unsafe(nil)); end # def operator: () -> String # - # source://yarp/lib/yarp/node.rb#821 + # source://yarp/lib/yarp/node.rb#1046 def operator; end # attr_reader operator_loc: Location # - # source://yarp/lib/yarp/node.rb#779 + # source://yarp/lib/yarp/node.rb#997 def operator_loc; end end @@ -859,52 +1073,64 @@ end # a { |; b| } # ^ # -# source://yarp/lib/yarp/node.rb#842 +# source://yarp/lib/yarp/node.rb#1074 class YARP::BlockLocalVariableNode < ::YARP::Node # def initialize: (name: Symbol, location: Location) -> void # # @return [BlockLocalVariableNode] a new instance of BlockLocalVariableNode # - # source://yarp/lib/yarp/node.rb#847 + # source://yarp/lib/yarp/node.rb#1079 def initialize(name, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#853 + # source://yarp/lib/yarp/node.rb#1085 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#858 + # source://yarp/lib/yarp/node.rb#1090 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#863 + # source://yarp/lib/yarp/node.rb#1100 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#1095 + def compact_child_nodes; end + # def copy: (**params) -> BlockLocalVariableNode # - # source://yarp/lib/yarp/node.rb#868 + # source://yarp/lib/yarp/node.rb#1105 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#858 + # source://yarp/lib/yarp/node.rb#1090 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#879 + # source://yarp/lib/yarp/node.rb#1116 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#883 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#1129 + def human; end + + # source://yarp/lib/yarp/node.rb#1120 def inspect(inspector = T.unsafe(nil)); end # attr_reader name: Symbol # - # source://yarp/lib/yarp/node.rb#844 + # source://yarp/lib/yarp/node.rb#1076 def name; end end @@ -913,82 +1139,94 @@ end # [1, 2, 3].each { |i| puts x } # ^^^^^^^^^^^^^^ # -# source://yarp/lib/yarp/node.rb#894 +# source://yarp/lib/yarp/node.rb#1138 class YARP::BlockNode < ::YARP::Node # def initialize: (locals: Array[Symbol], parameters: BlockParametersNode?, body: Node?, opening_loc: Location, closing_loc: Location, location: Location) -> void # # @return [BlockNode] a new instance of BlockNode # - # source://yarp/lib/yarp/node.rb#911 + # source://yarp/lib/yarp/node.rb#1155 def initialize(locals, parameters, body, opening_loc, closing_loc, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#921 + # source://yarp/lib/yarp/node.rb#1165 def accept(visitor); end # attr_reader body: Node? # - # source://yarp/lib/yarp/node.rb#902 + # source://yarp/lib/yarp/node.rb#1146 def body; end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#926 + # source://yarp/lib/yarp/node.rb#1170 def child_nodes; end # def closing: () -> String # - # source://yarp/lib/yarp/node.rb#961 + # source://yarp/lib/yarp/node.rb#1213 def closing; end # attr_reader closing_loc: Location # - # source://yarp/lib/yarp/node.rb#908 + # source://yarp/lib/yarp/node.rb#1152 def closing_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#931 + # source://yarp/lib/yarp/node.rb#1183 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#1175 + def compact_child_nodes; end + # def copy: (**params) -> BlockNode # - # source://yarp/lib/yarp/node.rb#936 + # source://yarp/lib/yarp/node.rb#1188 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#926 + # source://yarp/lib/yarp/node.rb#1170 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#951 + # source://yarp/lib/yarp/node.rb#1203 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#965 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#1240 + def human; end + + # source://yarp/lib/yarp/node.rb#1217 def inspect(inspector = T.unsafe(nil)); end # attr_reader locals: Array[Symbol] # - # source://yarp/lib/yarp/node.rb#896 + # source://yarp/lib/yarp/node.rb#1140 def locals; end # def opening: () -> String # - # source://yarp/lib/yarp/node.rb#956 + # source://yarp/lib/yarp/node.rb#1208 def opening; end # attr_reader opening_loc: Location # - # source://yarp/lib/yarp/node.rb#905 + # source://yarp/lib/yarp/node.rb#1149 def opening_loc; end # attr_reader parameters: BlockParametersNode? # - # source://yarp/lib/yarp/node.rb#899 + # source://yarp/lib/yarp/node.rb#1143 def parameters; end end @@ -998,67 +1236,79 @@ end # ^^ # end # -# source://yarp/lib/yarp/node.rb#991 +# source://yarp/lib/yarp/node.rb#1250 class YARP::BlockParameterNode < ::YARP::Node # def initialize: (name: Symbol?, name_loc: Location?, operator_loc: Location, location: Location) -> void # # @return [BlockParameterNode] a new instance of BlockParameterNode # - # source://yarp/lib/yarp/node.rb#1002 + # source://yarp/lib/yarp/node.rb#1261 def initialize(name, name_loc, operator_loc, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#1010 + # source://yarp/lib/yarp/node.rb#1269 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#1015 + # source://yarp/lib/yarp/node.rb#1274 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#1020 + # source://yarp/lib/yarp/node.rb#1284 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#1279 + def compact_child_nodes; end + # def copy: (**params) -> BlockParameterNode # - # source://yarp/lib/yarp/node.rb#1025 + # source://yarp/lib/yarp/node.rb#1289 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#1015 + # source://yarp/lib/yarp/node.rb#1274 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#1038 + # source://yarp/lib/yarp/node.rb#1302 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#1047 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#1322 + def human; end + + # source://yarp/lib/yarp/node.rb#1311 def inspect(inspector = T.unsafe(nil)); end # attr_reader name: Symbol? # - # source://yarp/lib/yarp/node.rb#993 + # source://yarp/lib/yarp/node.rb#1252 def name; end # attr_reader name_loc: Location? # - # source://yarp/lib/yarp/node.rb#996 + # source://yarp/lib/yarp/node.rb#1255 def name_loc; end # def operator: () -> String # - # source://yarp/lib/yarp/node.rb#1043 + # source://yarp/lib/yarp/node.rb#1307 def operator; end # attr_reader operator_loc: Location # - # source://yarp/lib/yarp/node.rb#999 + # source://yarp/lib/yarp/node.rb#1258 def operator_loc; end end @@ -1071,77 +1321,89 @@ end # ^^^^^^^^^^^^^^^^^ # end # -# source://yarp/lib/yarp/node.rb#1064 +# source://yarp/lib/yarp/node.rb#1335 class YARP::BlockParametersNode < ::YARP::Node # def initialize: (parameters: ParametersNode?, locals: Array[Node], opening_loc: Location?, closing_loc: Location?, location: Location) -> void # # @return [BlockParametersNode] a new instance of BlockParametersNode # - # source://yarp/lib/yarp/node.rb#1078 + # source://yarp/lib/yarp/node.rb#1349 def initialize(parameters, locals, opening_loc, closing_loc, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#1087 + # source://yarp/lib/yarp/node.rb#1358 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#1092 + # source://yarp/lib/yarp/node.rb#1363 def child_nodes; end # def closing: () -> String? # - # source://yarp/lib/yarp/node.rb#1126 + # source://yarp/lib/yarp/node.rb#1405 def closing; end # attr_reader closing_loc: Location? # - # source://yarp/lib/yarp/node.rb#1075 + # source://yarp/lib/yarp/node.rb#1346 def closing_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#1097 + # source://yarp/lib/yarp/node.rb#1376 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#1368 + def compact_child_nodes; end + # def copy: (**params) -> BlockParametersNode # - # source://yarp/lib/yarp/node.rb#1102 + # source://yarp/lib/yarp/node.rb#1381 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#1092 + # source://yarp/lib/yarp/node.rb#1363 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#1116 + # source://yarp/lib/yarp/node.rb#1395 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#1130 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#1426 + def human; end + + # source://yarp/lib/yarp/node.rb#1409 def inspect(inspector = T.unsafe(nil)); end # attr_reader locals: Array[Node] # - # source://yarp/lib/yarp/node.rb#1069 + # source://yarp/lib/yarp/node.rb#1340 def locals; end # def opening: () -> String? # - # source://yarp/lib/yarp/node.rb#1121 + # source://yarp/lib/yarp/node.rb#1400 def opening; end # attr_reader opening_loc: Location? # - # source://yarp/lib/yarp/node.rb#1072 + # source://yarp/lib/yarp/node.rb#1343 def opening_loc; end # attr_reader parameters: ParametersNode? # - # source://yarp/lib/yarp/node.rb#1066 + # source://yarp/lib/yarp/node.rb#1337 def parameters; end end @@ -1150,62 +1412,74 @@ end # break foo # ^^^^^^^^^ # -# source://yarp/lib/yarp/node.rb#1149 +# source://yarp/lib/yarp/node.rb#1435 class YARP::BreakNode < ::YARP::Node # def initialize: (arguments: ArgumentsNode?, keyword_loc: Location, location: Location) -> void # # @return [BreakNode] a new instance of BreakNode # - # source://yarp/lib/yarp/node.rb#1157 + # source://yarp/lib/yarp/node.rb#1443 def initialize(arguments, keyword_loc, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#1164 + # source://yarp/lib/yarp/node.rb#1450 def accept(visitor); end # attr_reader arguments: ArgumentsNode? # - # source://yarp/lib/yarp/node.rb#1151 + # source://yarp/lib/yarp/node.rb#1437 def arguments; end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#1169 + # source://yarp/lib/yarp/node.rb#1455 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#1174 + # source://yarp/lib/yarp/node.rb#1467 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#1460 + def compact_child_nodes; end + # def copy: (**params) -> BreakNode # - # source://yarp/lib/yarp/node.rb#1179 + # source://yarp/lib/yarp/node.rb#1472 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#1169 + # source://yarp/lib/yarp/node.rb#1455 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#1191 + # source://yarp/lib/yarp/node.rb#1484 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#1200 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#1508 + def human; end + + # source://yarp/lib/yarp/node.rb#1493 def inspect(inspector = T.unsafe(nil)); end # def keyword: () -> String # - # source://yarp/lib/yarp/node.rb#1196 + # source://yarp/lib/yarp/node.rb#1489 def keyword; end # attr_reader keyword_loc: Location # - # source://yarp/lib/yarp/node.rb#1154 + # source://yarp/lib/yarp/node.rb#1440 def keyword_loc; end end @@ -1214,142 +1488,156 @@ end # foo.bar &&= value # ^^^^^^^^^^^^^^^^^ # -# source://yarp/lib/yarp/node.rb#1217 +# source://yarp/lib/yarp/node.rb#1517 class YARP::CallAndWriteNode < ::YARP::Node # def initialize: (receiver: Node?, call_operator_loc: Location?, message_loc: Location?, opening_loc: Location?, arguments: ArgumentsNode?, closing_loc: Location?, flags: Integer, read_name: String, write_name: String, operator_loc: Location, value: Node, location: Location) -> void # # @return [CallAndWriteNode] a new instance of CallAndWriteNode # - # source://yarp/lib/yarp/node.rb#1252 + # source://yarp/lib/yarp/node.rb#1552 def initialize(receiver, call_operator_loc, message_loc, opening_loc, arguments, closing_loc, flags, read_name, write_name, operator_loc, value, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#1268 + # source://yarp/lib/yarp/node.rb#1568 def accept(visitor); end # attr_reader arguments: ArgumentsNode? # - # source://yarp/lib/yarp/node.rb#1231 + # source://yarp/lib/yarp/node.rb#1531 def arguments; end # def call_operator: () -> String? # - # source://yarp/lib/yarp/node.rb#1309 + # source://yarp/lib/yarp/node.rb#1618 def call_operator; end # attr_reader call_operator_loc: Location? # - # source://yarp/lib/yarp/node.rb#1222 + # source://yarp/lib/yarp/node.rb#1522 def call_operator_loc; end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#1273 + # source://yarp/lib/yarp/node.rb#1573 def child_nodes; end # def closing: () -> String? # - # source://yarp/lib/yarp/node.rb#1324 + # source://yarp/lib/yarp/node.rb#1633 def closing; end # attr_reader closing_loc: Location? # - # source://yarp/lib/yarp/node.rb#1234 + # source://yarp/lib/yarp/node.rb#1534 def closing_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#1278 + # source://yarp/lib/yarp/node.rb#1587 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#1578 + def compact_child_nodes; end + # def copy: (**params) -> CallAndWriteNode # - # source://yarp/lib/yarp/node.rb#1283 + # source://yarp/lib/yarp/node.rb#1592 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#1273 + # source://yarp/lib/yarp/node.rb#1573 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#1304 + # source://yarp/lib/yarp/node.rb#1613 def deconstruct_keys(keys); end - # attr_reader flags: Integer + # Returns a symbol representation of the type of node. # - # source://yarp/lib/yarp/node.rb#1237 - def flags; end + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#1683 + def human; end - # source://yarp/lib/yarp/node.rb#1343 + # source://yarp/lib/yarp/node.rb#1652 def inspect(inspector = T.unsafe(nil)); end # def message: () -> String? # - # source://yarp/lib/yarp/node.rb#1314 + # source://yarp/lib/yarp/node.rb#1623 def message; end # attr_reader message_loc: Location? # - # source://yarp/lib/yarp/node.rb#1225 + # source://yarp/lib/yarp/node.rb#1525 def message_loc; end # def opening: () -> String? # - # source://yarp/lib/yarp/node.rb#1319 + # source://yarp/lib/yarp/node.rb#1628 def opening; end # attr_reader opening_loc: Location? # - # source://yarp/lib/yarp/node.rb#1228 + # source://yarp/lib/yarp/node.rb#1528 def opening_loc; end # def operator: () -> String # - # source://yarp/lib/yarp/node.rb#1339 + # source://yarp/lib/yarp/node.rb#1648 def operator; end # attr_reader operator_loc: Location # - # source://yarp/lib/yarp/node.rb#1246 + # source://yarp/lib/yarp/node.rb#1546 def operator_loc; end # attr_reader read_name: String # - # source://yarp/lib/yarp/node.rb#1240 + # source://yarp/lib/yarp/node.rb#1540 def read_name; end # attr_reader receiver: Node? # - # source://yarp/lib/yarp/node.rb#1219 + # source://yarp/lib/yarp/node.rb#1519 def receiver; end # def safe_navigation?: () -> bool # # @return [Boolean] # - # source://yarp/lib/yarp/node.rb#1329 + # source://yarp/lib/yarp/node.rb#1638 def safe_navigation?; end # attr_reader value: Node # - # source://yarp/lib/yarp/node.rb#1249 + # source://yarp/lib/yarp/node.rb#1549 def value; end # def variable_call?: () -> bool # # @return [Boolean] # - # source://yarp/lib/yarp/node.rb#1334 + # source://yarp/lib/yarp/node.rb#1643 def variable_call?; end # attr_reader write_name: String # - # source://yarp/lib/yarp/node.rb#1243 + # source://yarp/lib/yarp/node.rb#1543 def write_name; end + + private + + # Returns the value of attribute flags. + # + # source://yarp/lib/yarp/node.rb#1537 + def flags; end end # Represents a method call, in all of the various forms that can take. @@ -1372,140 +1660,154 @@ end # foo&.bar # ^^^^^^^^ # -# source://yarp/lib/yarp/node.rb#1390 +# source://yarp/lib/yarp/node.rb#1707 class YARP::CallNode < ::YARP::Node # def initialize: (receiver: Node?, call_operator_loc: Location?, message_loc: Location?, opening_loc: Location?, arguments: ArgumentsNode?, closing_loc: Location?, block: BlockNode?, flags: Integer, name: String, location: Location) -> void # # @return [CallNode] a new instance of CallNode # - # source://yarp/lib/yarp/node.rb#1419 + # source://yarp/lib/yarp/node.rb#1736 def initialize(receiver, call_operator_loc, message_loc, opening_loc, arguments, closing_loc, block, flags, name, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#1433 + # source://yarp/lib/yarp/node.rb#1750 def accept(visitor); end # attr_reader arguments: ArgumentsNode? # - # source://yarp/lib/yarp/node.rb#1404 + # source://yarp/lib/yarp/node.rb#1721 def arguments; end # attr_reader block: BlockNode? # - # source://yarp/lib/yarp/node.rb#1410 + # source://yarp/lib/yarp/node.rb#1727 def block; end # def call_operator: () -> String? # - # source://yarp/lib/yarp/node.rb#1472 + # source://yarp/lib/yarp/node.rb#1798 def call_operator; end # attr_reader call_operator_loc: Location? # - # source://yarp/lib/yarp/node.rb#1395 + # source://yarp/lib/yarp/node.rb#1712 def call_operator_loc; end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#1438 + # source://yarp/lib/yarp/node.rb#1755 def child_nodes; end # def closing: () -> String? # - # source://yarp/lib/yarp/node.rb#1487 + # source://yarp/lib/yarp/node.rb#1813 def closing; end # attr_reader closing_loc: Location? # - # source://yarp/lib/yarp/node.rb#1407 + # source://yarp/lib/yarp/node.rb#1724 def closing_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#1443 + # source://yarp/lib/yarp/node.rb#1769 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#1760 + def compact_child_nodes; end + # def copy: (**params) -> CallNode # - # source://yarp/lib/yarp/node.rb#1448 + # source://yarp/lib/yarp/node.rb#1774 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#1438 + # source://yarp/lib/yarp/node.rb#1755 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#1467 + # source://yarp/lib/yarp/node.rb#1793 def deconstruct_keys(keys); end - # attr_reader flags: Integer + # Returns a symbol representation of the type of node. # - # source://yarp/lib/yarp/node.rb#1413 - def flags; end + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#1860 + def human; end - # source://yarp/lib/yarp/node.rb#1501 + # source://yarp/lib/yarp/node.rb#1827 def inspect(inspector = T.unsafe(nil)); end # def message: () -> String? # - # source://yarp/lib/yarp/node.rb#1477 + # source://yarp/lib/yarp/node.rb#1803 def message; end # attr_reader message_loc: Location? # - # source://yarp/lib/yarp/node.rb#1398 + # source://yarp/lib/yarp/node.rb#1715 def message_loc; end # attr_reader name: String # - # source://yarp/lib/yarp/node.rb#1416 + # source://yarp/lib/yarp/node.rb#1733 def name; end # def opening: () -> String? # - # source://yarp/lib/yarp/node.rb#1482 + # source://yarp/lib/yarp/node.rb#1808 def opening; end # attr_reader opening_loc: Location? # - # source://yarp/lib/yarp/node.rb#1401 + # source://yarp/lib/yarp/node.rb#1718 def opening_loc; end # attr_reader receiver: Node? # - # source://yarp/lib/yarp/node.rb#1392 + # source://yarp/lib/yarp/node.rb#1709 def receiver; end # def safe_navigation?: () -> bool # # @return [Boolean] # - # source://yarp/lib/yarp/node.rb#1492 + # source://yarp/lib/yarp/node.rb#1818 def safe_navigation?; end # def variable_call?: () -> bool # # @return [Boolean] # - # source://yarp/lib/yarp/node.rb#1497 + # source://yarp/lib/yarp/node.rb#1823 def variable_call?; end + + private + + # Returns the value of attribute flags. + # + # source://yarp/lib/yarp/node.rb#1730 + def flags; end end -# source://yarp/lib/yarp/node.rb#10557 +# source://yarp/lib/yarp/node.rb#12895 module YARP::CallNodeFlags; end # &. operator # -# source://yarp/lib/yarp/node.rb#10559 +# source://yarp/lib/yarp/node.rb#12897 YARP::CallNodeFlags::SAFE_NAVIGATION = T.let(T.unsafe(nil), Integer) # a call that could have been a local variable # -# source://yarp/lib/yarp/node.rb#10562 +# source://yarp/lib/yarp/node.rb#12900 YARP::CallNodeFlags::VARIABLE_CALL = T.let(T.unsafe(nil), Integer) # Represents the use of an assignment operator on a call. @@ -1513,142 +1815,156 @@ YARP::CallNodeFlags::VARIABLE_CALL = T.let(T.unsafe(nil), Integer) # foo.bar += baz # ^^^^^^^^^^^^^^ # -# source://yarp/lib/yarp/node.rb#1535 +# source://yarp/lib/yarp/node.rb#1869 class YARP::CallOperatorWriteNode < ::YARP::Node # def initialize: (receiver: Node?, call_operator_loc: Location?, message_loc: Location?, opening_loc: Location?, arguments: ArgumentsNode?, closing_loc: Location?, flags: Integer, read_name: String, write_name: String, operator: Symbol, operator_loc: Location, value: Node, location: Location) -> void # # @return [CallOperatorWriteNode] a new instance of CallOperatorWriteNode # - # source://yarp/lib/yarp/node.rb#1573 + # source://yarp/lib/yarp/node.rb#1907 def initialize(receiver, call_operator_loc, message_loc, opening_loc, arguments, closing_loc, flags, read_name, write_name, operator, operator_loc, value, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#1590 + # source://yarp/lib/yarp/node.rb#1924 def accept(visitor); end # attr_reader arguments: ArgumentsNode? # - # source://yarp/lib/yarp/node.rb#1549 + # source://yarp/lib/yarp/node.rb#1883 def arguments; end # def call_operator: () -> String? # - # source://yarp/lib/yarp/node.rb#1632 + # source://yarp/lib/yarp/node.rb#1975 def call_operator; end # attr_reader call_operator_loc: Location? # - # source://yarp/lib/yarp/node.rb#1540 + # source://yarp/lib/yarp/node.rb#1874 def call_operator_loc; end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#1595 + # source://yarp/lib/yarp/node.rb#1929 def child_nodes; end # def closing: () -> String? # - # source://yarp/lib/yarp/node.rb#1647 + # source://yarp/lib/yarp/node.rb#1990 def closing; end # attr_reader closing_loc: Location? # - # source://yarp/lib/yarp/node.rb#1552 + # source://yarp/lib/yarp/node.rb#1886 def closing_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#1600 + # source://yarp/lib/yarp/node.rb#1943 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#1934 + def compact_child_nodes; end + # def copy: (**params) -> CallOperatorWriteNode # - # source://yarp/lib/yarp/node.rb#1605 + # source://yarp/lib/yarp/node.rb#1948 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#1595 + # source://yarp/lib/yarp/node.rb#1929 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#1627 + # source://yarp/lib/yarp/node.rb#1970 def deconstruct_keys(keys); end - # attr_reader flags: Integer + # Returns a symbol representation of the type of node. # - # source://yarp/lib/yarp/node.rb#1555 - def flags; end + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#2036 + def human; end - # source://yarp/lib/yarp/node.rb#1661 + # source://yarp/lib/yarp/node.rb#2004 def inspect(inspector = T.unsafe(nil)); end # def message: () -> String? # - # source://yarp/lib/yarp/node.rb#1637 + # source://yarp/lib/yarp/node.rb#1980 def message; end # attr_reader message_loc: Location? # - # source://yarp/lib/yarp/node.rb#1543 + # source://yarp/lib/yarp/node.rb#1877 def message_loc; end # def opening: () -> String? # - # source://yarp/lib/yarp/node.rb#1642 + # source://yarp/lib/yarp/node.rb#1985 def opening; end # attr_reader opening_loc: Location? # - # source://yarp/lib/yarp/node.rb#1546 + # source://yarp/lib/yarp/node.rb#1880 def opening_loc; end # attr_reader operator: Symbol # - # source://yarp/lib/yarp/node.rb#1564 + # source://yarp/lib/yarp/node.rb#1898 def operator; end # attr_reader operator_loc: Location # - # source://yarp/lib/yarp/node.rb#1567 + # source://yarp/lib/yarp/node.rb#1901 def operator_loc; end # attr_reader read_name: String # - # source://yarp/lib/yarp/node.rb#1558 + # source://yarp/lib/yarp/node.rb#1892 def read_name; end # attr_reader receiver: Node? # - # source://yarp/lib/yarp/node.rb#1537 + # source://yarp/lib/yarp/node.rb#1871 def receiver; end # def safe_navigation?: () -> bool # # @return [Boolean] # - # source://yarp/lib/yarp/node.rb#1652 + # source://yarp/lib/yarp/node.rb#1995 def safe_navigation?; end # attr_reader value: Node # - # source://yarp/lib/yarp/node.rb#1570 + # source://yarp/lib/yarp/node.rb#1904 def value; end # def variable_call?: () -> bool # # @return [Boolean] # - # source://yarp/lib/yarp/node.rb#1657 + # source://yarp/lib/yarp/node.rb#2000 def variable_call?; end # attr_reader write_name: String # - # source://yarp/lib/yarp/node.rb#1561 + # source://yarp/lib/yarp/node.rb#1895 def write_name; end + + private + + # Returns the value of attribute flags. + # + # source://yarp/lib/yarp/node.rb#1889 + def flags; end end # Represents the use of the `||=` operator on a call. @@ -1656,142 +1972,156 @@ end # foo.bar ||= value # ^^^^^^^^^^^^^^^^^ # -# source://yarp/lib/yarp/node.rb#1694 +# source://yarp/lib/yarp/node.rb#2045 class YARP::CallOrWriteNode < ::YARP::Node # def initialize: (receiver: Node?, call_operator_loc: Location?, message_loc: Location?, opening_loc: Location?, arguments: ArgumentsNode?, closing_loc: Location?, flags: Integer, read_name: String, write_name: String, operator_loc: Location, value: Node, location: Location) -> void # # @return [CallOrWriteNode] a new instance of CallOrWriteNode # - # source://yarp/lib/yarp/node.rb#1729 + # source://yarp/lib/yarp/node.rb#2080 def initialize(receiver, call_operator_loc, message_loc, opening_loc, arguments, closing_loc, flags, read_name, write_name, operator_loc, value, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#1745 + # source://yarp/lib/yarp/node.rb#2096 def accept(visitor); end # attr_reader arguments: ArgumentsNode? # - # source://yarp/lib/yarp/node.rb#1708 + # source://yarp/lib/yarp/node.rb#2059 def arguments; end # def call_operator: () -> String? # - # source://yarp/lib/yarp/node.rb#1786 + # source://yarp/lib/yarp/node.rb#2146 def call_operator; end # attr_reader call_operator_loc: Location? # - # source://yarp/lib/yarp/node.rb#1699 + # source://yarp/lib/yarp/node.rb#2050 def call_operator_loc; end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#1750 + # source://yarp/lib/yarp/node.rb#2101 def child_nodes; end # def closing: () -> String? # - # source://yarp/lib/yarp/node.rb#1801 + # source://yarp/lib/yarp/node.rb#2161 def closing; end # attr_reader closing_loc: Location? # - # source://yarp/lib/yarp/node.rb#1711 + # source://yarp/lib/yarp/node.rb#2062 def closing_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#1755 + # source://yarp/lib/yarp/node.rb#2115 def comment_targets; end - # def copy: (**params) -> CallOrWriteNode + # def compact_child_nodes: () -> Array[Node] # - # source://yarp/lib/yarp/node.rb#1760 + # source://yarp/lib/yarp/node.rb#2106 + def compact_child_nodes; end + + # def copy: (**params) -> CallOrWriteNode + # + # source://yarp/lib/yarp/node.rb#2120 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#1750 + # source://yarp/lib/yarp/node.rb#2101 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#1781 + # source://yarp/lib/yarp/node.rb#2141 def deconstruct_keys(keys); end - # attr_reader flags: Integer + # Returns a symbol representation of the type of node. # - # source://yarp/lib/yarp/node.rb#1714 - def flags; end + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#2211 + def human; end - # source://yarp/lib/yarp/node.rb#1820 + # source://yarp/lib/yarp/node.rb#2180 def inspect(inspector = T.unsafe(nil)); end # def message: () -> String? # - # source://yarp/lib/yarp/node.rb#1791 + # source://yarp/lib/yarp/node.rb#2151 def message; end # attr_reader message_loc: Location? # - # source://yarp/lib/yarp/node.rb#1702 + # source://yarp/lib/yarp/node.rb#2053 def message_loc; end # def opening: () -> String? # - # source://yarp/lib/yarp/node.rb#1796 + # source://yarp/lib/yarp/node.rb#2156 def opening; end # attr_reader opening_loc: Location? # - # source://yarp/lib/yarp/node.rb#1705 + # source://yarp/lib/yarp/node.rb#2056 def opening_loc; end # def operator: () -> String # - # source://yarp/lib/yarp/node.rb#1816 + # source://yarp/lib/yarp/node.rb#2176 def operator; end # attr_reader operator_loc: Location # - # source://yarp/lib/yarp/node.rb#1723 + # source://yarp/lib/yarp/node.rb#2074 def operator_loc; end # attr_reader read_name: String # - # source://yarp/lib/yarp/node.rb#1717 + # source://yarp/lib/yarp/node.rb#2068 def read_name; end # attr_reader receiver: Node? # - # source://yarp/lib/yarp/node.rb#1696 + # source://yarp/lib/yarp/node.rb#2047 def receiver; end # def safe_navigation?: () -> bool # # @return [Boolean] # - # source://yarp/lib/yarp/node.rb#1806 + # source://yarp/lib/yarp/node.rb#2166 def safe_navigation?; end # attr_reader value: Node # - # source://yarp/lib/yarp/node.rb#1726 + # source://yarp/lib/yarp/node.rb#2077 def value; end # def variable_call?: () -> bool # # @return [Boolean] # - # source://yarp/lib/yarp/node.rb#1811 + # source://yarp/lib/yarp/node.rb#2171 def variable_call?; end # attr_reader write_name: String # - # source://yarp/lib/yarp/node.rb#1720 + # source://yarp/lib/yarp/node.rb#2071 def write_name; end + + private + + # Returns the value of attribute flags. + # + # source://yarp/lib/yarp/node.rb#2065 + def flags; end end # Represents assigning to a local variable in pattern matching. @@ -1799,67 +2129,79 @@ end # foo => [bar => baz] # ^^^^^^^^^^^^ # -# source://yarp/lib/yarp/node.rb#1852 +# source://yarp/lib/yarp/node.rb#2220 class YARP::CapturePatternNode < ::YARP::Node # def initialize: (value: Node, target: Node, operator_loc: Location, location: Location) -> void # # @return [CapturePatternNode] a new instance of CapturePatternNode # - # source://yarp/lib/yarp/node.rb#1863 + # source://yarp/lib/yarp/node.rb#2231 def initialize(value, target, operator_loc, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#1871 + # source://yarp/lib/yarp/node.rb#2239 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#1876 + # source://yarp/lib/yarp/node.rb#2244 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#1881 + # source://yarp/lib/yarp/node.rb#2254 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#2249 + def compact_child_nodes; end + # def copy: (**params) -> CapturePatternNode # - # source://yarp/lib/yarp/node.rb#1886 + # source://yarp/lib/yarp/node.rb#2259 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#1876 + # source://yarp/lib/yarp/node.rb#2244 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#1899 + # source://yarp/lib/yarp/node.rb#2272 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#1908 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#2294 + def human; end + + # source://yarp/lib/yarp/node.rb#2281 def inspect(inspector = T.unsafe(nil)); end # def operator: () -> String # - # source://yarp/lib/yarp/node.rb#1904 + # source://yarp/lib/yarp/node.rb#2277 def operator; end # attr_reader operator_loc: Location # - # source://yarp/lib/yarp/node.rb#1860 + # source://yarp/lib/yarp/node.rb#2228 def operator_loc; end # attr_reader target: Node # - # source://yarp/lib/yarp/node.rb#1857 + # source://yarp/lib/yarp/node.rb#2225 def target; end # attr_reader value: Node # - # source://yarp/lib/yarp/node.rb#1854 + # source://yarp/lib/yarp/node.rb#2222 def value; end end @@ -1870,82 +2212,94 @@ end # when false # end # -# source://yarp/lib/yarp/node.rb#1925 +# source://yarp/lib/yarp/node.rb#2305 class YARP::CaseNode < ::YARP::Node # def initialize: (predicate: Node?, conditions: Array[Node], consequent: ElseNode?, case_keyword_loc: Location, end_keyword_loc: Location, location: Location) -> void # # @return [CaseNode] a new instance of CaseNode # - # source://yarp/lib/yarp/node.rb#1942 + # source://yarp/lib/yarp/node.rb#2322 def initialize(predicate, conditions, consequent, case_keyword_loc, end_keyword_loc, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#1952 + # source://yarp/lib/yarp/node.rb#2332 def accept(visitor); end # def case_keyword: () -> String # - # source://yarp/lib/yarp/node.rb#1987 + # source://yarp/lib/yarp/node.rb#2376 def case_keyword; end # attr_reader case_keyword_loc: Location # - # source://yarp/lib/yarp/node.rb#1936 + # source://yarp/lib/yarp/node.rb#2316 def case_keyword_loc; end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#1957 + # source://yarp/lib/yarp/node.rb#2337 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#1962 + # source://yarp/lib/yarp/node.rb#2351 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#2342 + def compact_child_nodes; end + # attr_reader conditions: Array[Node] # - # source://yarp/lib/yarp/node.rb#1930 + # source://yarp/lib/yarp/node.rb#2310 def conditions; end # attr_reader consequent: ElseNode? # - # source://yarp/lib/yarp/node.rb#1933 + # source://yarp/lib/yarp/node.rb#2313 def consequent; end # def copy: (**params) -> CaseNode # - # source://yarp/lib/yarp/node.rb#1967 + # source://yarp/lib/yarp/node.rb#2356 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#1957 + # source://yarp/lib/yarp/node.rb#2337 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#1982 + # source://yarp/lib/yarp/node.rb#2371 def deconstruct_keys(keys); end # def end_keyword: () -> String # - # source://yarp/lib/yarp/node.rb#1992 + # source://yarp/lib/yarp/node.rb#2381 def end_keyword; end # attr_reader end_keyword_loc: Location # - # source://yarp/lib/yarp/node.rb#1939 + # source://yarp/lib/yarp/node.rb#2319 def end_keyword_loc; end - # source://yarp/lib/yarp/node.rb#1996 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#2408 + def human; end + + # source://yarp/lib/yarp/node.rb#2385 def inspect(inspector = T.unsafe(nil)); end # attr_reader predicate: Node? # - # source://yarp/lib/yarp/node.rb#1927 + # source://yarp/lib/yarp/node.rb#2307 def predicate; end end @@ -1954,102 +2308,114 @@ end # class Foo end # ^^^^^^^^^^^^^ # -# source://yarp/lib/yarp/node.rb#2021 +# source://yarp/lib/yarp/node.rb#2417 class YARP::ClassNode < ::YARP::Node # def initialize: (locals: Array[Symbol], class_keyword_loc: Location, constant_path: Node, inheritance_operator_loc: Location?, superclass: Node?, body: Node?, end_keyword_loc: Location, name: Symbol, location: Location) -> void # # @return [ClassNode] a new instance of ClassNode # - # source://yarp/lib/yarp/node.rb#2047 + # source://yarp/lib/yarp/node.rb#2443 def initialize(locals, class_keyword_loc, constant_path, inheritance_operator_loc, superclass, body, end_keyword_loc, name, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#2060 + # source://yarp/lib/yarp/node.rb#2456 def accept(visitor); end # attr_reader body: Node? # - # source://yarp/lib/yarp/node.rb#2038 + # source://yarp/lib/yarp/node.rb#2434 def body; end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#2065 + # source://yarp/lib/yarp/node.rb#2461 def child_nodes; end # def class_keyword: () -> String # - # source://yarp/lib/yarp/node.rb#2098 + # source://yarp/lib/yarp/node.rb#2503 def class_keyword; end # attr_reader class_keyword_loc: Location # - # source://yarp/lib/yarp/node.rb#2026 + # source://yarp/lib/yarp/node.rb#2422 def class_keyword_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#2070 + # source://yarp/lib/yarp/node.rb#2475 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#2466 + def compact_child_nodes; end + # attr_reader constant_path: Node # - # source://yarp/lib/yarp/node.rb#2029 + # source://yarp/lib/yarp/node.rb#2425 def constant_path; end # def copy: (**params) -> ClassNode # - # source://yarp/lib/yarp/node.rb#2075 + # source://yarp/lib/yarp/node.rb#2480 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#2065 + # source://yarp/lib/yarp/node.rb#2461 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#2093 + # source://yarp/lib/yarp/node.rb#2498 def deconstruct_keys(keys); end # def end_keyword: () -> String # - # source://yarp/lib/yarp/node.rb#2108 + # source://yarp/lib/yarp/node.rb#2513 def end_keyword; end # attr_reader end_keyword_loc: Location # - # source://yarp/lib/yarp/node.rb#2041 + # source://yarp/lib/yarp/node.rb#2437 def end_keyword_loc; end + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#2544 + def human; end + # def inheritance_operator: () -> String? # - # source://yarp/lib/yarp/node.rb#2103 + # source://yarp/lib/yarp/node.rb#2508 def inheritance_operator; end # attr_reader inheritance_operator_loc: Location? # - # source://yarp/lib/yarp/node.rb#2032 + # source://yarp/lib/yarp/node.rb#2428 def inheritance_operator_loc; end - # source://yarp/lib/yarp/node.rb#2112 + # source://yarp/lib/yarp/node.rb#2517 def inspect(inspector = T.unsafe(nil)); end # attr_reader locals: Array[Symbol] # - # source://yarp/lib/yarp/node.rb#2023 + # source://yarp/lib/yarp/node.rb#2419 def locals; end # attr_reader name: Symbol # - # source://yarp/lib/yarp/node.rb#2044 + # source://yarp/lib/yarp/node.rb#2440 def name; end # attr_reader superclass: Node? # - # source://yarp/lib/yarp/node.rb#2035 + # source://yarp/lib/yarp/node.rb#2431 def superclass; end end @@ -2058,72 +2424,84 @@ end # @@target &&= value # ^^^^^^^^^^^^^^^^ # -# source://yarp/lib/yarp/node.rb#2141 +# source://yarp/lib/yarp/node.rb#2553 class YARP::ClassVariableAndWriteNode < ::YARP::Node # def initialize: (name: Symbol, name_loc: Location, operator_loc: Location, value: Node, location: Location) -> void # # @return [ClassVariableAndWriteNode] a new instance of ClassVariableAndWriteNode # - # source://yarp/lib/yarp/node.rb#2155 + # source://yarp/lib/yarp/node.rb#2567 def initialize(name, name_loc, operator_loc, value, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#2164 + # source://yarp/lib/yarp/node.rb#2576 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#2169 + # source://yarp/lib/yarp/node.rb#2581 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#2174 + # source://yarp/lib/yarp/node.rb#2591 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#2586 + def compact_child_nodes; end + # def copy: (**params) -> ClassVariableAndWriteNode # - # source://yarp/lib/yarp/node.rb#2179 + # source://yarp/lib/yarp/node.rb#2596 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#2169 + # source://yarp/lib/yarp/node.rb#2581 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#2193 + # source://yarp/lib/yarp/node.rb#2610 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#2202 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#2632 + def human; end + + # source://yarp/lib/yarp/node.rb#2619 def inspect(inspector = T.unsafe(nil)); end # attr_reader name: Symbol # - # source://yarp/lib/yarp/node.rb#2143 + # source://yarp/lib/yarp/node.rb#2555 def name; end # attr_reader name_loc: Location # - # source://yarp/lib/yarp/node.rb#2146 + # source://yarp/lib/yarp/node.rb#2558 def name_loc; end # def operator: () -> String # - # source://yarp/lib/yarp/node.rb#2198 + # source://yarp/lib/yarp/node.rb#2615 def operator; end # attr_reader operator_loc: Location # - # source://yarp/lib/yarp/node.rb#2149 + # source://yarp/lib/yarp/node.rb#2561 def operator_loc; end # attr_reader value: Node # - # source://yarp/lib/yarp/node.rb#2152 + # source://yarp/lib/yarp/node.rb#2564 def value; end end @@ -2132,72 +2510,84 @@ end # @@target += value # ^^^^^^^^^^^^^^^^^ # -# source://yarp/lib/yarp/node.rb#2217 +# source://yarp/lib/yarp/node.rb#2641 class YARP::ClassVariableOperatorWriteNode < ::YARP::Node # def initialize: (name: Symbol, name_loc: Location, operator_loc: Location, value: Node, operator: Symbol, location: Location) -> void # # @return [ClassVariableOperatorWriteNode] a new instance of ClassVariableOperatorWriteNode # - # source://yarp/lib/yarp/node.rb#2234 + # source://yarp/lib/yarp/node.rb#2658 def initialize(name, name_loc, operator_loc, value, operator, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#2244 + # source://yarp/lib/yarp/node.rb#2668 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#2249 + # source://yarp/lib/yarp/node.rb#2673 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#2254 + # source://yarp/lib/yarp/node.rb#2683 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#2678 + def compact_child_nodes; end + # def copy: (**params) -> ClassVariableOperatorWriteNode # - # source://yarp/lib/yarp/node.rb#2259 + # source://yarp/lib/yarp/node.rb#2688 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#2249 + # source://yarp/lib/yarp/node.rb#2673 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#2274 + # source://yarp/lib/yarp/node.rb#2703 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#2278 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#2721 + def human; end + + # source://yarp/lib/yarp/node.rb#2707 def inspect(inspector = T.unsafe(nil)); end # attr_reader name: Symbol # - # source://yarp/lib/yarp/node.rb#2219 + # source://yarp/lib/yarp/node.rb#2643 def name; end # attr_reader name_loc: Location # - # source://yarp/lib/yarp/node.rb#2222 + # source://yarp/lib/yarp/node.rb#2646 def name_loc; end # attr_reader operator: Symbol # - # source://yarp/lib/yarp/node.rb#2231 + # source://yarp/lib/yarp/node.rb#2655 def operator; end # attr_reader operator_loc: Location # - # source://yarp/lib/yarp/node.rb#2225 + # source://yarp/lib/yarp/node.rb#2649 def operator_loc; end # attr_reader value: Node # - # source://yarp/lib/yarp/node.rb#2228 + # source://yarp/lib/yarp/node.rb#2652 def value; end end @@ -2206,72 +2596,84 @@ end # @@target ||= value # ^^^^^^^^^^^^^^^^^^ # -# source://yarp/lib/yarp/node.rb#2294 +# source://yarp/lib/yarp/node.rb#2730 class YARP::ClassVariableOrWriteNode < ::YARP::Node # def initialize: (name: Symbol, name_loc: Location, operator_loc: Location, value: Node, location: Location) -> void # # @return [ClassVariableOrWriteNode] a new instance of ClassVariableOrWriteNode # - # source://yarp/lib/yarp/node.rb#2308 + # source://yarp/lib/yarp/node.rb#2744 def initialize(name, name_loc, operator_loc, value, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#2317 + # source://yarp/lib/yarp/node.rb#2753 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#2322 + # source://yarp/lib/yarp/node.rb#2758 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#2327 + # source://yarp/lib/yarp/node.rb#2768 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#2763 + def compact_child_nodes; end + # def copy: (**params) -> ClassVariableOrWriteNode # - # source://yarp/lib/yarp/node.rb#2332 + # source://yarp/lib/yarp/node.rb#2773 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#2322 + # source://yarp/lib/yarp/node.rb#2758 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#2346 + # source://yarp/lib/yarp/node.rb#2787 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#2355 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#2809 + def human; end + + # source://yarp/lib/yarp/node.rb#2796 def inspect(inspector = T.unsafe(nil)); end # attr_reader name: Symbol # - # source://yarp/lib/yarp/node.rb#2296 + # source://yarp/lib/yarp/node.rb#2732 def name; end # attr_reader name_loc: Location # - # source://yarp/lib/yarp/node.rb#2299 + # source://yarp/lib/yarp/node.rb#2735 def name_loc; end # def operator: () -> String # - # source://yarp/lib/yarp/node.rb#2351 + # source://yarp/lib/yarp/node.rb#2792 def operator; end # attr_reader operator_loc: Location # - # source://yarp/lib/yarp/node.rb#2302 + # source://yarp/lib/yarp/node.rb#2738 def operator_loc; end # attr_reader value: Node # - # source://yarp/lib/yarp/node.rb#2305 + # source://yarp/lib/yarp/node.rb#2741 def value; end end @@ -2280,52 +2682,64 @@ end # @@foo # ^^^^^ # -# source://yarp/lib/yarp/node.rb#2370 +# source://yarp/lib/yarp/node.rb#2818 class YARP::ClassVariableReadNode < ::YARP::Node # def initialize: (name: Symbol, location: Location) -> void # # @return [ClassVariableReadNode] a new instance of ClassVariableReadNode # - # source://yarp/lib/yarp/node.rb#2375 + # source://yarp/lib/yarp/node.rb#2823 def initialize(name, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#2381 + # source://yarp/lib/yarp/node.rb#2829 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#2386 + # source://yarp/lib/yarp/node.rb#2834 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#2391 + # source://yarp/lib/yarp/node.rb#2844 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#2839 + def compact_child_nodes; end + # def copy: (**params) -> ClassVariableReadNode # - # source://yarp/lib/yarp/node.rb#2396 + # source://yarp/lib/yarp/node.rb#2849 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#2386 + # source://yarp/lib/yarp/node.rb#2834 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#2407 + # source://yarp/lib/yarp/node.rb#2860 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#2411 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#2873 + def human; end + + # source://yarp/lib/yarp/node.rb#2864 def inspect(inspector = T.unsafe(nil)); end # attr_reader name: Symbol # - # source://yarp/lib/yarp/node.rb#2372 + # source://yarp/lib/yarp/node.rb#2820 def name; end end @@ -2334,52 +2748,64 @@ end # @@foo, @@bar = baz # ^^^^^ ^^^^^ # -# source://yarp/lib/yarp/node.rb#2422 +# source://yarp/lib/yarp/node.rb#2882 class YARP::ClassVariableTargetNode < ::YARP::Node # def initialize: (name: Symbol, location: Location) -> void # # @return [ClassVariableTargetNode] a new instance of ClassVariableTargetNode # - # source://yarp/lib/yarp/node.rb#2427 + # source://yarp/lib/yarp/node.rb#2887 def initialize(name, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#2433 + # source://yarp/lib/yarp/node.rb#2893 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#2438 + # source://yarp/lib/yarp/node.rb#2898 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#2443 + # source://yarp/lib/yarp/node.rb#2908 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#2903 + def compact_child_nodes; end + # def copy: (**params) -> ClassVariableTargetNode # - # source://yarp/lib/yarp/node.rb#2448 + # source://yarp/lib/yarp/node.rb#2913 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#2438 + # source://yarp/lib/yarp/node.rb#2898 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#2459 + # source://yarp/lib/yarp/node.rb#2924 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#2463 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#2937 + def human; end + + # source://yarp/lib/yarp/node.rb#2928 def inspect(inspector = T.unsafe(nil)); end # attr_reader name: Symbol # - # source://yarp/lib/yarp/node.rb#2424 + # source://yarp/lib/yarp/node.rb#2884 def name; end end @@ -2388,72 +2814,84 @@ end # @@foo = 1 # ^^^^^^^^^ # -# source://yarp/lib/yarp/node.rb#2474 +# source://yarp/lib/yarp/node.rb#2946 class YARP::ClassVariableWriteNode < ::YARP::Node # def initialize: (name: Symbol, name_loc: Location, value: Node, operator_loc: Location?, location: Location) -> void # # @return [ClassVariableWriteNode] a new instance of ClassVariableWriteNode # - # source://yarp/lib/yarp/node.rb#2488 + # source://yarp/lib/yarp/node.rb#2960 def initialize(name, name_loc, value, operator_loc, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#2497 + # source://yarp/lib/yarp/node.rb#2969 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#2502 + # source://yarp/lib/yarp/node.rb#2974 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#2507 + # source://yarp/lib/yarp/node.rb#2984 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#2979 + def compact_child_nodes; end + # def copy: (**params) -> ClassVariableWriteNode # - # source://yarp/lib/yarp/node.rb#2512 + # source://yarp/lib/yarp/node.rb#2989 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#2502 + # source://yarp/lib/yarp/node.rb#2974 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#2526 + # source://yarp/lib/yarp/node.rb#3003 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#2535 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#3025 + def human; end + + # source://yarp/lib/yarp/node.rb#3012 def inspect(inspector = T.unsafe(nil)); end # attr_reader name: Symbol # - # source://yarp/lib/yarp/node.rb#2476 + # source://yarp/lib/yarp/node.rb#2948 def name; end # attr_reader name_loc: Location # - # source://yarp/lib/yarp/node.rb#2479 + # source://yarp/lib/yarp/node.rb#2951 def name_loc; end # def operator: () -> String? # - # source://yarp/lib/yarp/node.rb#2531 + # source://yarp/lib/yarp/node.rb#3008 def operator; end # attr_reader operator_loc: Location? # - # source://yarp/lib/yarp/node.rb#2485 + # source://yarp/lib/yarp/node.rb#2957 def operator_loc; end # attr_reader value: Node # - # source://yarp/lib/yarp/node.rb#2482 + # source://yarp/lib/yarp/node.rb#2954 def value; end end @@ -2498,72 +2936,84 @@ YARP::Comment::TYPES = T.let(T.unsafe(nil), Array) # Target &&= value # ^^^^^^^^^^^^^^^^ # -# source://yarp/lib/yarp/node.rb#2550 +# source://yarp/lib/yarp/node.rb#3034 class YARP::ConstantAndWriteNode < ::YARP::Node # def initialize: (name: Symbol, name_loc: Location, operator_loc: Location, value: Node, location: Location) -> void # # @return [ConstantAndWriteNode] a new instance of ConstantAndWriteNode # - # source://yarp/lib/yarp/node.rb#2564 + # source://yarp/lib/yarp/node.rb#3048 def initialize(name, name_loc, operator_loc, value, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#2573 + # source://yarp/lib/yarp/node.rb#3057 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#2578 + # source://yarp/lib/yarp/node.rb#3062 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#2583 + # source://yarp/lib/yarp/node.rb#3072 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#3067 + def compact_child_nodes; end + # def copy: (**params) -> ConstantAndWriteNode # - # source://yarp/lib/yarp/node.rb#2588 + # source://yarp/lib/yarp/node.rb#3077 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#2578 + # source://yarp/lib/yarp/node.rb#3062 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#2602 + # source://yarp/lib/yarp/node.rb#3091 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#2611 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#3113 + def human; end + + # source://yarp/lib/yarp/node.rb#3100 def inspect(inspector = T.unsafe(nil)); end # attr_reader name: Symbol # - # source://yarp/lib/yarp/node.rb#2552 + # source://yarp/lib/yarp/node.rb#3036 def name; end # attr_reader name_loc: Location # - # source://yarp/lib/yarp/node.rb#2555 + # source://yarp/lib/yarp/node.rb#3039 def name_loc; end # def operator: () -> String # - # source://yarp/lib/yarp/node.rb#2607 + # source://yarp/lib/yarp/node.rb#3096 def operator; end # attr_reader operator_loc: Location # - # source://yarp/lib/yarp/node.rb#2558 + # source://yarp/lib/yarp/node.rb#3042 def operator_loc; end # attr_reader value: Node # - # source://yarp/lib/yarp/node.rb#2561 + # source://yarp/lib/yarp/node.rb#3045 def value; end end @@ -2572,72 +3022,84 @@ end # Target += value # ^^^^^^^^^^^^^^^ # -# source://yarp/lib/yarp/node.rb#2626 +# source://yarp/lib/yarp/node.rb#3122 class YARP::ConstantOperatorWriteNode < ::YARP::Node # def initialize: (name: Symbol, name_loc: Location, operator_loc: Location, value: Node, operator: Symbol, location: Location) -> void # # @return [ConstantOperatorWriteNode] a new instance of ConstantOperatorWriteNode # - # source://yarp/lib/yarp/node.rb#2643 + # source://yarp/lib/yarp/node.rb#3139 def initialize(name, name_loc, operator_loc, value, operator, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#2653 + # source://yarp/lib/yarp/node.rb#3149 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#2658 + # source://yarp/lib/yarp/node.rb#3154 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#2663 + # source://yarp/lib/yarp/node.rb#3164 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#3159 + def compact_child_nodes; end + # def copy: (**params) -> ConstantOperatorWriteNode # - # source://yarp/lib/yarp/node.rb#2668 + # source://yarp/lib/yarp/node.rb#3169 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#2658 + # source://yarp/lib/yarp/node.rb#3154 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#2683 + # source://yarp/lib/yarp/node.rb#3184 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#2687 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#3202 + def human; end + + # source://yarp/lib/yarp/node.rb#3188 def inspect(inspector = T.unsafe(nil)); end # attr_reader name: Symbol # - # source://yarp/lib/yarp/node.rb#2628 + # source://yarp/lib/yarp/node.rb#3124 def name; end # attr_reader name_loc: Location # - # source://yarp/lib/yarp/node.rb#2631 + # source://yarp/lib/yarp/node.rb#3127 def name_loc; end # attr_reader operator: Symbol # - # source://yarp/lib/yarp/node.rb#2640 + # source://yarp/lib/yarp/node.rb#3136 def operator; end # attr_reader operator_loc: Location # - # source://yarp/lib/yarp/node.rb#2634 + # source://yarp/lib/yarp/node.rb#3130 def operator_loc; end # attr_reader value: Node # - # source://yarp/lib/yarp/node.rb#2637 + # source://yarp/lib/yarp/node.rb#3133 def value; end end @@ -2646,72 +3108,84 @@ end # Target ||= value # ^^^^^^^^^^^^^^^^ # -# source://yarp/lib/yarp/node.rb#2703 +# source://yarp/lib/yarp/node.rb#3211 class YARP::ConstantOrWriteNode < ::YARP::Node # def initialize: (name: Symbol, name_loc: Location, operator_loc: Location, value: Node, location: Location) -> void # # @return [ConstantOrWriteNode] a new instance of ConstantOrWriteNode # - # source://yarp/lib/yarp/node.rb#2717 + # source://yarp/lib/yarp/node.rb#3225 def initialize(name, name_loc, operator_loc, value, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#2726 + # source://yarp/lib/yarp/node.rb#3234 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#2731 + # source://yarp/lib/yarp/node.rb#3239 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#2736 + # source://yarp/lib/yarp/node.rb#3249 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#3244 + def compact_child_nodes; end + # def copy: (**params) -> ConstantOrWriteNode # - # source://yarp/lib/yarp/node.rb#2741 + # source://yarp/lib/yarp/node.rb#3254 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#2731 + # source://yarp/lib/yarp/node.rb#3239 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#2755 + # source://yarp/lib/yarp/node.rb#3268 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#2764 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#3290 + def human; end + + # source://yarp/lib/yarp/node.rb#3277 def inspect(inspector = T.unsafe(nil)); end # attr_reader name: Symbol # - # source://yarp/lib/yarp/node.rb#2705 + # source://yarp/lib/yarp/node.rb#3213 def name; end # attr_reader name_loc: Location # - # source://yarp/lib/yarp/node.rb#2708 + # source://yarp/lib/yarp/node.rb#3216 def name_loc; end # def operator: () -> String # - # source://yarp/lib/yarp/node.rb#2760 + # source://yarp/lib/yarp/node.rb#3273 def operator; end # attr_reader operator_loc: Location # - # source://yarp/lib/yarp/node.rb#2711 + # source://yarp/lib/yarp/node.rb#3219 def operator_loc; end # attr_reader value: Node # - # source://yarp/lib/yarp/node.rb#2714 + # source://yarp/lib/yarp/node.rb#3222 def value; end end @@ -2720,67 +3194,79 @@ end # Parent::Child &&= value # ^^^^^^^^^^^^^^^^^^^^^^^ # -# source://yarp/lib/yarp/node.rb#2779 +# source://yarp/lib/yarp/node.rb#3299 class YARP::ConstantPathAndWriteNode < ::YARP::Node # def initialize: (target: ConstantPathNode, operator_loc: Location, value: Node, location: Location) -> void # # @return [ConstantPathAndWriteNode] a new instance of ConstantPathAndWriteNode # - # source://yarp/lib/yarp/node.rb#2790 + # source://yarp/lib/yarp/node.rb#3310 def initialize(target, operator_loc, value, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#2798 + # source://yarp/lib/yarp/node.rb#3318 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#2803 + # source://yarp/lib/yarp/node.rb#3323 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#2808 + # source://yarp/lib/yarp/node.rb#3333 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#3328 + def compact_child_nodes; end + # def copy: (**params) -> ConstantPathAndWriteNode # - # source://yarp/lib/yarp/node.rb#2813 + # source://yarp/lib/yarp/node.rb#3338 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#2803 + # source://yarp/lib/yarp/node.rb#3323 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#2826 + # source://yarp/lib/yarp/node.rb#3351 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#2835 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#3373 + def human; end + + # source://yarp/lib/yarp/node.rb#3360 def inspect(inspector = T.unsafe(nil)); end # def operator: () -> String # - # source://yarp/lib/yarp/node.rb#2831 + # source://yarp/lib/yarp/node.rb#3356 def operator; end # attr_reader operator_loc: Location # - # source://yarp/lib/yarp/node.rb#2784 + # source://yarp/lib/yarp/node.rb#3304 def operator_loc; end # attr_reader target: ConstantPathNode # - # source://yarp/lib/yarp/node.rb#2781 + # source://yarp/lib/yarp/node.rb#3301 def target; end # attr_reader value: Node # - # source://yarp/lib/yarp/node.rb#2787 + # source://yarp/lib/yarp/node.rb#3307 def value; end end @@ -2789,67 +3275,79 @@ end # Foo::Bar # ^^^^^^^^ # -# source://yarp/lib/yarp/node.rb#2850 +# source://yarp/lib/yarp/node.rb#3382 class YARP::ConstantPathNode < ::YARP::Node # def initialize: (parent: Node?, child: Node, delimiter_loc: Location, location: Location) -> void # # @return [ConstantPathNode] a new instance of ConstantPathNode # - # source://yarp/lib/yarp/node.rb#2861 + # source://yarp/lib/yarp/node.rb#3393 def initialize(parent, child, delimiter_loc, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#2869 + # source://yarp/lib/yarp/node.rb#3401 def accept(visitor); end # attr_reader child: Node # - # source://yarp/lib/yarp/node.rb#2855 + # source://yarp/lib/yarp/node.rb#3387 def child; end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#2874 + # source://yarp/lib/yarp/node.rb#3406 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#2879 + # source://yarp/lib/yarp/node.rb#3419 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#3411 + def compact_child_nodes; end + # def copy: (**params) -> ConstantPathNode # - # source://yarp/lib/yarp/node.rb#2884 + # source://yarp/lib/yarp/node.rb#3424 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#2874 + # source://yarp/lib/yarp/node.rb#3406 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#2897 + # source://yarp/lib/yarp/node.rb#3437 def deconstruct_keys(keys); end # def delimiter: () -> String # - # source://yarp/lib/yarp/node.rb#2902 + # source://yarp/lib/yarp/node.rb#3442 def delimiter; end # attr_reader delimiter_loc: Location # - # source://yarp/lib/yarp/node.rb#2858 + # source://yarp/lib/yarp/node.rb#3390 def delimiter_loc; end - # source://yarp/lib/yarp/node.rb#2906 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#3463 + def human; end + + # source://yarp/lib/yarp/node.rb#3446 def inspect(inspector = T.unsafe(nil)); end # attr_reader parent: Node? # - # source://yarp/lib/yarp/node.rb#2852 + # source://yarp/lib/yarp/node.rb#3384 def parent; end end @@ -2858,67 +3356,79 @@ end # Parent::Child += value # ^^^^^^^^^^^^^^^^^^^^^^ # -# source://yarp/lib/yarp/node.rb#2925 +# source://yarp/lib/yarp/node.rb#3472 class YARP::ConstantPathOperatorWriteNode < ::YARP::Node # def initialize: (target: ConstantPathNode, operator_loc: Location, value: Node, operator: Symbol, location: Location) -> void # # @return [ConstantPathOperatorWriteNode] a new instance of ConstantPathOperatorWriteNode # - # source://yarp/lib/yarp/node.rb#2939 + # source://yarp/lib/yarp/node.rb#3486 def initialize(target, operator_loc, value, operator, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#2948 + # source://yarp/lib/yarp/node.rb#3495 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#2953 + # source://yarp/lib/yarp/node.rb#3500 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#2958 + # source://yarp/lib/yarp/node.rb#3510 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#3505 + def compact_child_nodes; end + # def copy: (**params) -> ConstantPathOperatorWriteNode # - # source://yarp/lib/yarp/node.rb#2963 + # source://yarp/lib/yarp/node.rb#3515 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#2953 + # source://yarp/lib/yarp/node.rb#3500 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#2977 + # source://yarp/lib/yarp/node.rb#3529 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#2981 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#3547 + def human; end + + # source://yarp/lib/yarp/node.rb#3533 def inspect(inspector = T.unsafe(nil)); end # attr_reader operator: Symbol # - # source://yarp/lib/yarp/node.rb#2936 + # source://yarp/lib/yarp/node.rb#3483 def operator; end # attr_reader operator_loc: Location # - # source://yarp/lib/yarp/node.rb#2930 + # source://yarp/lib/yarp/node.rb#3477 def operator_loc; end # attr_reader target: ConstantPathNode # - # source://yarp/lib/yarp/node.rb#2927 + # source://yarp/lib/yarp/node.rb#3474 def target; end # attr_reader value: Node # - # source://yarp/lib/yarp/node.rb#2933 + # source://yarp/lib/yarp/node.rb#3480 def value; end end @@ -2927,67 +3437,79 @@ end # Parent::Child ||= value # ^^^^^^^^^^^^^^^^^^^^^^^ # -# source://yarp/lib/yarp/node.rb#2997 +# source://yarp/lib/yarp/node.rb#3556 class YARP::ConstantPathOrWriteNode < ::YARP::Node # def initialize: (target: ConstantPathNode, operator_loc: Location, value: Node, location: Location) -> void # # @return [ConstantPathOrWriteNode] a new instance of ConstantPathOrWriteNode # - # source://yarp/lib/yarp/node.rb#3008 + # source://yarp/lib/yarp/node.rb#3567 def initialize(target, operator_loc, value, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#3016 + # source://yarp/lib/yarp/node.rb#3575 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#3021 + # source://yarp/lib/yarp/node.rb#3580 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#3026 + # source://yarp/lib/yarp/node.rb#3590 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#3585 + def compact_child_nodes; end + # def copy: (**params) -> ConstantPathOrWriteNode # - # source://yarp/lib/yarp/node.rb#3031 + # source://yarp/lib/yarp/node.rb#3595 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#3021 + # source://yarp/lib/yarp/node.rb#3580 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#3044 + # source://yarp/lib/yarp/node.rb#3608 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#3053 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#3630 + def human; end + + # source://yarp/lib/yarp/node.rb#3617 def inspect(inspector = T.unsafe(nil)); end # def operator: () -> String # - # source://yarp/lib/yarp/node.rb#3049 + # source://yarp/lib/yarp/node.rb#3613 def operator; end # attr_reader operator_loc: Location # - # source://yarp/lib/yarp/node.rb#3002 + # source://yarp/lib/yarp/node.rb#3561 def operator_loc; end # attr_reader target: ConstantPathNode # - # source://yarp/lib/yarp/node.rb#2999 + # source://yarp/lib/yarp/node.rb#3558 def target; end # attr_reader value: Node # - # source://yarp/lib/yarp/node.rb#3005 + # source://yarp/lib/yarp/node.rb#3564 def value; end end @@ -2996,67 +3518,79 @@ end # Foo::Foo, Bar::Bar = baz # ^^^^^^^^ ^^^^^^^^ # -# source://yarp/lib/yarp/node.rb#3068 +# source://yarp/lib/yarp/node.rb#3639 class YARP::ConstantPathTargetNode < ::YARP::Node # def initialize: (parent: Node?, child: Node, delimiter_loc: Location, location: Location) -> void # # @return [ConstantPathTargetNode] a new instance of ConstantPathTargetNode # - # source://yarp/lib/yarp/node.rb#3079 + # source://yarp/lib/yarp/node.rb#3650 def initialize(parent, child, delimiter_loc, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#3087 + # source://yarp/lib/yarp/node.rb#3658 def accept(visitor); end # attr_reader child: Node # - # source://yarp/lib/yarp/node.rb#3073 + # source://yarp/lib/yarp/node.rb#3644 def child; end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#3092 + # source://yarp/lib/yarp/node.rb#3663 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#3097 + # source://yarp/lib/yarp/node.rb#3676 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#3668 + def compact_child_nodes; end + # def copy: (**params) -> ConstantPathTargetNode # - # source://yarp/lib/yarp/node.rb#3102 + # source://yarp/lib/yarp/node.rb#3681 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#3092 + # source://yarp/lib/yarp/node.rb#3663 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#3115 + # source://yarp/lib/yarp/node.rb#3694 def deconstruct_keys(keys); end # def delimiter: () -> String # - # source://yarp/lib/yarp/node.rb#3120 + # source://yarp/lib/yarp/node.rb#3699 def delimiter; end # attr_reader delimiter_loc: Location # - # source://yarp/lib/yarp/node.rb#3076 + # source://yarp/lib/yarp/node.rb#3647 def delimiter_loc; end - # source://yarp/lib/yarp/node.rb#3124 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#3720 + def human; end + + # source://yarp/lib/yarp/node.rb#3703 def inspect(inspector = T.unsafe(nil)); end # attr_reader parent: Node? # - # source://yarp/lib/yarp/node.rb#3070 + # source://yarp/lib/yarp/node.rb#3641 def parent; end end @@ -3071,67 +3605,79 @@ end # ::Foo::Bar = 1 # ^^^^^^^^^^^^^^ # -# source://yarp/lib/yarp/node.rb#3149 +# source://yarp/lib/yarp/node.rb#3735 class YARP::ConstantPathWriteNode < ::YARP::Node # def initialize: (target: ConstantPathNode, operator_loc: Location, value: Node, location: Location) -> void # # @return [ConstantPathWriteNode] a new instance of ConstantPathWriteNode # - # source://yarp/lib/yarp/node.rb#3160 + # source://yarp/lib/yarp/node.rb#3746 def initialize(target, operator_loc, value, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#3168 + # source://yarp/lib/yarp/node.rb#3754 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#3173 + # source://yarp/lib/yarp/node.rb#3759 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#3178 + # source://yarp/lib/yarp/node.rb#3769 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#3764 + def compact_child_nodes; end + # def copy: (**params) -> ConstantPathWriteNode # - # source://yarp/lib/yarp/node.rb#3183 + # source://yarp/lib/yarp/node.rb#3774 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#3173 + # source://yarp/lib/yarp/node.rb#3759 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#3196 + # source://yarp/lib/yarp/node.rb#3787 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#3205 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#3809 + def human; end + + # source://yarp/lib/yarp/node.rb#3796 def inspect(inspector = T.unsafe(nil)); end # def operator: () -> String # - # source://yarp/lib/yarp/node.rb#3201 + # source://yarp/lib/yarp/node.rb#3792 def operator; end # attr_reader operator_loc: Location # - # source://yarp/lib/yarp/node.rb#3154 + # source://yarp/lib/yarp/node.rb#3740 def operator_loc; end # attr_reader target: ConstantPathNode # - # source://yarp/lib/yarp/node.rb#3151 + # source://yarp/lib/yarp/node.rb#3737 def target; end # attr_reader value: Node # - # source://yarp/lib/yarp/node.rb#3157 + # source://yarp/lib/yarp/node.rb#3743 def value; end end @@ -3140,52 +3686,64 @@ end # Foo # ^^^ # -# source://yarp/lib/yarp/node.rb#3220 +# source://yarp/lib/yarp/node.rb#3818 class YARP::ConstantReadNode < ::YARP::Node # def initialize: (name: Symbol, location: Location) -> void # # @return [ConstantReadNode] a new instance of ConstantReadNode # - # source://yarp/lib/yarp/node.rb#3225 + # source://yarp/lib/yarp/node.rb#3823 def initialize(name, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#3231 + # source://yarp/lib/yarp/node.rb#3829 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#3236 + # source://yarp/lib/yarp/node.rb#3834 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#3241 + # source://yarp/lib/yarp/node.rb#3844 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#3839 + def compact_child_nodes; end + # def copy: (**params) -> ConstantReadNode # - # source://yarp/lib/yarp/node.rb#3246 + # source://yarp/lib/yarp/node.rb#3849 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#3236 + # source://yarp/lib/yarp/node.rb#3834 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#3257 + # source://yarp/lib/yarp/node.rb#3860 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#3261 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#3873 + def human; end + + # source://yarp/lib/yarp/node.rb#3864 def inspect(inspector = T.unsafe(nil)); end # attr_reader name: Symbol # - # source://yarp/lib/yarp/node.rb#3222 + # source://yarp/lib/yarp/node.rb#3820 def name; end end @@ -3194,52 +3752,64 @@ end # Foo, Bar = baz # ^^^ ^^^ # -# source://yarp/lib/yarp/node.rb#3272 +# source://yarp/lib/yarp/node.rb#3882 class YARP::ConstantTargetNode < ::YARP::Node # def initialize: (name: Symbol, location: Location) -> void # # @return [ConstantTargetNode] a new instance of ConstantTargetNode # - # source://yarp/lib/yarp/node.rb#3277 + # source://yarp/lib/yarp/node.rb#3887 def initialize(name, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#3283 + # source://yarp/lib/yarp/node.rb#3893 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#3288 + # source://yarp/lib/yarp/node.rb#3898 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#3293 + # source://yarp/lib/yarp/node.rb#3908 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#3903 + def compact_child_nodes; end + # def copy: (**params) -> ConstantTargetNode # - # source://yarp/lib/yarp/node.rb#3298 + # source://yarp/lib/yarp/node.rb#3913 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#3288 + # source://yarp/lib/yarp/node.rb#3898 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#3309 + # source://yarp/lib/yarp/node.rb#3924 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#3313 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#3937 + def human; end + + # source://yarp/lib/yarp/node.rb#3928 def inspect(inspector = T.unsafe(nil)); end # attr_reader name: Symbol # - # source://yarp/lib/yarp/node.rb#3274 + # source://yarp/lib/yarp/node.rb#3884 def name; end end @@ -3248,784 +3818,821 @@ end # Foo = 1 # ^^^^^^^ # -# source://yarp/lib/yarp/node.rb#3324 +# source://yarp/lib/yarp/node.rb#3946 class YARP::ConstantWriteNode < ::YARP::Node # def initialize: (name: Symbol, name_loc: Location, value: Node, operator_loc: Location, location: Location) -> void # # @return [ConstantWriteNode] a new instance of ConstantWriteNode # - # source://yarp/lib/yarp/node.rb#3338 + # source://yarp/lib/yarp/node.rb#3960 def initialize(name, name_loc, value, operator_loc, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#3347 + # source://yarp/lib/yarp/node.rb#3969 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#3352 + # source://yarp/lib/yarp/node.rb#3974 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#3357 + # source://yarp/lib/yarp/node.rb#3984 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#3979 + def compact_child_nodes; end + # def copy: (**params) -> ConstantWriteNode # - # source://yarp/lib/yarp/node.rb#3362 + # source://yarp/lib/yarp/node.rb#3989 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#3352 + # source://yarp/lib/yarp/node.rb#3974 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#3376 + # source://yarp/lib/yarp/node.rb#4003 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#3385 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#4025 + def human; end + + # source://yarp/lib/yarp/node.rb#4012 def inspect(inspector = T.unsafe(nil)); end # attr_reader name: Symbol # - # source://yarp/lib/yarp/node.rb#3326 + # source://yarp/lib/yarp/node.rb#3948 def name; end # attr_reader name_loc: Location # - # source://yarp/lib/yarp/node.rb#3329 + # source://yarp/lib/yarp/node.rb#3951 def name_loc; end # def operator: () -> String # - # source://yarp/lib/yarp/node.rb#3381 + # source://yarp/lib/yarp/node.rb#4008 def operator; end # attr_reader operator_loc: Location # - # source://yarp/lib/yarp/node.rb#3335 + # source://yarp/lib/yarp/node.rb#3957 def operator_loc; end # attr_reader value: Node # - # source://yarp/lib/yarp/node.rb#3332 + # source://yarp/lib/yarp/node.rb#3954 def value; end end -# source://yarp/lib/yarp/node.rb#11011 +# source://yarp/lib/yarp/node.rb#14408 module YARP::DSL private - # Create a new AliasNode node + # Create a new AliasGlobalVariableNode node + # + # source://yarp/lib/yarp/node.rb#14417 + def AliasGlobalVariableNode(new_name, old_name, keyword_loc, location = T.unsafe(nil)); end + + # Create a new AliasMethodNode node # - # source://yarp/lib/yarp/node.rb#11020 - def AliasNode(new_name, old_name, keyword_loc, location = T.unsafe(nil)); end + # source://yarp/lib/yarp/node.rb#14422 + def AliasMethodNode(new_name, old_name, keyword_loc, location = T.unsafe(nil)); end # Create a new AlternationPatternNode node # - # source://yarp/lib/yarp/node.rb#11025 + # source://yarp/lib/yarp/node.rb#14427 def AlternationPatternNode(left, right, operator_loc, location = T.unsafe(nil)); end # Create a new AndNode node # - # source://yarp/lib/yarp/node.rb#11030 + # source://yarp/lib/yarp/node.rb#14432 def AndNode(left, right, operator_loc, location = T.unsafe(nil)); end # Create a new ArgumentsNode node # - # source://yarp/lib/yarp/node.rb#11035 + # source://yarp/lib/yarp/node.rb#14437 def ArgumentsNode(arguments, location = T.unsafe(nil)); end # Create a new ArrayNode node # - # source://yarp/lib/yarp/node.rb#11040 + # source://yarp/lib/yarp/node.rb#14442 def ArrayNode(elements, opening_loc, closing_loc, location = T.unsafe(nil)); end # Create a new ArrayPatternNode node # - # source://yarp/lib/yarp/node.rb#11045 + # source://yarp/lib/yarp/node.rb#14447 def ArrayPatternNode(constant, requireds, rest, posts, opening_loc, closing_loc, location = T.unsafe(nil)); end # Create a new AssocNode node # - # source://yarp/lib/yarp/node.rb#11050 + # source://yarp/lib/yarp/node.rb#14452 def AssocNode(key, value, operator_loc, location = T.unsafe(nil)); end # Create a new AssocSplatNode node # - # source://yarp/lib/yarp/node.rb#11055 + # source://yarp/lib/yarp/node.rb#14457 def AssocSplatNode(value, operator_loc, location = T.unsafe(nil)); end # Create a new BackReferenceReadNode node # - # source://yarp/lib/yarp/node.rb#11060 + # source://yarp/lib/yarp/node.rb#14462 def BackReferenceReadNode(location = T.unsafe(nil)); end # Create a new BeginNode node # - # source://yarp/lib/yarp/node.rb#11065 + # source://yarp/lib/yarp/node.rb#14467 def BeginNode(begin_keyword_loc, statements, rescue_clause, else_clause, ensure_clause, end_keyword_loc, location = T.unsafe(nil)); end # Create a new BlockArgumentNode node # - # source://yarp/lib/yarp/node.rb#11070 + # source://yarp/lib/yarp/node.rb#14472 def BlockArgumentNode(expression, operator_loc, location = T.unsafe(nil)); end # Create a new BlockLocalVariableNode node # - # source://yarp/lib/yarp/node.rb#11075 + # source://yarp/lib/yarp/node.rb#14477 def BlockLocalVariableNode(name, location = T.unsafe(nil)); end # Create a new BlockNode node # - # source://yarp/lib/yarp/node.rb#11080 + # source://yarp/lib/yarp/node.rb#14482 def BlockNode(locals, parameters, body, opening_loc, closing_loc, location = T.unsafe(nil)); end # Create a new BlockParameterNode node # - # source://yarp/lib/yarp/node.rb#11085 + # source://yarp/lib/yarp/node.rb#14487 def BlockParameterNode(name, name_loc, operator_loc, location = T.unsafe(nil)); end # Create a new BlockParametersNode node # - # source://yarp/lib/yarp/node.rb#11090 + # source://yarp/lib/yarp/node.rb#14492 def BlockParametersNode(parameters, locals, opening_loc, closing_loc, location = T.unsafe(nil)); end # Create a new BreakNode node # - # source://yarp/lib/yarp/node.rb#11095 + # source://yarp/lib/yarp/node.rb#14497 def BreakNode(arguments, keyword_loc, location = T.unsafe(nil)); end # Create a new CallAndWriteNode node # - # source://yarp/lib/yarp/node.rb#11100 + # source://yarp/lib/yarp/node.rb#14502 def CallAndWriteNode(receiver, call_operator_loc, message_loc, opening_loc, arguments, closing_loc, flags, read_name, write_name, operator_loc, value, location = T.unsafe(nil)); end # Create a new CallNode node # - # source://yarp/lib/yarp/node.rb#11105 + # source://yarp/lib/yarp/node.rb#14507 def CallNode(receiver, call_operator_loc, message_loc, opening_loc, arguments, closing_loc, block, flags, name, location = T.unsafe(nil)); end # Create a new CallOperatorWriteNode node # - # source://yarp/lib/yarp/node.rb#11110 + # source://yarp/lib/yarp/node.rb#14512 def CallOperatorWriteNode(receiver, call_operator_loc, message_loc, opening_loc, arguments, closing_loc, flags, read_name, write_name, operator, operator_loc, value, location = T.unsafe(nil)); end # Create a new CallOrWriteNode node # - # source://yarp/lib/yarp/node.rb#11115 + # source://yarp/lib/yarp/node.rb#14517 def CallOrWriteNode(receiver, call_operator_loc, message_loc, opening_loc, arguments, closing_loc, flags, read_name, write_name, operator_loc, value, location = T.unsafe(nil)); end # Create a new CapturePatternNode node # - # source://yarp/lib/yarp/node.rb#11120 + # source://yarp/lib/yarp/node.rb#14522 def CapturePatternNode(value, target, operator_loc, location = T.unsafe(nil)); end # Create a new CaseNode node # - # source://yarp/lib/yarp/node.rb#11125 + # source://yarp/lib/yarp/node.rb#14527 def CaseNode(predicate, conditions, consequent, case_keyword_loc, end_keyword_loc, location = T.unsafe(nil)); end # Create a new ClassNode node # - # source://yarp/lib/yarp/node.rb#11130 + # source://yarp/lib/yarp/node.rb#14532 def ClassNode(locals, class_keyword_loc, constant_path, inheritance_operator_loc, superclass, body, end_keyword_loc, name, location = T.unsafe(nil)); end # Create a new ClassVariableAndWriteNode node # - # source://yarp/lib/yarp/node.rb#11135 + # source://yarp/lib/yarp/node.rb#14537 def ClassVariableAndWriteNode(name, name_loc, operator_loc, value, location = T.unsafe(nil)); end # Create a new ClassVariableOperatorWriteNode node # - # source://yarp/lib/yarp/node.rb#11140 + # source://yarp/lib/yarp/node.rb#14542 def ClassVariableOperatorWriteNode(name, name_loc, operator_loc, value, operator, location = T.unsafe(nil)); end # Create a new ClassVariableOrWriteNode node # - # source://yarp/lib/yarp/node.rb#11145 + # source://yarp/lib/yarp/node.rb#14547 def ClassVariableOrWriteNode(name, name_loc, operator_loc, value, location = T.unsafe(nil)); end # Create a new ClassVariableReadNode node # - # source://yarp/lib/yarp/node.rb#11150 + # source://yarp/lib/yarp/node.rb#14552 def ClassVariableReadNode(name, location = T.unsafe(nil)); end # Create a new ClassVariableTargetNode node # - # source://yarp/lib/yarp/node.rb#11155 + # source://yarp/lib/yarp/node.rb#14557 def ClassVariableTargetNode(name, location = T.unsafe(nil)); end # Create a new ClassVariableWriteNode node # - # source://yarp/lib/yarp/node.rb#11160 + # source://yarp/lib/yarp/node.rb#14562 def ClassVariableWriteNode(name, name_loc, value, operator_loc, location = T.unsafe(nil)); end # Create a new ConstantAndWriteNode node # - # source://yarp/lib/yarp/node.rb#11165 + # source://yarp/lib/yarp/node.rb#14567 def ConstantAndWriteNode(name, name_loc, operator_loc, value, location = T.unsafe(nil)); end # Create a new ConstantOperatorWriteNode node # - # source://yarp/lib/yarp/node.rb#11170 + # source://yarp/lib/yarp/node.rb#14572 def ConstantOperatorWriteNode(name, name_loc, operator_loc, value, operator, location = T.unsafe(nil)); end # Create a new ConstantOrWriteNode node # - # source://yarp/lib/yarp/node.rb#11175 + # source://yarp/lib/yarp/node.rb#14577 def ConstantOrWriteNode(name, name_loc, operator_loc, value, location = T.unsafe(nil)); end # Create a new ConstantPathAndWriteNode node # - # source://yarp/lib/yarp/node.rb#11180 + # source://yarp/lib/yarp/node.rb#14582 def ConstantPathAndWriteNode(target, operator_loc, value, location = T.unsafe(nil)); end # Create a new ConstantPathNode node # - # source://yarp/lib/yarp/node.rb#11185 + # source://yarp/lib/yarp/node.rb#14587 def ConstantPathNode(parent, child, delimiter_loc, location = T.unsafe(nil)); end # Create a new ConstantPathOperatorWriteNode node # - # source://yarp/lib/yarp/node.rb#11190 + # source://yarp/lib/yarp/node.rb#14592 def ConstantPathOperatorWriteNode(target, operator_loc, value, operator, location = T.unsafe(nil)); end # Create a new ConstantPathOrWriteNode node # - # source://yarp/lib/yarp/node.rb#11195 + # source://yarp/lib/yarp/node.rb#14597 def ConstantPathOrWriteNode(target, operator_loc, value, location = T.unsafe(nil)); end # Create a new ConstantPathTargetNode node # - # source://yarp/lib/yarp/node.rb#11200 + # source://yarp/lib/yarp/node.rb#14602 def ConstantPathTargetNode(parent, child, delimiter_loc, location = T.unsafe(nil)); end # Create a new ConstantPathWriteNode node # - # source://yarp/lib/yarp/node.rb#11205 + # source://yarp/lib/yarp/node.rb#14607 def ConstantPathWriteNode(target, operator_loc, value, location = T.unsafe(nil)); end # Create a new ConstantReadNode node # - # source://yarp/lib/yarp/node.rb#11210 + # source://yarp/lib/yarp/node.rb#14612 def ConstantReadNode(name, location = T.unsafe(nil)); end # Create a new ConstantTargetNode node # - # source://yarp/lib/yarp/node.rb#11215 + # source://yarp/lib/yarp/node.rb#14617 def ConstantTargetNode(name, location = T.unsafe(nil)); end # Create a new ConstantWriteNode node # - # source://yarp/lib/yarp/node.rb#11220 + # source://yarp/lib/yarp/node.rb#14622 def ConstantWriteNode(name, name_loc, value, operator_loc, location = T.unsafe(nil)); end # Create a new DefNode node # - # source://yarp/lib/yarp/node.rb#11225 + # source://yarp/lib/yarp/node.rb#14627 def DefNode(name, name_loc, receiver, parameters, body, locals, def_keyword_loc, operator_loc, lparen_loc, rparen_loc, equal_loc, end_keyword_loc, location = T.unsafe(nil)); end # Create a new DefinedNode node # - # source://yarp/lib/yarp/node.rb#11230 + # source://yarp/lib/yarp/node.rb#14632 def DefinedNode(lparen_loc, value, rparen_loc, keyword_loc, location = T.unsafe(nil)); end # Create a new ElseNode node # - # source://yarp/lib/yarp/node.rb#11235 + # source://yarp/lib/yarp/node.rb#14637 def ElseNode(else_keyword_loc, statements, end_keyword_loc, location = T.unsafe(nil)); end # Create a new EmbeddedStatementsNode node # - # source://yarp/lib/yarp/node.rb#11240 + # source://yarp/lib/yarp/node.rb#14642 def EmbeddedStatementsNode(opening_loc, statements, closing_loc, location = T.unsafe(nil)); end # Create a new EmbeddedVariableNode node # - # source://yarp/lib/yarp/node.rb#11245 + # source://yarp/lib/yarp/node.rb#14647 def EmbeddedVariableNode(operator_loc, variable, location = T.unsafe(nil)); end # Create a new EnsureNode node # - # source://yarp/lib/yarp/node.rb#11250 + # source://yarp/lib/yarp/node.rb#14652 def EnsureNode(ensure_keyword_loc, statements, end_keyword_loc, location = T.unsafe(nil)); end # Create a new FalseNode node # - # source://yarp/lib/yarp/node.rb#11255 + # source://yarp/lib/yarp/node.rb#14657 def FalseNode(location = T.unsafe(nil)); end # Create a new FindPatternNode node # - # source://yarp/lib/yarp/node.rb#11260 + # source://yarp/lib/yarp/node.rb#14662 def FindPatternNode(constant, left, requireds, right, opening_loc, closing_loc, location = T.unsafe(nil)); end # Create a new FlipFlopNode node # - # source://yarp/lib/yarp/node.rb#11265 + # source://yarp/lib/yarp/node.rb#14667 def FlipFlopNode(left, right, operator_loc, flags, location = T.unsafe(nil)); end # Create a new FloatNode node # - # source://yarp/lib/yarp/node.rb#11270 + # source://yarp/lib/yarp/node.rb#14672 def FloatNode(location = T.unsafe(nil)); end # Create a new ForNode node # - # source://yarp/lib/yarp/node.rb#11275 + # source://yarp/lib/yarp/node.rb#14677 def ForNode(index, collection, statements, for_keyword_loc, in_keyword_loc, do_keyword_loc, end_keyword_loc, location = T.unsafe(nil)); end # Create a new ForwardingArgumentsNode node # - # source://yarp/lib/yarp/node.rb#11280 + # source://yarp/lib/yarp/node.rb#14682 def ForwardingArgumentsNode(location = T.unsafe(nil)); end # Create a new ForwardingParameterNode node # - # source://yarp/lib/yarp/node.rb#11285 + # source://yarp/lib/yarp/node.rb#14687 def ForwardingParameterNode(location = T.unsafe(nil)); end # Create a new ForwardingSuperNode node # - # source://yarp/lib/yarp/node.rb#11290 + # source://yarp/lib/yarp/node.rb#14692 def ForwardingSuperNode(block, location = T.unsafe(nil)); end # Create a new GlobalVariableAndWriteNode node # - # source://yarp/lib/yarp/node.rb#11295 + # source://yarp/lib/yarp/node.rb#14697 def GlobalVariableAndWriteNode(name, name_loc, operator_loc, value, location = T.unsafe(nil)); end # Create a new GlobalVariableOperatorWriteNode node # - # source://yarp/lib/yarp/node.rb#11300 + # source://yarp/lib/yarp/node.rb#14702 def GlobalVariableOperatorWriteNode(name, name_loc, operator_loc, value, operator, location = T.unsafe(nil)); end # Create a new GlobalVariableOrWriteNode node # - # source://yarp/lib/yarp/node.rb#11305 + # source://yarp/lib/yarp/node.rb#14707 def GlobalVariableOrWriteNode(name, name_loc, operator_loc, value, location = T.unsafe(nil)); end # Create a new GlobalVariableReadNode node # - # source://yarp/lib/yarp/node.rb#11310 + # source://yarp/lib/yarp/node.rb#14712 def GlobalVariableReadNode(name, location = T.unsafe(nil)); end # Create a new GlobalVariableTargetNode node # - # source://yarp/lib/yarp/node.rb#11315 + # source://yarp/lib/yarp/node.rb#14717 def GlobalVariableTargetNode(name, location = T.unsafe(nil)); end # Create a new GlobalVariableWriteNode node # - # source://yarp/lib/yarp/node.rb#11320 + # source://yarp/lib/yarp/node.rb#14722 def GlobalVariableWriteNode(name, name_loc, value, operator_loc, location = T.unsafe(nil)); end # Create a new HashNode node # - # source://yarp/lib/yarp/node.rb#11325 + # source://yarp/lib/yarp/node.rb#14727 def HashNode(opening_loc, elements, closing_loc, location = T.unsafe(nil)); end # Create a new HashPatternNode node # - # source://yarp/lib/yarp/node.rb#11330 + # source://yarp/lib/yarp/node.rb#14732 def HashPatternNode(constant, assocs, kwrest, opening_loc, closing_loc, location = T.unsafe(nil)); end # Create a new IfNode node # - # source://yarp/lib/yarp/node.rb#11335 + # source://yarp/lib/yarp/node.rb#14737 def IfNode(if_keyword_loc, predicate, statements, consequent, end_keyword_loc, location = T.unsafe(nil)); end # Create a new ImaginaryNode node # - # source://yarp/lib/yarp/node.rb#11340 + # source://yarp/lib/yarp/node.rb#14742 def ImaginaryNode(numeric, location = T.unsafe(nil)); end + # Create a new ImplicitNode node + # + # source://yarp/lib/yarp/node.rb#14747 + def ImplicitNode(value, location = T.unsafe(nil)); end + # Create a new InNode node # - # source://yarp/lib/yarp/node.rb#11345 + # source://yarp/lib/yarp/node.rb#14752 def InNode(pattern, statements, in_loc, then_loc, location = T.unsafe(nil)); end # Create a new InstanceVariableAndWriteNode node # - # source://yarp/lib/yarp/node.rb#11350 + # source://yarp/lib/yarp/node.rb#14757 def InstanceVariableAndWriteNode(name, name_loc, operator_loc, value, location = T.unsafe(nil)); end # Create a new InstanceVariableOperatorWriteNode node # - # source://yarp/lib/yarp/node.rb#11355 + # source://yarp/lib/yarp/node.rb#14762 def InstanceVariableOperatorWriteNode(name, name_loc, operator_loc, value, operator, location = T.unsafe(nil)); end # Create a new InstanceVariableOrWriteNode node # - # source://yarp/lib/yarp/node.rb#11360 + # source://yarp/lib/yarp/node.rb#14767 def InstanceVariableOrWriteNode(name, name_loc, operator_loc, value, location = T.unsafe(nil)); end # Create a new InstanceVariableReadNode node # - # source://yarp/lib/yarp/node.rb#11365 + # source://yarp/lib/yarp/node.rb#14772 def InstanceVariableReadNode(name, location = T.unsafe(nil)); end # Create a new InstanceVariableTargetNode node # - # source://yarp/lib/yarp/node.rb#11370 + # source://yarp/lib/yarp/node.rb#14777 def InstanceVariableTargetNode(name, location = T.unsafe(nil)); end # Create a new InstanceVariableWriteNode node # - # source://yarp/lib/yarp/node.rb#11375 + # source://yarp/lib/yarp/node.rb#14782 def InstanceVariableWriteNode(name, name_loc, value, operator_loc, location = T.unsafe(nil)); end # Create a new IntegerNode node # - # source://yarp/lib/yarp/node.rb#11380 - def IntegerNode(location = T.unsafe(nil)); end + # source://yarp/lib/yarp/node.rb#14787 + def IntegerNode(flags, location = T.unsafe(nil)); end + + # Create a new InterpolatedMatchLastLineNode node + # + # source://yarp/lib/yarp/node.rb#14792 + def InterpolatedMatchLastLineNode(opening_loc, parts, closing_loc, flags, location = T.unsafe(nil)); end # Create a new InterpolatedRegularExpressionNode node # - # source://yarp/lib/yarp/node.rb#11385 + # source://yarp/lib/yarp/node.rb#14797 def InterpolatedRegularExpressionNode(opening_loc, parts, closing_loc, flags, location = T.unsafe(nil)); end # Create a new InterpolatedStringNode node # - # source://yarp/lib/yarp/node.rb#11390 + # source://yarp/lib/yarp/node.rb#14802 def InterpolatedStringNode(opening_loc, parts, closing_loc, location = T.unsafe(nil)); end # Create a new InterpolatedSymbolNode node # - # source://yarp/lib/yarp/node.rb#11395 + # source://yarp/lib/yarp/node.rb#14807 def InterpolatedSymbolNode(opening_loc, parts, closing_loc, location = T.unsafe(nil)); end # Create a new InterpolatedXStringNode node # - # source://yarp/lib/yarp/node.rb#11400 + # source://yarp/lib/yarp/node.rb#14812 def InterpolatedXStringNode(opening_loc, parts, closing_loc, location = T.unsafe(nil)); end # Create a new KeywordHashNode node # - # source://yarp/lib/yarp/node.rb#11405 + # source://yarp/lib/yarp/node.rb#14817 def KeywordHashNode(elements, location = T.unsafe(nil)); end # Create a new KeywordParameterNode node # - # source://yarp/lib/yarp/node.rb#11410 + # source://yarp/lib/yarp/node.rb#14822 def KeywordParameterNode(name, name_loc, value, location = T.unsafe(nil)); end # Create a new KeywordRestParameterNode node # - # source://yarp/lib/yarp/node.rb#11415 + # source://yarp/lib/yarp/node.rb#14827 def KeywordRestParameterNode(name, name_loc, operator_loc, location = T.unsafe(nil)); end # Create a new LambdaNode node # - # source://yarp/lib/yarp/node.rb#11420 + # source://yarp/lib/yarp/node.rb#14832 def LambdaNode(locals, operator_loc, opening_loc, closing_loc, parameters, body, location = T.unsafe(nil)); end # Create a new LocalVariableAndWriteNode node # - # source://yarp/lib/yarp/node.rb#11425 + # source://yarp/lib/yarp/node.rb#14837 def LocalVariableAndWriteNode(name_loc, operator_loc, value, name, depth, location = T.unsafe(nil)); end # Create a new LocalVariableOperatorWriteNode node # - # source://yarp/lib/yarp/node.rb#11430 + # source://yarp/lib/yarp/node.rb#14842 def LocalVariableOperatorWriteNode(name_loc, operator_loc, value, name, operator, depth, location = T.unsafe(nil)); end # Create a new LocalVariableOrWriteNode node # - # source://yarp/lib/yarp/node.rb#11435 + # source://yarp/lib/yarp/node.rb#14847 def LocalVariableOrWriteNode(name_loc, operator_loc, value, name, depth, location = T.unsafe(nil)); end # Create a new LocalVariableReadNode node # - # source://yarp/lib/yarp/node.rb#11440 + # source://yarp/lib/yarp/node.rb#14852 def LocalVariableReadNode(name, depth, location = T.unsafe(nil)); end # Create a new LocalVariableTargetNode node # - # source://yarp/lib/yarp/node.rb#11445 + # source://yarp/lib/yarp/node.rb#14857 def LocalVariableTargetNode(name, depth, location = T.unsafe(nil)); end # Create a new LocalVariableWriteNode node # - # source://yarp/lib/yarp/node.rb#11450 + # source://yarp/lib/yarp/node.rb#14862 def LocalVariableWriteNode(name, depth, name_loc, value, operator_loc, location = T.unsafe(nil)); end # Create a new Location object # - # source://yarp/lib/yarp/node.rb#11015 + # source://yarp/lib/yarp/node.rb#14412 def Location(source = T.unsafe(nil), start_offset = T.unsafe(nil), length = T.unsafe(nil)); end + # Create a new MatchLastLineNode node + # + # source://yarp/lib/yarp/node.rb#14867 + def MatchLastLineNode(opening_loc, content_loc, closing_loc, unescaped, flags, location = T.unsafe(nil)); end + # Create a new MatchPredicateNode node # - # source://yarp/lib/yarp/node.rb#11455 + # source://yarp/lib/yarp/node.rb#14872 def MatchPredicateNode(value, pattern, operator_loc, location = T.unsafe(nil)); end # Create a new MatchRequiredNode node # - # source://yarp/lib/yarp/node.rb#11460 + # source://yarp/lib/yarp/node.rb#14877 def MatchRequiredNode(value, pattern, operator_loc, location = T.unsafe(nil)); end + # Create a new MatchWriteNode node + # + # source://yarp/lib/yarp/node.rb#14882 + def MatchWriteNode(call, locals, location = T.unsafe(nil)); end + # Create a new MissingNode node # - # source://yarp/lib/yarp/node.rb#11465 + # source://yarp/lib/yarp/node.rb#14887 def MissingNode(location = T.unsafe(nil)); end # Create a new ModuleNode node # - # source://yarp/lib/yarp/node.rb#11470 + # source://yarp/lib/yarp/node.rb#14892 def ModuleNode(locals, module_keyword_loc, constant_path, body, end_keyword_loc, name, location = T.unsafe(nil)); end # Create a new MultiTargetNode node # - # source://yarp/lib/yarp/node.rb#11475 + # source://yarp/lib/yarp/node.rb#14897 def MultiTargetNode(targets, lparen_loc, rparen_loc, location = T.unsafe(nil)); end # Create a new MultiWriteNode node # - # source://yarp/lib/yarp/node.rb#11480 + # source://yarp/lib/yarp/node.rb#14902 def MultiWriteNode(targets, lparen_loc, rparen_loc, operator_loc, value, location = T.unsafe(nil)); end # Create a new NextNode node # - # source://yarp/lib/yarp/node.rb#11485 + # source://yarp/lib/yarp/node.rb#14907 def NextNode(arguments, keyword_loc, location = T.unsafe(nil)); end # Create a new NilNode node # - # source://yarp/lib/yarp/node.rb#11490 + # source://yarp/lib/yarp/node.rb#14912 def NilNode(location = T.unsafe(nil)); end # Create a new NoKeywordsParameterNode node # - # source://yarp/lib/yarp/node.rb#11495 + # source://yarp/lib/yarp/node.rb#14917 def NoKeywordsParameterNode(operator_loc, keyword_loc, location = T.unsafe(nil)); end # Create a new NumberedReferenceReadNode node # - # source://yarp/lib/yarp/node.rb#11500 + # source://yarp/lib/yarp/node.rb#14922 def NumberedReferenceReadNode(number, location = T.unsafe(nil)); end # Create a new OptionalParameterNode node # - # source://yarp/lib/yarp/node.rb#11505 + # source://yarp/lib/yarp/node.rb#14927 def OptionalParameterNode(name, name_loc, operator_loc, value, location = T.unsafe(nil)); end # Create a new OrNode node # - # source://yarp/lib/yarp/node.rb#11510 + # source://yarp/lib/yarp/node.rb#14932 def OrNode(left, right, operator_loc, location = T.unsafe(nil)); end # Create a new ParametersNode node # - # source://yarp/lib/yarp/node.rb#11515 - def ParametersNode(requireds, optionals, posts, rest, keywords, keyword_rest, block, location = T.unsafe(nil)); end + # source://yarp/lib/yarp/node.rb#14937 + def ParametersNode(requireds, optionals, rest, posts, keywords, keyword_rest, block, location = T.unsafe(nil)); end # Create a new ParenthesesNode node # - # source://yarp/lib/yarp/node.rb#11520 + # source://yarp/lib/yarp/node.rb#14942 def ParenthesesNode(body, opening_loc, closing_loc, location = T.unsafe(nil)); end # Create a new PinnedExpressionNode node # - # source://yarp/lib/yarp/node.rb#11525 + # source://yarp/lib/yarp/node.rb#14947 def PinnedExpressionNode(expression, operator_loc, lparen_loc, rparen_loc, location = T.unsafe(nil)); end # Create a new PinnedVariableNode node # - # source://yarp/lib/yarp/node.rb#11530 + # source://yarp/lib/yarp/node.rb#14952 def PinnedVariableNode(variable, operator_loc, location = T.unsafe(nil)); end # Create a new PostExecutionNode node # - # source://yarp/lib/yarp/node.rb#11535 + # source://yarp/lib/yarp/node.rb#14957 def PostExecutionNode(statements, keyword_loc, opening_loc, closing_loc, location = T.unsafe(nil)); end # Create a new PreExecutionNode node # - # source://yarp/lib/yarp/node.rb#11540 + # source://yarp/lib/yarp/node.rb#14962 def PreExecutionNode(statements, keyword_loc, opening_loc, closing_loc, location = T.unsafe(nil)); end # Create a new ProgramNode node # - # source://yarp/lib/yarp/node.rb#11545 + # source://yarp/lib/yarp/node.rb#14967 def ProgramNode(locals, statements, location = T.unsafe(nil)); end # Create a new RangeNode node # - # source://yarp/lib/yarp/node.rb#11550 + # source://yarp/lib/yarp/node.rb#14972 def RangeNode(left, right, operator_loc, flags, location = T.unsafe(nil)); end # Create a new RationalNode node # - # source://yarp/lib/yarp/node.rb#11555 + # source://yarp/lib/yarp/node.rb#14977 def RationalNode(numeric, location = T.unsafe(nil)); end # Create a new RedoNode node # - # source://yarp/lib/yarp/node.rb#11560 + # source://yarp/lib/yarp/node.rb#14982 def RedoNode(location = T.unsafe(nil)); end # Create a new RegularExpressionNode node # - # source://yarp/lib/yarp/node.rb#11565 + # source://yarp/lib/yarp/node.rb#14987 def RegularExpressionNode(opening_loc, content_loc, closing_loc, unescaped, flags, location = T.unsafe(nil)); end # Create a new RequiredDestructuredParameterNode node # - # source://yarp/lib/yarp/node.rb#11570 + # source://yarp/lib/yarp/node.rb#14992 def RequiredDestructuredParameterNode(parameters, opening_loc, closing_loc, location = T.unsafe(nil)); end # Create a new RequiredParameterNode node # - # source://yarp/lib/yarp/node.rb#11575 + # source://yarp/lib/yarp/node.rb#14997 def RequiredParameterNode(name, location = T.unsafe(nil)); end # Create a new RescueModifierNode node # - # source://yarp/lib/yarp/node.rb#11580 + # source://yarp/lib/yarp/node.rb#15002 def RescueModifierNode(expression, keyword_loc, rescue_expression, location = T.unsafe(nil)); end # Create a new RescueNode node # - # source://yarp/lib/yarp/node.rb#11585 + # source://yarp/lib/yarp/node.rb#15007 def RescueNode(keyword_loc, exceptions, operator_loc, reference, statements, consequent, location = T.unsafe(nil)); end # Create a new RestParameterNode node # - # source://yarp/lib/yarp/node.rb#11590 + # source://yarp/lib/yarp/node.rb#15012 def RestParameterNode(name, name_loc, operator_loc, location = T.unsafe(nil)); end # Create a new RetryNode node # - # source://yarp/lib/yarp/node.rb#11595 + # source://yarp/lib/yarp/node.rb#15017 def RetryNode(location = T.unsafe(nil)); end # Create a new ReturnNode node # - # source://yarp/lib/yarp/node.rb#11600 + # source://yarp/lib/yarp/node.rb#15022 def ReturnNode(keyword_loc, arguments, location = T.unsafe(nil)); end # Create a new SelfNode node # - # source://yarp/lib/yarp/node.rb#11605 + # source://yarp/lib/yarp/node.rb#15027 def SelfNode(location = T.unsafe(nil)); end # Create a new SingletonClassNode node # - # source://yarp/lib/yarp/node.rb#11610 + # source://yarp/lib/yarp/node.rb#15032 def SingletonClassNode(locals, class_keyword_loc, operator_loc, expression, body, end_keyword_loc, location = T.unsafe(nil)); end # Create a new SourceEncodingNode node # - # source://yarp/lib/yarp/node.rb#11615 + # source://yarp/lib/yarp/node.rb#15037 def SourceEncodingNode(location = T.unsafe(nil)); end # Create a new SourceFileNode node # - # source://yarp/lib/yarp/node.rb#11620 + # source://yarp/lib/yarp/node.rb#15042 def SourceFileNode(filepath, location = T.unsafe(nil)); end # Create a new SourceLineNode node # - # source://yarp/lib/yarp/node.rb#11625 + # source://yarp/lib/yarp/node.rb#15047 def SourceLineNode(location = T.unsafe(nil)); end # Create a new SplatNode node # - # source://yarp/lib/yarp/node.rb#11630 + # source://yarp/lib/yarp/node.rb#15052 def SplatNode(operator_loc, expression, location = T.unsafe(nil)); end # Create a new StatementsNode node # - # source://yarp/lib/yarp/node.rb#11635 + # source://yarp/lib/yarp/node.rb#15057 def StatementsNode(body, location = T.unsafe(nil)); end # Create a new StringConcatNode node # - # source://yarp/lib/yarp/node.rb#11640 + # source://yarp/lib/yarp/node.rb#15062 def StringConcatNode(left, right, location = T.unsafe(nil)); end # Create a new StringNode node # - # source://yarp/lib/yarp/node.rb#11645 - def StringNode(opening_loc, content_loc, closing_loc, unescaped, location = T.unsafe(nil)); end + # source://yarp/lib/yarp/node.rb#15067 + def StringNode(flags, opening_loc, content_loc, closing_loc, unescaped, location = T.unsafe(nil)); end # Create a new SuperNode node # - # source://yarp/lib/yarp/node.rb#11650 + # source://yarp/lib/yarp/node.rb#15072 def SuperNode(keyword_loc, lparen_loc, arguments, rparen_loc, block, location = T.unsafe(nil)); end # Create a new SymbolNode node # - # source://yarp/lib/yarp/node.rb#11655 + # source://yarp/lib/yarp/node.rb#15077 def SymbolNode(opening_loc, value_loc, closing_loc, unescaped, location = T.unsafe(nil)); end # Create a new TrueNode node # - # source://yarp/lib/yarp/node.rb#11660 + # source://yarp/lib/yarp/node.rb#15082 def TrueNode(location = T.unsafe(nil)); end # Create a new UndefNode node # - # source://yarp/lib/yarp/node.rb#11665 + # source://yarp/lib/yarp/node.rb#15087 def UndefNode(names, keyword_loc, location = T.unsafe(nil)); end # Create a new UnlessNode node # - # source://yarp/lib/yarp/node.rb#11670 + # source://yarp/lib/yarp/node.rb#15092 def UnlessNode(keyword_loc, predicate, statements, consequent, end_keyword_loc, location = T.unsafe(nil)); end # Create a new UntilNode node # - # source://yarp/lib/yarp/node.rb#11675 + # source://yarp/lib/yarp/node.rb#15097 def UntilNode(keyword_loc, closing_loc, predicate, statements, flags, location = T.unsafe(nil)); end # Create a new WhenNode node # - # source://yarp/lib/yarp/node.rb#11680 + # source://yarp/lib/yarp/node.rb#15102 def WhenNode(keyword_loc, conditions, statements, location = T.unsafe(nil)); end # Create a new WhileNode node # - # source://yarp/lib/yarp/node.rb#11685 + # source://yarp/lib/yarp/node.rb#15107 def WhileNode(keyword_loc, closing_loc, predicate, statements, flags, location = T.unsafe(nil)); end # Create a new XStringNode node # - # source://yarp/lib/yarp/node.rb#11690 + # source://yarp/lib/yarp/node.rb#15112 def XStringNode(opening_loc, content_loc, closing_loc, unescaped, location = T.unsafe(nil)); end # Create a new YieldNode node # - # source://yarp/lib/yarp/node.rb#11695 + # source://yarp/lib/yarp/node.rb#15117 def YieldNode(keyword_loc, lparen_loc, arguments, rparen_loc, location = T.unsafe(nil)); end end # This module is used for testing and debugging and is not meant to be used by # consumers of this library. # -# source://yarp/lib/yarp.rb#423 +# source://yarp/lib/yarp.rb#386 module YARP::Debug class << self # For the given source, compiles with CRuby and returns a list of all of the # sets of local variables that were encountered. # - # source://yarp/lib/yarp.rb#464 + # source://yarp/lib/yarp.rb#427 def cruby_locals(source); end def memsize(_arg0); end def named_captures(_arg0); end - # source://yarp/lib/yarp.rb#570 + # source://yarp/lib/yarp.rb#529 def newlines(source); end - # source://yarp/lib/yarp.rb#574 + # source://yarp/lib/yarp.rb#533 def parse_serialize_file(filepath); end def parse_serialize_file_metadata(_arg0, _arg1); end @@ -4037,33 +4644,33 @@ module YARP::Debug # For the given source, parses with YARP and returns a list of all of the # sets of local variables that were encountered. # - # source://yarp/lib/yarp.rb#503 + # source://yarp/lib/yarp.rb#462 def yarp_locals(source); end end end -# source://yarp/lib/yarp.rb#424 +# source://yarp/lib/yarp.rb#387 class YARP::Debug::ISeq # @return [ISeq] a new instance of ISeq # - # source://yarp/lib/yarp.rb#427 + # source://yarp/lib/yarp.rb#390 def initialize(parts); end - # source://yarp/lib/yarp.rb#443 + # source://yarp/lib/yarp.rb#406 def each_child; end - # source://yarp/lib/yarp.rb#439 + # source://yarp/lib/yarp.rb#402 def instructions; end - # source://yarp/lib/yarp.rb#435 + # source://yarp/lib/yarp.rb#398 def local_table; end # Returns the value of attribute parts. # - # source://yarp/lib/yarp.rb#425 + # source://yarp/lib/yarp.rb#388 def parts; end - # source://yarp/lib/yarp.rb#431 + # source://yarp/lib/yarp.rb#394 def type; end end @@ -4073,137 +4680,149 @@ end # end # ^^^^^^^^^^ # -# source://yarp/lib/yarp/node.rb#3401 +# source://yarp/lib/yarp/node.rb#4035 class YARP::DefNode < ::YARP::Node # def initialize: (name: Symbol, name_loc: Location, receiver: Node?, parameters: ParametersNode?, body: Node?, locals: Array[Symbol], def_keyword_loc: Location, operator_loc: Location?, lparen_loc: Location?, rparen_loc: Location?, equal_loc: Location?, end_keyword_loc: Location?, location: Location) -> void # # @return [DefNode] a new instance of DefNode # - # source://yarp/lib/yarp/node.rb#3439 + # source://yarp/lib/yarp/node.rb#4073 def initialize(name, name_loc, receiver, parameters, body, locals, def_keyword_loc, operator_loc, lparen_loc, rparen_loc, equal_loc, end_keyword_loc, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#3456 + # source://yarp/lib/yarp/node.rb#4090 def accept(visitor); end # attr_reader body: Node? # - # source://yarp/lib/yarp/node.rb#3415 + # source://yarp/lib/yarp/node.rb#4049 def body; end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#3461 + # source://yarp/lib/yarp/node.rb#4095 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#3466 + # source://yarp/lib/yarp/node.rb#4109 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#4100 + def compact_child_nodes; end + # def copy: (**params) -> DefNode # - # source://yarp/lib/yarp/node.rb#3471 + # source://yarp/lib/yarp/node.rb#4114 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#3461 + # source://yarp/lib/yarp/node.rb#4095 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#3493 + # source://yarp/lib/yarp/node.rb#4136 def deconstruct_keys(keys); end # def def_keyword: () -> String # - # source://yarp/lib/yarp/node.rb#3498 + # source://yarp/lib/yarp/node.rb#4141 def def_keyword; end # attr_reader def_keyword_loc: Location # - # source://yarp/lib/yarp/node.rb#3421 + # source://yarp/lib/yarp/node.rb#4055 def def_keyword_loc; end # def end_keyword: () -> String? # - # source://yarp/lib/yarp/node.rb#3523 + # source://yarp/lib/yarp/node.rb#4166 def end_keyword; end # attr_reader end_keyword_loc: Location? # - # source://yarp/lib/yarp/node.rb#3436 + # source://yarp/lib/yarp/node.rb#4070 def end_keyword_loc; end # def equal: () -> String? # - # source://yarp/lib/yarp/node.rb#3518 + # source://yarp/lib/yarp/node.rb#4161 def equal; end # attr_reader equal_loc: Location? # - # source://yarp/lib/yarp/node.rb#3433 + # source://yarp/lib/yarp/node.rb#4067 def equal_loc; end - # source://yarp/lib/yarp/node.rb#3527 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#4205 + def human; end + + # source://yarp/lib/yarp/node.rb#4170 def inspect(inspector = T.unsafe(nil)); end # attr_reader locals: Array[Symbol] # - # source://yarp/lib/yarp/node.rb#3418 + # source://yarp/lib/yarp/node.rb#4052 def locals; end # def lparen: () -> String? # - # source://yarp/lib/yarp/node.rb#3508 + # source://yarp/lib/yarp/node.rb#4151 def lparen; end # attr_reader lparen_loc: Location? # - # source://yarp/lib/yarp/node.rb#3427 + # source://yarp/lib/yarp/node.rb#4061 def lparen_loc; end # attr_reader name: Symbol # - # source://yarp/lib/yarp/node.rb#3403 + # source://yarp/lib/yarp/node.rb#4037 def name; end # attr_reader name_loc: Location # - # source://yarp/lib/yarp/node.rb#3406 + # source://yarp/lib/yarp/node.rb#4040 def name_loc; end # def operator: () -> String? # - # source://yarp/lib/yarp/node.rb#3503 + # source://yarp/lib/yarp/node.rb#4146 def operator; end # attr_reader operator_loc: Location? # - # source://yarp/lib/yarp/node.rb#3424 + # source://yarp/lib/yarp/node.rb#4058 def operator_loc; end # attr_reader parameters: ParametersNode? # - # source://yarp/lib/yarp/node.rb#3412 + # source://yarp/lib/yarp/node.rb#4046 def parameters; end # attr_reader receiver: Node? # - # source://yarp/lib/yarp/node.rb#3409 + # source://yarp/lib/yarp/node.rb#4043 def receiver; end # def rparen: () -> String? # - # source://yarp/lib/yarp/node.rb#3513 + # source://yarp/lib/yarp/node.rb#4156 def rparen; end # attr_reader rparen_loc: Location? # - # source://yarp/lib/yarp/node.rb#3430 + # source://yarp/lib/yarp/node.rb#4064 def rparen_loc; end end @@ -4212,82 +4831,94 @@ end # defined?(a) # ^^^^^^^^^^^ # -# source://yarp/lib/yarp/node.rb#3564 +# source://yarp/lib/yarp/node.rb#4214 class YARP::DefinedNode < ::YARP::Node # def initialize: (lparen_loc: Location?, value: Node, rparen_loc: Location?, keyword_loc: Location, location: Location) -> void # # @return [DefinedNode] a new instance of DefinedNode # - # source://yarp/lib/yarp/node.rb#3578 + # source://yarp/lib/yarp/node.rb#4228 def initialize(lparen_loc, value, rparen_loc, keyword_loc, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#3587 + # source://yarp/lib/yarp/node.rb#4237 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#3592 + # source://yarp/lib/yarp/node.rb#4242 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#3597 + # source://yarp/lib/yarp/node.rb#4252 def comment_targets; end - # def copy: (**params) -> DefinedNode + # def compact_child_nodes: () -> Array[Node] # - # source://yarp/lib/yarp/node.rb#3602 - def copy(**params); end + # source://yarp/lib/yarp/node.rb#4247 + def compact_child_nodes; end + + # def copy: (**params) -> DefinedNode + # + # source://yarp/lib/yarp/node.rb#4257 + def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#3592 + # source://yarp/lib/yarp/node.rb#4242 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#3616 + # source://yarp/lib/yarp/node.rb#4271 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#3635 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#4303 + def human; end + + # source://yarp/lib/yarp/node.rb#4290 def inspect(inspector = T.unsafe(nil)); end # def keyword: () -> String # - # source://yarp/lib/yarp/node.rb#3631 + # source://yarp/lib/yarp/node.rb#4286 def keyword; end # attr_reader keyword_loc: Location # - # source://yarp/lib/yarp/node.rb#3575 + # source://yarp/lib/yarp/node.rb#4225 def keyword_loc; end # def lparen: () -> String? # - # source://yarp/lib/yarp/node.rb#3621 + # source://yarp/lib/yarp/node.rb#4276 def lparen; end # attr_reader lparen_loc: Location? # - # source://yarp/lib/yarp/node.rb#3566 + # source://yarp/lib/yarp/node.rb#4216 def lparen_loc; end # def rparen: () -> String? # - # source://yarp/lib/yarp/node.rb#3626 + # source://yarp/lib/yarp/node.rb#4281 def rparen; end # attr_reader rparen_loc: Location? # - # source://yarp/lib/yarp/node.rb#3572 + # source://yarp/lib/yarp/node.rb#4222 def rparen_loc; end # attr_reader value: Node # - # source://yarp/lib/yarp/node.rb#3569 + # source://yarp/lib/yarp/node.rb#4219 def value; end end @@ -4439,77 +5070,126 @@ class YARP::DesugarVisitor < ::YARP::MutationVisitor def desugar_or_write_node(node, read_class, write_class, *arguments); end end +# The dispatcher class fires events for nodes that are found while walking an AST to all registered listeners. It's +# useful for performing different types of analysis on the AST without having to repeat the same visits multiple times +# +# source://yarp/lib/yarp/node.rb#13385 +class YARP::Dispatcher + # @return [Dispatcher] a new instance of Dispatcher + # + # source://yarp/lib/yarp/node.rb#13389 + def initialize; end + + # Walks `root` dispatching events to all registered listeners + # + # def dispatch: (Node) -> void + # + # source://yarp/lib/yarp/node.rb#13403 + def dispatch(root); end + + # Dispatches a single event for `node` to all registered listeners + # + # def dispatch_once: (Node) -> void + # + # source://yarp/lib/yarp/node.rb#13979 + def dispatch_once(node); end + + # attr_reader listeners: Hash[Symbol, Array[Listener]] + # + # source://yarp/lib/yarp/node.rb#13387 + def listeners; end + + # Register a listener for one or more events + # + # def register: (Listener, *Symbol) -> void + # + # source://yarp/lib/yarp/node.rb#13396 + def register(listener, *events); end +end + # Represents an `else` clause in a `case`, `if`, or `unless` statement. # # if a then b else c end # ^^^^^^^^^^ # -# source://yarp/lib/yarp/node.rb#3650 +# source://yarp/lib/yarp/node.rb#4312 class YARP::ElseNode < ::YARP::Node # def initialize: (else_keyword_loc: Location, statements: StatementsNode?, end_keyword_loc: Location?, location: Location) -> void # # @return [ElseNode] a new instance of ElseNode # - # source://yarp/lib/yarp/node.rb#3661 + # source://yarp/lib/yarp/node.rb#4323 def initialize(else_keyword_loc, statements, end_keyword_loc, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#3669 + # source://yarp/lib/yarp/node.rb#4331 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#3674 + # source://yarp/lib/yarp/node.rb#4336 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#3679 + # source://yarp/lib/yarp/node.rb#4348 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#4341 + def compact_child_nodes; end + # def copy: (**params) -> ElseNode # - # source://yarp/lib/yarp/node.rb#3684 + # source://yarp/lib/yarp/node.rb#4353 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#3674 + # source://yarp/lib/yarp/node.rb#4336 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#3697 + # source://yarp/lib/yarp/node.rb#4366 def deconstruct_keys(keys); end # def else_keyword: () -> String # - # source://yarp/lib/yarp/node.rb#3702 + # source://yarp/lib/yarp/node.rb#4371 def else_keyword; end # attr_reader else_keyword_loc: Location # - # source://yarp/lib/yarp/node.rb#3652 + # source://yarp/lib/yarp/node.rb#4314 def else_keyword_loc; end # def end_keyword: () -> String? # - # source://yarp/lib/yarp/node.rb#3707 + # source://yarp/lib/yarp/node.rb#4376 def end_keyword; end # attr_reader end_keyword_loc: Location? # - # source://yarp/lib/yarp/node.rb#3658 + # source://yarp/lib/yarp/node.rb#4320 def end_keyword_loc; end - # source://yarp/lib/yarp/node.rb#3711 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#4396 + def human; end + + # source://yarp/lib/yarp/node.rb#4380 def inspect(inspector = T.unsafe(nil)); end # attr_reader statements: StatementsNode? # - # source://yarp/lib/yarp/node.rb#3655 + # source://yarp/lib/yarp/node.rb#4317 def statements; end end @@ -4518,72 +5198,84 @@ end # "foo #{bar}" # ^^^^^^ # -# source://yarp/lib/yarp/node.rb#3729 +# source://yarp/lib/yarp/node.rb#4405 class YARP::EmbeddedStatementsNode < ::YARP::Node # def initialize: (opening_loc: Location, statements: StatementsNode?, closing_loc: Location, location: Location) -> void # # @return [EmbeddedStatementsNode] a new instance of EmbeddedStatementsNode # - # source://yarp/lib/yarp/node.rb#3740 + # source://yarp/lib/yarp/node.rb#4416 def initialize(opening_loc, statements, closing_loc, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#3748 + # source://yarp/lib/yarp/node.rb#4424 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#3753 + # source://yarp/lib/yarp/node.rb#4429 def child_nodes; end # def closing: () -> String # - # source://yarp/lib/yarp/node.rb#3786 + # source://yarp/lib/yarp/node.rb#4469 def closing; end # attr_reader closing_loc: Location # - # source://yarp/lib/yarp/node.rb#3737 + # source://yarp/lib/yarp/node.rb#4413 def closing_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#3758 + # source://yarp/lib/yarp/node.rb#4441 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#4434 + def compact_child_nodes; end + # def copy: (**params) -> EmbeddedStatementsNode # - # source://yarp/lib/yarp/node.rb#3763 + # source://yarp/lib/yarp/node.rb#4446 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#3753 + # source://yarp/lib/yarp/node.rb#4429 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#3776 + # source://yarp/lib/yarp/node.rb#4459 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#3790 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#4489 + def human; end + + # source://yarp/lib/yarp/node.rb#4473 def inspect(inspector = T.unsafe(nil)); end # def opening: () -> String # - # source://yarp/lib/yarp/node.rb#3781 + # source://yarp/lib/yarp/node.rb#4464 def opening; end # attr_reader opening_loc: Location # - # source://yarp/lib/yarp/node.rb#3731 + # source://yarp/lib/yarp/node.rb#4407 def opening_loc; end # attr_reader statements: StatementsNode? # - # source://yarp/lib/yarp/node.rb#3734 + # source://yarp/lib/yarp/node.rb#4410 def statements; end end @@ -4592,62 +5284,74 @@ end # "foo #@bar" # ^^^^^ # -# source://yarp/lib/yarp/node.rb#3808 +# source://yarp/lib/yarp/node.rb#4498 class YARP::EmbeddedVariableNode < ::YARP::Node # def initialize: (operator_loc: Location, variable: Node, location: Location) -> void # # @return [EmbeddedVariableNode] a new instance of EmbeddedVariableNode # - # source://yarp/lib/yarp/node.rb#3816 + # source://yarp/lib/yarp/node.rb#4506 def initialize(operator_loc, variable, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#3823 + # source://yarp/lib/yarp/node.rb#4513 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#3828 + # source://yarp/lib/yarp/node.rb#4518 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#3833 + # source://yarp/lib/yarp/node.rb#4528 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#4523 + def compact_child_nodes; end + # def copy: (**params) -> EmbeddedVariableNode # - # source://yarp/lib/yarp/node.rb#3838 + # source://yarp/lib/yarp/node.rb#4533 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#3828 + # source://yarp/lib/yarp/node.rb#4518 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#3850 + # source://yarp/lib/yarp/node.rb#4545 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#3859 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#4565 + def human; end + + # source://yarp/lib/yarp/node.rb#4554 def inspect(inspector = T.unsafe(nil)); end # def operator: () -> String # - # source://yarp/lib/yarp/node.rb#3855 + # source://yarp/lib/yarp/node.rb#4550 def operator; end # attr_reader operator_loc: Location # - # source://yarp/lib/yarp/node.rb#3810 + # source://yarp/lib/yarp/node.rb#4500 def operator_loc; end # attr_reader variable: Node # - # source://yarp/lib/yarp/node.rb#3813 + # source://yarp/lib/yarp/node.rb#4503 def variable; end end @@ -4660,72 +5364,84 @@ end # bar # end # -# source://yarp/lib/yarp/node.rb#3876 +# source://yarp/lib/yarp/node.rb#4578 class YARP::EnsureNode < ::YARP::Node # def initialize: (ensure_keyword_loc: Location, statements: StatementsNode?, end_keyword_loc: Location, location: Location) -> void # # @return [EnsureNode] a new instance of EnsureNode # - # source://yarp/lib/yarp/node.rb#3887 + # source://yarp/lib/yarp/node.rb#4589 def initialize(ensure_keyword_loc, statements, end_keyword_loc, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#3895 + # source://yarp/lib/yarp/node.rb#4597 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#3900 + # source://yarp/lib/yarp/node.rb#4602 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#3905 + # source://yarp/lib/yarp/node.rb#4614 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#4607 + def compact_child_nodes; end + # def copy: (**params) -> EnsureNode # - # source://yarp/lib/yarp/node.rb#3910 + # source://yarp/lib/yarp/node.rb#4619 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#3900 + # source://yarp/lib/yarp/node.rb#4602 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#3923 + # source://yarp/lib/yarp/node.rb#4632 def deconstruct_keys(keys); end # def end_keyword: () -> String # - # source://yarp/lib/yarp/node.rb#3933 + # source://yarp/lib/yarp/node.rb#4642 def end_keyword; end # attr_reader end_keyword_loc: Location # - # source://yarp/lib/yarp/node.rb#3884 + # source://yarp/lib/yarp/node.rb#4586 def end_keyword_loc; end # def ensure_keyword: () -> String # - # source://yarp/lib/yarp/node.rb#3928 + # source://yarp/lib/yarp/node.rb#4637 def ensure_keyword; end # attr_reader ensure_keyword_loc: Location # - # source://yarp/lib/yarp/node.rb#3878 + # source://yarp/lib/yarp/node.rb#4580 def ensure_keyword_loc; end - # source://yarp/lib/yarp/node.rb#3937 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#4662 + def human; end + + # source://yarp/lib/yarp/node.rb#4646 def inspect(inspector = T.unsafe(nil)); end # attr_reader statements: StatementsNode? # - # source://yarp/lib/yarp/node.rb#3881 + # source://yarp/lib/yarp/node.rb#4583 def statements; end end @@ -4734,47 +5450,59 @@ end # false # ^^^^^ # -# source://yarp/lib/yarp/node.rb#3955 +# source://yarp/lib/yarp/node.rb#4671 class YARP::FalseNode < ::YARP::Node # def initialize: (location: Location) -> void # # @return [FalseNode] a new instance of FalseNode # - # source://yarp/lib/yarp/node.rb#3957 + # source://yarp/lib/yarp/node.rb#4673 def initialize(location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#3962 + # source://yarp/lib/yarp/node.rb#4678 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#3967 + # source://yarp/lib/yarp/node.rb#4683 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#3972 + # source://yarp/lib/yarp/node.rb#4693 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#4688 + def compact_child_nodes; end + # def copy: (**params) -> FalseNode # - # source://yarp/lib/yarp/node.rb#3977 + # source://yarp/lib/yarp/node.rb#4698 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#3967 + # source://yarp/lib/yarp/node.rb#4683 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#3987 + # source://yarp/lib/yarp/node.rb#4708 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#3991 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#4720 + def human; end + + # source://yarp/lib/yarp/node.rb#4712 def inspect(inspector = T.unsafe(nil)); end end @@ -4789,87 +5517,99 @@ end # foo in Foo(*bar, baz, *qux) # ^^^^^^^^^^^^^^^^^^^^^^^^^^^ # -# source://yarp/lib/yarp/node.rb#4007 +# source://yarp/lib/yarp/node.rb#4735 class YARP::FindPatternNode < ::YARP::Node # def initialize: (constant: Node?, left: Node, requireds: Array[Node], right: Node, opening_loc: Location?, closing_loc: Location?, location: Location) -> void # # @return [FindPatternNode] a new instance of FindPatternNode # - # source://yarp/lib/yarp/node.rb#4027 + # source://yarp/lib/yarp/node.rb#4755 def initialize(constant, left, requireds, right, opening_loc, closing_loc, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#4038 + # source://yarp/lib/yarp/node.rb#4766 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#4043 + # source://yarp/lib/yarp/node.rb#4771 def child_nodes; end # def closing: () -> String? # - # source://yarp/lib/yarp/node.rb#4079 + # source://yarp/lib/yarp/node.rb#4817 def closing; end # attr_reader closing_loc: Location? # - # source://yarp/lib/yarp/node.rb#4024 + # source://yarp/lib/yarp/node.rb#4752 def closing_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#4048 + # source://yarp/lib/yarp/node.rb#4786 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#4776 + def compact_child_nodes; end + # attr_reader constant: Node? # - # source://yarp/lib/yarp/node.rb#4009 + # source://yarp/lib/yarp/node.rb#4737 def constant; end # def copy: (**params) -> FindPatternNode # - # source://yarp/lib/yarp/node.rb#4053 + # source://yarp/lib/yarp/node.rb#4791 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#4043 + # source://yarp/lib/yarp/node.rb#4771 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#4069 + # source://yarp/lib/yarp/node.rb#4807 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#4083 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#4842 + def human; end + + # source://yarp/lib/yarp/node.rb#4821 def inspect(inspector = T.unsafe(nil)); end # attr_reader left: Node # - # source://yarp/lib/yarp/node.rb#4012 + # source://yarp/lib/yarp/node.rb#4740 def left; end # def opening: () -> String? # - # source://yarp/lib/yarp/node.rb#4074 + # source://yarp/lib/yarp/node.rb#4812 def opening; end # attr_reader opening_loc: Location? # - # source://yarp/lib/yarp/node.rb#4021 + # source://yarp/lib/yarp/node.rb#4749 def opening_loc; end # attr_reader requireds: Array[Node] # - # source://yarp/lib/yarp/node.rb#4015 + # source://yarp/lib/yarp/node.rb#4743 def requireds; end # attr_reader right: Node # - # source://yarp/lib/yarp/node.rb#4018 + # source://yarp/lib/yarp/node.rb#4746 def right; end end @@ -4878,80 +5618,94 @@ end # baz if foo .. bar # ^^^^^^^^^^ # -# source://yarp/lib/yarp/node.rb#4106 +# source://yarp/lib/yarp/node.rb#4851 class YARP::FlipFlopNode < ::YARP::Node # def initialize: (left: Node?, right: Node?, operator_loc: Location, flags: Integer, location: Location) -> void # # @return [FlipFlopNode] a new instance of FlipFlopNode # - # source://yarp/lib/yarp/node.rb#4120 + # source://yarp/lib/yarp/node.rb#4865 def initialize(left, right, operator_loc, flags, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#4129 + # source://yarp/lib/yarp/node.rb#4874 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#4134 + # source://yarp/lib/yarp/node.rb#4879 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#4139 + # source://yarp/lib/yarp/node.rb#4892 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#4884 + def compact_child_nodes; end + # def copy: (**params) -> FlipFlopNode # - # source://yarp/lib/yarp/node.rb#4144 + # source://yarp/lib/yarp/node.rb#4897 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#4134 + # source://yarp/lib/yarp/node.rb#4879 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#4158 + # source://yarp/lib/yarp/node.rb#4911 def deconstruct_keys(keys); end # def exclude_end?: () -> bool # # @return [Boolean] # - # source://yarp/lib/yarp/node.rb#4168 + # source://yarp/lib/yarp/node.rb#4921 def exclude_end?; end - # attr_reader flags: Integer + # Returns a symbol representation of the type of node. # - # source://yarp/lib/yarp/node.rb#4117 - def flags; end + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#4948 + def human; end - # source://yarp/lib/yarp/node.rb#4172 + # source://yarp/lib/yarp/node.rb#4925 def inspect(inspector = T.unsafe(nil)); end # attr_reader left: Node? # - # source://yarp/lib/yarp/node.rb#4108 + # source://yarp/lib/yarp/node.rb#4853 def left; end # def operator: () -> String # - # source://yarp/lib/yarp/node.rb#4163 + # source://yarp/lib/yarp/node.rb#4916 def operator; end # attr_reader operator_loc: Location # - # source://yarp/lib/yarp/node.rb#4114 + # source://yarp/lib/yarp/node.rb#4859 def operator_loc; end # attr_reader right: Node? # - # source://yarp/lib/yarp/node.rb#4111 + # source://yarp/lib/yarp/node.rb#4856 def right; end + + private + + # Returns the value of attribute flags. + # + # source://yarp/lib/yarp/node.rb#4862 + def flags; end end # Represents a floating point number literal. @@ -4959,50 +5713,64 @@ end # 1.0 # ^^^ # -# source://yarp/lib/yarp.rb#392 +# source://yarp/lib/yarp/node.rb#4957 class YARP::FloatNode < ::YARP::Node # def initialize: (location: Location) -> void # # @return [FloatNode] a new instance of FloatNode # - # source://yarp/lib/yarp/node.rb#4198 + # source://yarp/lib/yarp/node.rb#4959 def initialize(location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#4203 + # source://yarp/lib/yarp/node.rb#4964 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#4208 + # source://yarp/lib/yarp/node.rb#4969 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#4213 + # source://yarp/lib/yarp/node.rb#4979 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#4974 + def compact_child_nodes; end + # def copy: (**params) -> FloatNode # - # source://yarp/lib/yarp/node.rb#4218 + # source://yarp/lib/yarp/node.rb#4984 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#4208 + # source://yarp/lib/yarp/node.rb#4969 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#4228 + # source://yarp/lib/yarp/node.rb#4994 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#4232 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#5006 + def human; end + + # source://yarp/lib/yarp/node.rb#4998 def inspect(inspector = T.unsafe(nil)); end - # source://yarp/lib/yarp.rb#393 + # Returns the value of the node as a Ruby Float. + # + # source://yarp/lib/yarp.rb#569 def value; end end @@ -5011,102 +5779,114 @@ end # for i in a end # ^^^^^^^^^^^^^^ # -# source://yarp/lib/yarp/node.rb#4242 +# source://yarp/lib/yarp/node.rb#5015 class YARP::ForNode < ::YARP::Node # def initialize: (index: Node, collection: Node, statements: StatementsNode?, for_keyword_loc: Location, in_keyword_loc: Location, do_keyword_loc: Location?, end_keyword_loc: Location, location: Location) -> void # # @return [ForNode] a new instance of ForNode # - # source://yarp/lib/yarp/node.rb#4265 + # source://yarp/lib/yarp/node.rb#5038 def initialize(index, collection, statements, for_keyword_loc, in_keyword_loc, do_keyword_loc, end_keyword_loc, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#4277 + # source://yarp/lib/yarp/node.rb#5050 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#4282 + # source://yarp/lib/yarp/node.rb#5055 def child_nodes; end # attr_reader collection: Node # - # source://yarp/lib/yarp/node.rb#4247 + # source://yarp/lib/yarp/node.rb#5020 def collection; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#4287 + # source://yarp/lib/yarp/node.rb#5069 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#5060 + def compact_child_nodes; end + # def copy: (**params) -> ForNode # - # source://yarp/lib/yarp/node.rb#4292 + # source://yarp/lib/yarp/node.rb#5074 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#4282 + # source://yarp/lib/yarp/node.rb#5055 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#4309 + # source://yarp/lib/yarp/node.rb#5091 def deconstruct_keys(keys); end # def do_keyword: () -> String? # - # source://yarp/lib/yarp/node.rb#4324 + # source://yarp/lib/yarp/node.rb#5106 def do_keyword; end # attr_reader do_keyword_loc: Location? # - # source://yarp/lib/yarp/node.rb#4259 + # source://yarp/lib/yarp/node.rb#5032 def do_keyword_loc; end # def end_keyword: () -> String # - # source://yarp/lib/yarp/node.rb#4329 + # source://yarp/lib/yarp/node.rb#5111 def end_keyword; end # attr_reader end_keyword_loc: Location # - # source://yarp/lib/yarp/node.rb#4262 + # source://yarp/lib/yarp/node.rb#5035 def end_keyword_loc; end # def for_keyword: () -> String # - # source://yarp/lib/yarp/node.rb#4314 + # source://yarp/lib/yarp/node.rb#5096 def for_keyword; end # attr_reader for_keyword_loc: Location # - # source://yarp/lib/yarp/node.rb#4253 + # source://yarp/lib/yarp/node.rb#5026 def for_keyword_loc; end + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#5137 + def human; end + # def in_keyword: () -> String # - # source://yarp/lib/yarp/node.rb#4319 + # source://yarp/lib/yarp/node.rb#5101 def in_keyword; end # attr_reader in_keyword_loc: Location # - # source://yarp/lib/yarp/node.rb#4256 + # source://yarp/lib/yarp/node.rb#5029 def in_keyword_loc; end # attr_reader index: Node # - # source://yarp/lib/yarp/node.rb#4244 + # source://yarp/lib/yarp/node.rb#5017 def index; end - # source://yarp/lib/yarp/node.rb#4333 + # source://yarp/lib/yarp/node.rb#5115 def inspect(inspector = T.unsafe(nil)); end # attr_reader statements: StatementsNode? # - # source://yarp/lib/yarp/node.rb#4250 + # source://yarp/lib/yarp/node.rb#5023 def statements; end end @@ -5117,47 +5897,59 @@ end # ^^^^^^^^ # end # -# source://yarp/lib/yarp/node.rb#4359 +# source://yarp/lib/yarp/node.rb#5148 class YARP::ForwardingArgumentsNode < ::YARP::Node # def initialize: (location: Location) -> void # # @return [ForwardingArgumentsNode] a new instance of ForwardingArgumentsNode # - # source://yarp/lib/yarp/node.rb#4361 + # source://yarp/lib/yarp/node.rb#5150 def initialize(location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#4366 + # source://yarp/lib/yarp/node.rb#5155 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#4371 + # source://yarp/lib/yarp/node.rb#5160 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#4376 + # source://yarp/lib/yarp/node.rb#5170 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#5165 + def compact_child_nodes; end + # def copy: (**params) -> ForwardingArgumentsNode # - # source://yarp/lib/yarp/node.rb#4381 + # source://yarp/lib/yarp/node.rb#5175 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#4371 + # source://yarp/lib/yarp/node.rb#5160 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#4391 + # source://yarp/lib/yarp/node.rb#5185 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#4395 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#5197 + def human; end + + # source://yarp/lib/yarp/node.rb#5189 def inspect(inspector = T.unsafe(nil)); end end @@ -5167,47 +5959,59 @@ end # ^^^ # end # -# source://yarp/lib/yarp/node.rb#4406 +# source://yarp/lib/yarp/node.rb#5207 class YARP::ForwardingParameterNode < ::YARP::Node # def initialize: (location: Location) -> void # # @return [ForwardingParameterNode] a new instance of ForwardingParameterNode # - # source://yarp/lib/yarp/node.rb#4408 + # source://yarp/lib/yarp/node.rb#5209 def initialize(location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#4413 + # source://yarp/lib/yarp/node.rb#5214 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#4418 + # source://yarp/lib/yarp/node.rb#5219 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#4423 + # source://yarp/lib/yarp/node.rb#5229 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#5224 + def compact_child_nodes; end + # def copy: (**params) -> ForwardingParameterNode # - # source://yarp/lib/yarp/node.rb#4428 + # source://yarp/lib/yarp/node.rb#5234 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#4418 + # source://yarp/lib/yarp/node.rb#5219 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#4438 + # source://yarp/lib/yarp/node.rb#5244 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#4442 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#5256 + def human; end + + # source://yarp/lib/yarp/node.rb#5248 def inspect(inspector = T.unsafe(nil)); end end @@ -5216,52 +6020,64 @@ end # super # ^^^^^ # -# source://yarp/lib/yarp/node.rb#4452 +# source://yarp/lib/yarp/node.rb#5265 class YARP::ForwardingSuperNode < ::YARP::Node # def initialize: (block: BlockNode?, location: Location) -> void # # @return [ForwardingSuperNode] a new instance of ForwardingSuperNode # - # source://yarp/lib/yarp/node.rb#4457 + # source://yarp/lib/yarp/node.rb#5270 def initialize(block, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#4463 + # source://yarp/lib/yarp/node.rb#5276 def accept(visitor); end # attr_reader block: BlockNode? # - # source://yarp/lib/yarp/node.rb#4454 + # source://yarp/lib/yarp/node.rb#5267 def block; end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#4468 + # source://yarp/lib/yarp/node.rb#5281 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#4473 + # source://yarp/lib/yarp/node.rb#5293 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#5286 + def compact_child_nodes; end + # def copy: (**params) -> ForwardingSuperNode # - # source://yarp/lib/yarp/node.rb#4478 + # source://yarp/lib/yarp/node.rb#5298 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#4468 + # source://yarp/lib/yarp/node.rb#5281 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#4489 + # source://yarp/lib/yarp/node.rb#5309 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#4493 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#5327 + def human; end + + # source://yarp/lib/yarp/node.rb#5313 def inspect(inspector = T.unsafe(nil)); end end @@ -5270,72 +6086,84 @@ end # $target &&= value # ^^^^^^^^^^^^^^^^^ # -# source://yarp/lib/yarp/node.rb#4509 +# source://yarp/lib/yarp/node.rb#5336 class YARP::GlobalVariableAndWriteNode < ::YARP::Node # def initialize: (name: Symbol, name_loc: Location, operator_loc: Location, value: Node, location: Location) -> void # # @return [GlobalVariableAndWriteNode] a new instance of GlobalVariableAndWriteNode # - # source://yarp/lib/yarp/node.rb#4523 + # source://yarp/lib/yarp/node.rb#5350 def initialize(name, name_loc, operator_loc, value, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#4532 + # source://yarp/lib/yarp/node.rb#5359 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#4537 + # source://yarp/lib/yarp/node.rb#5364 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#4542 + # source://yarp/lib/yarp/node.rb#5374 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#5369 + def compact_child_nodes; end + # def copy: (**params) -> GlobalVariableAndWriteNode # - # source://yarp/lib/yarp/node.rb#4547 + # source://yarp/lib/yarp/node.rb#5379 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#4537 + # source://yarp/lib/yarp/node.rb#5364 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#4561 + # source://yarp/lib/yarp/node.rb#5393 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#4570 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#5415 + def human; end + + # source://yarp/lib/yarp/node.rb#5402 def inspect(inspector = T.unsafe(nil)); end # attr_reader name: Symbol # - # source://yarp/lib/yarp/node.rb#4511 + # source://yarp/lib/yarp/node.rb#5338 def name; end # attr_reader name_loc: Location # - # source://yarp/lib/yarp/node.rb#4514 + # source://yarp/lib/yarp/node.rb#5341 def name_loc; end # def operator: () -> String # - # source://yarp/lib/yarp/node.rb#4566 + # source://yarp/lib/yarp/node.rb#5398 def operator; end # attr_reader operator_loc: Location # - # source://yarp/lib/yarp/node.rb#4517 + # source://yarp/lib/yarp/node.rb#5344 def operator_loc; end # attr_reader value: Node # - # source://yarp/lib/yarp/node.rb#4520 + # source://yarp/lib/yarp/node.rb#5347 def value; end end @@ -5344,72 +6172,84 @@ end # $target += value # ^^^^^^^^^^^^^^^^ # -# source://yarp/lib/yarp/node.rb#4585 +# source://yarp/lib/yarp/node.rb#5424 class YARP::GlobalVariableOperatorWriteNode < ::YARP::Node # def initialize: (name: Symbol, name_loc: Location, operator_loc: Location, value: Node, operator: Symbol, location: Location) -> void # # @return [GlobalVariableOperatorWriteNode] a new instance of GlobalVariableOperatorWriteNode # - # source://yarp/lib/yarp/node.rb#4602 + # source://yarp/lib/yarp/node.rb#5441 def initialize(name, name_loc, operator_loc, value, operator, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#4612 + # source://yarp/lib/yarp/node.rb#5451 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#4617 + # source://yarp/lib/yarp/node.rb#5456 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#4622 + # source://yarp/lib/yarp/node.rb#5466 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#5461 + def compact_child_nodes; end + # def copy: (**params) -> GlobalVariableOperatorWriteNode # - # source://yarp/lib/yarp/node.rb#4627 + # source://yarp/lib/yarp/node.rb#5471 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#4617 + # source://yarp/lib/yarp/node.rb#5456 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#4642 + # source://yarp/lib/yarp/node.rb#5486 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#4646 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#5504 + def human; end + + # source://yarp/lib/yarp/node.rb#5490 def inspect(inspector = T.unsafe(nil)); end # attr_reader name: Symbol # - # source://yarp/lib/yarp/node.rb#4587 + # source://yarp/lib/yarp/node.rb#5426 def name; end # attr_reader name_loc: Location # - # source://yarp/lib/yarp/node.rb#4590 + # source://yarp/lib/yarp/node.rb#5429 def name_loc; end # attr_reader operator: Symbol # - # source://yarp/lib/yarp/node.rb#4599 + # source://yarp/lib/yarp/node.rb#5438 def operator; end # attr_reader operator_loc: Location # - # source://yarp/lib/yarp/node.rb#4593 + # source://yarp/lib/yarp/node.rb#5432 def operator_loc; end # attr_reader value: Node # - # source://yarp/lib/yarp/node.rb#4596 + # source://yarp/lib/yarp/node.rb#5435 def value; end end @@ -5418,72 +6258,84 @@ end # $target ||= value # ^^^^^^^^^^^^^^^^^ # -# source://yarp/lib/yarp/node.rb#4662 +# source://yarp/lib/yarp/node.rb#5513 class YARP::GlobalVariableOrWriteNode < ::YARP::Node # def initialize: (name: Symbol, name_loc: Location, operator_loc: Location, value: Node, location: Location) -> void # # @return [GlobalVariableOrWriteNode] a new instance of GlobalVariableOrWriteNode # - # source://yarp/lib/yarp/node.rb#4676 + # source://yarp/lib/yarp/node.rb#5527 def initialize(name, name_loc, operator_loc, value, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#4685 + # source://yarp/lib/yarp/node.rb#5536 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#4690 + # source://yarp/lib/yarp/node.rb#5541 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#4695 + # source://yarp/lib/yarp/node.rb#5551 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#5546 + def compact_child_nodes; end + # def copy: (**params) -> GlobalVariableOrWriteNode # - # source://yarp/lib/yarp/node.rb#4700 + # source://yarp/lib/yarp/node.rb#5556 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#4690 + # source://yarp/lib/yarp/node.rb#5541 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#4714 + # source://yarp/lib/yarp/node.rb#5570 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#4723 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#5592 + def human; end + + # source://yarp/lib/yarp/node.rb#5579 def inspect(inspector = T.unsafe(nil)); end # attr_reader name: Symbol # - # source://yarp/lib/yarp/node.rb#4664 + # source://yarp/lib/yarp/node.rb#5515 def name; end # attr_reader name_loc: Location # - # source://yarp/lib/yarp/node.rb#4667 + # source://yarp/lib/yarp/node.rb#5518 def name_loc; end # def operator: () -> String # - # source://yarp/lib/yarp/node.rb#4719 + # source://yarp/lib/yarp/node.rb#5575 def operator; end # attr_reader operator_loc: Location # - # source://yarp/lib/yarp/node.rb#4670 + # source://yarp/lib/yarp/node.rb#5521 def operator_loc; end # attr_reader value: Node # - # source://yarp/lib/yarp/node.rb#4673 + # source://yarp/lib/yarp/node.rb#5524 def value; end end @@ -5492,52 +6344,64 @@ end # $foo # ^^^^ # -# source://yarp/lib/yarp/node.rb#4738 +# source://yarp/lib/yarp/node.rb#5601 class YARP::GlobalVariableReadNode < ::YARP::Node # def initialize: (name: Symbol, location: Location) -> void # # @return [GlobalVariableReadNode] a new instance of GlobalVariableReadNode # - # source://yarp/lib/yarp/node.rb#4743 + # source://yarp/lib/yarp/node.rb#5606 def initialize(name, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#4749 + # source://yarp/lib/yarp/node.rb#5612 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#4754 + # source://yarp/lib/yarp/node.rb#5617 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#4759 + # source://yarp/lib/yarp/node.rb#5627 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#5622 + def compact_child_nodes; end + # def copy: (**params) -> GlobalVariableReadNode # - # source://yarp/lib/yarp/node.rb#4764 + # source://yarp/lib/yarp/node.rb#5632 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#4754 + # source://yarp/lib/yarp/node.rb#5617 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#4775 + # source://yarp/lib/yarp/node.rb#5643 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#4779 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#5656 + def human; end + + # source://yarp/lib/yarp/node.rb#5647 def inspect(inspector = T.unsafe(nil)); end # attr_reader name: Symbol # - # source://yarp/lib/yarp/node.rb#4740 + # source://yarp/lib/yarp/node.rb#5603 def name; end end @@ -5546,52 +6410,64 @@ end # $foo, $bar = baz # ^^^^ ^^^^ # -# source://yarp/lib/yarp/node.rb#4790 +# source://yarp/lib/yarp/node.rb#5665 class YARP::GlobalVariableTargetNode < ::YARP::Node # def initialize: (name: Symbol, location: Location) -> void # # @return [GlobalVariableTargetNode] a new instance of GlobalVariableTargetNode # - # source://yarp/lib/yarp/node.rb#4795 + # source://yarp/lib/yarp/node.rb#5670 def initialize(name, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#4801 + # source://yarp/lib/yarp/node.rb#5676 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#4806 + # source://yarp/lib/yarp/node.rb#5681 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#4811 + # source://yarp/lib/yarp/node.rb#5691 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#5686 + def compact_child_nodes; end + # def copy: (**params) -> GlobalVariableTargetNode # - # source://yarp/lib/yarp/node.rb#4816 + # source://yarp/lib/yarp/node.rb#5696 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#4806 + # source://yarp/lib/yarp/node.rb#5681 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#4827 + # source://yarp/lib/yarp/node.rb#5707 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#4831 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#5720 + def human; end + + # source://yarp/lib/yarp/node.rb#5711 def inspect(inspector = T.unsafe(nil)); end # attr_reader name: Symbol # - # source://yarp/lib/yarp/node.rb#4792 + # source://yarp/lib/yarp/node.rb#5667 def name; end end @@ -5600,72 +6476,84 @@ end # $foo = 1 # ^^^^^^^^ # -# source://yarp/lib/yarp/node.rb#4842 +# source://yarp/lib/yarp/node.rb#5729 class YARP::GlobalVariableWriteNode < ::YARP::Node # def initialize: (name: Symbol, name_loc: Location, value: Node, operator_loc: Location, location: Location) -> void # # @return [GlobalVariableWriteNode] a new instance of GlobalVariableWriteNode # - # source://yarp/lib/yarp/node.rb#4856 + # source://yarp/lib/yarp/node.rb#5743 def initialize(name, name_loc, value, operator_loc, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#4865 + # source://yarp/lib/yarp/node.rb#5752 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#4870 + # source://yarp/lib/yarp/node.rb#5757 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#4875 + # source://yarp/lib/yarp/node.rb#5767 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#5762 + def compact_child_nodes; end + # def copy: (**params) -> GlobalVariableWriteNode # - # source://yarp/lib/yarp/node.rb#4880 + # source://yarp/lib/yarp/node.rb#5772 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#4870 + # source://yarp/lib/yarp/node.rb#5757 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#4894 + # source://yarp/lib/yarp/node.rb#5786 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#4903 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#5808 + def human; end + + # source://yarp/lib/yarp/node.rb#5795 def inspect(inspector = T.unsafe(nil)); end # attr_reader name: Symbol # - # source://yarp/lib/yarp/node.rb#4844 + # source://yarp/lib/yarp/node.rb#5731 def name; end # attr_reader name_loc: Location # - # source://yarp/lib/yarp/node.rb#4847 + # source://yarp/lib/yarp/node.rb#5734 def name_loc; end # def operator: () -> String # - # source://yarp/lib/yarp/node.rb#4899 + # source://yarp/lib/yarp/node.rb#5791 def operator; end # attr_reader operator_loc: Location # - # source://yarp/lib/yarp/node.rb#4853 + # source://yarp/lib/yarp/node.rb#5740 def operator_loc; end # attr_reader value: Node # - # source://yarp/lib/yarp/node.rb#4850 + # source://yarp/lib/yarp/node.rb#5737 def value; end end @@ -5674,72 +6562,84 @@ end # { a => b } # ^^^^^^^^^^ # -# source://yarp/lib/yarp/node.rb#4918 +# source://yarp/lib/yarp/node.rb#5817 class YARP::HashNode < ::YARP::Node # def initialize: (opening_loc: Location, elements: Array[Node], closing_loc: Location, location: Location) -> void # # @return [HashNode] a new instance of HashNode # - # source://yarp/lib/yarp/node.rb#4929 + # source://yarp/lib/yarp/node.rb#5828 def initialize(opening_loc, elements, closing_loc, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#4937 + # source://yarp/lib/yarp/node.rb#5836 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#4942 + # source://yarp/lib/yarp/node.rb#5841 def child_nodes; end # def closing: () -> String # - # source://yarp/lib/yarp/node.rb#4975 + # source://yarp/lib/yarp/node.rb#5879 def closing; end # attr_reader closing_loc: Location # - # source://yarp/lib/yarp/node.rb#4926 + # source://yarp/lib/yarp/node.rb#5825 def closing_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#4947 + # source://yarp/lib/yarp/node.rb#5851 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#5846 + def compact_child_nodes; end + # def copy: (**params) -> HashNode # - # source://yarp/lib/yarp/node.rb#4952 + # source://yarp/lib/yarp/node.rb#5856 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#4942 + # source://yarp/lib/yarp/node.rb#5841 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#4965 + # source://yarp/lib/yarp/node.rb#5869 def deconstruct_keys(keys); end # attr_reader elements: Array[Node] # - # source://yarp/lib/yarp/node.rb#4923 + # source://yarp/lib/yarp/node.rb#5822 def elements; end - # source://yarp/lib/yarp/node.rb#4979 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#5894 + def human; end + + # source://yarp/lib/yarp/node.rb#5883 def inspect(inspector = T.unsafe(nil)); end # def opening: () -> String # - # source://yarp/lib/yarp/node.rb#4970 + # source://yarp/lib/yarp/node.rb#5874 def opening; end # attr_reader opening_loc: Location # - # source://yarp/lib/yarp/node.rb#4920 + # source://yarp/lib/yarp/node.rb#5819 def opening_loc; end end @@ -5751,82 +6651,94 @@ end # foo => { a: 1, b: 2, **c } # ^^^^^^^^^^^^^^^^^^^ # -# source://yarp/lib/yarp/node.rb#4995 +# source://yarp/lib/yarp/node.rb#5906 class YARP::HashPatternNode < ::YARP::Node # def initialize: (constant: Node?, assocs: Array[Node], kwrest: Node?, opening_loc: Location?, closing_loc: Location?, location: Location) -> void # # @return [HashPatternNode] a new instance of HashPatternNode # - # source://yarp/lib/yarp/node.rb#5012 + # source://yarp/lib/yarp/node.rb#5923 def initialize(constant, assocs, kwrest, opening_loc, closing_loc, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#5022 + # source://yarp/lib/yarp/node.rb#5933 def accept(visitor); end # attr_reader assocs: Array[Node] # - # source://yarp/lib/yarp/node.rb#5000 + # source://yarp/lib/yarp/node.rb#5911 def assocs; end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#5027 + # source://yarp/lib/yarp/node.rb#5938 def child_nodes; end # def closing: () -> String? # - # source://yarp/lib/yarp/node.rb#5062 + # source://yarp/lib/yarp/node.rb#5982 def closing; end # attr_reader closing_loc: Location? # - # source://yarp/lib/yarp/node.rb#5009 + # source://yarp/lib/yarp/node.rb#5920 def closing_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#5032 + # source://yarp/lib/yarp/node.rb#5952 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#5943 + def compact_child_nodes; end + # attr_reader constant: Node? # - # source://yarp/lib/yarp/node.rb#4997 + # source://yarp/lib/yarp/node.rb#5908 def constant; end # def copy: (**params) -> HashPatternNode # - # source://yarp/lib/yarp/node.rb#5037 + # source://yarp/lib/yarp/node.rb#5957 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#5027 + # source://yarp/lib/yarp/node.rb#5938 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#5052 + # source://yarp/lib/yarp/node.rb#5972 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#5066 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#6009 + def human; end + + # source://yarp/lib/yarp/node.rb#5986 def inspect(inspector = T.unsafe(nil)); end # attr_reader kwrest: Node? # - # source://yarp/lib/yarp/node.rb#5003 + # source://yarp/lib/yarp/node.rb#5914 def kwrest; end # def opening: () -> String? # - # source://yarp/lib/yarp/node.rb#5057 + # source://yarp/lib/yarp/node.rb#5977 def opening; end # attr_reader opening_loc: Location? # - # source://yarp/lib/yarp/node.rb#5006 + # source://yarp/lib/yarp/node.rb#5917 def opening_loc; end end @@ -5838,85 +6750,97 @@ end # if foo then bar end # ^^^^^^^^^^^^^^^^^^^ # -# source://yarp/lib/yarp/node.rb#5094 +# source://yarp/lib/yarp/node.rb#6021 class YARP::IfNode < ::YARP::Node # def initialize: (if_keyword_loc: Location?, predicate: Node, statements: StatementsNode?, consequent: Node?, end_keyword_loc: Location?, location: Location) -> void # # @return [IfNode] a new instance of IfNode # - # source://yarp/lib/yarp/node.rb#5111 + # source://yarp/lib/yarp/node.rb#6038 def initialize(if_keyword_loc, predicate, statements, consequent, end_keyword_loc, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#5121 + # source://yarp/lib/yarp/node.rb#6048 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#5130 + # source://yarp/lib/yarp/node.rb#6057 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#5135 + # source://yarp/lib/yarp/node.rb#6071 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#6062 + def compact_child_nodes; end + # attr_reader consequent: Node? # - # source://yarp/lib/yarp/node.rb#5105 + # source://yarp/lib/yarp/node.rb#6032 def consequent; end # def copy: (**params) -> IfNode # - # source://yarp/lib/yarp/node.rb#5140 + # source://yarp/lib/yarp/node.rb#6076 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#5130 + # source://yarp/lib/yarp/node.rb#6057 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#5155 + # source://yarp/lib/yarp/node.rb#6091 def deconstruct_keys(keys); end # def end_keyword: () -> String? # - # source://yarp/lib/yarp/node.rb#5165 + # source://yarp/lib/yarp/node.rb#6101 def end_keyword; end # attr_reader end_keyword_loc: Location? # - # source://yarp/lib/yarp/node.rb#5108 + # source://yarp/lib/yarp/node.rb#6035 def end_keyword_loc; end + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#6129 + def human; end + # def if_keyword: () -> String? # - # source://yarp/lib/yarp/node.rb#5160 + # source://yarp/lib/yarp/node.rb#6096 def if_keyword; end # attr_reader if_keyword_loc: Location? # - # source://yarp/lib/yarp/node.rb#5096 + # source://yarp/lib/yarp/node.rb#6023 def if_keyword_loc; end - # source://yarp/lib/yarp/node.rb#5169 + # source://yarp/lib/yarp/node.rb#6105 def inspect(inspector = T.unsafe(nil)); end # attr_reader predicate: Node # - # source://yarp/lib/yarp/node.rb#5099 + # source://yarp/lib/yarp/node.rb#6026 def predicate; end - # source://yarp/lib/yarp/node.rb#5125 + # source://yarp/lib/yarp/node.rb#6052 def set_newline_flag(newline_marked); end # attr_reader statements: StatementsNode? # - # source://yarp/lib/yarp/node.rb#5102 + # source://yarp/lib/yarp/node.rb#6029 def statements; end end @@ -5925,134 +6849,230 @@ end # 1.0i # ^^^^ # -# source://yarp/lib/yarp.rb#398 +# source://yarp/lib/yarp/node.rb#6138 class YARP::ImaginaryNode < ::YARP::Node # def initialize: (numeric: Node, location: Location) -> void # # @return [ImaginaryNode] a new instance of ImaginaryNode # - # source://yarp/lib/yarp/node.rb#5200 + # source://yarp/lib/yarp/node.rb#6143 def initialize(numeric, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#5206 + # source://yarp/lib/yarp/node.rb#6149 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#5211 + # source://yarp/lib/yarp/node.rb#6154 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#5216 + # source://yarp/lib/yarp/node.rb#6164 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#6159 + def compact_child_nodes; end + # def copy: (**params) -> ImaginaryNode # - # source://yarp/lib/yarp/node.rb#5221 + # source://yarp/lib/yarp/node.rb#6169 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#5211 + # source://yarp/lib/yarp/node.rb#6154 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#5232 + # source://yarp/lib/yarp/node.rb#6180 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#5236 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#6194 + def human; end + + # source://yarp/lib/yarp/node.rb#6184 def inspect(inspector = T.unsafe(nil)); end # attr_reader numeric: Node # - # source://yarp/lib/yarp/node.rb#5197 + # source://yarp/lib/yarp/node.rb#6140 def numeric; end - # source://yarp/lib/yarp.rb#399 + # Returns the value of the node as a Ruby Complex. + # + # source://yarp/lib/yarp.rb#576 def value; end end -# Represents the use of the `in` keyword in a case statement. +# Represents a node that is implicitly being added to the tree but doesn't +# correspond directly to a node in the source. # -# case a; in b then c end -# ^^^^^^^^^^^ +# { foo: } +# ^^^^ # -# source://yarp/lib/yarp/node.rb#5248 -class YARP::InNode < ::YARP::Node - # def initialize: (pattern: Node, statements: StatementsNode?, in_loc: Location, then_loc: Location?, location: Location) -> void +# { Foo: } +# ^^^^ +# +# source://yarp/lib/yarp/node.rb#6207 +class YARP::ImplicitNode < ::YARP::Node + # def initialize: (value: Node, location: Location) -> void # - # @return [InNode] a new instance of InNode + # @return [ImplicitNode] a new instance of ImplicitNode # - # source://yarp/lib/yarp/node.rb#5262 - def initialize(pattern, statements, in_loc, then_loc, location); end + # source://yarp/lib/yarp/node.rb#6212 + def initialize(value, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#5271 + # source://yarp/lib/yarp/node.rb#6218 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#5276 + # source://yarp/lib/yarp/node.rb#6223 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#5281 + # source://yarp/lib/yarp/node.rb#6233 def comment_targets; end - # def copy: (**params) -> InNode + # def compact_child_nodes: () -> Array[Node] # - # source://yarp/lib/yarp/node.rb#5286 + # source://yarp/lib/yarp/node.rb#6228 + def compact_child_nodes; end + + # def copy: (**params) -> ImplicitNode + # + # source://yarp/lib/yarp/node.rb#6238 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#5276 + # source://yarp/lib/yarp/node.rb#6223 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#5300 + # source://yarp/lib/yarp/node.rb#6249 def deconstruct_keys(keys); end - # def in: () -> String + # Returns a symbol representation of the type of node. # - # source://yarp/lib/yarp/node.rb#5305 - def in; end + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#6263 + def human; end + + # source://yarp/lib/yarp/node.rb#6253 + def inspect(inspector = T.unsafe(nil)); end + + # attr_reader value: Node + # + # source://yarp/lib/yarp/node.rb#6209 + def value; end +end + +# Represents the use of the `in` keyword in a case statement. +# +# case a; in b then c end +# ^^^^^^^^^^^ +# +# source://yarp/lib/yarp/node.rb#6272 +class YARP::InNode < ::YARP::Node + # def initialize: (pattern: Node, statements: StatementsNode?, in_loc: Location, then_loc: Location?, location: Location) -> void + # + # @return [InNode] a new instance of InNode + # + # source://yarp/lib/yarp/node.rb#6286 + def initialize(pattern, statements, in_loc, then_loc, location); end + + # def accept: (visitor: Visitor) -> void + # + # source://yarp/lib/yarp/node.rb#6295 + def accept(visitor); end + + # def child_nodes: () -> Array[nil | Node] + # + # source://yarp/lib/yarp/node.rb#6300 + def child_nodes; end + + # def comment_targets: () -> Array[Node | Location] + # + # source://yarp/lib/yarp/node.rb#6313 + def comment_targets; end + + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#6305 + def compact_child_nodes; end + + # def copy: (**params) -> InNode + # + # source://yarp/lib/yarp/node.rb#6318 + def copy(**params); end + + # def child_nodes: () -> Array[nil | Node] + # def deconstruct: () -> Array[nil | Node] + # + # source://yarp/lib/yarp/node.rb#6300 + def deconstruct; end + + # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] + # + # source://yarp/lib/yarp/node.rb#6332 + def deconstruct_keys(keys); end + + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#6364 + def human; end + + # def in: () -> String + # + # source://yarp/lib/yarp/node.rb#6337 + def in; end # attr_reader in_loc: Location # - # source://yarp/lib/yarp/node.rb#5256 + # source://yarp/lib/yarp/node.rb#6280 def in_loc; end - # source://yarp/lib/yarp/node.rb#5314 + # source://yarp/lib/yarp/node.rb#6346 def inspect(inspector = T.unsafe(nil)); end # attr_reader pattern: Node # - # source://yarp/lib/yarp/node.rb#5250 + # source://yarp/lib/yarp/node.rb#6274 def pattern; end # attr_reader statements: StatementsNode? # - # source://yarp/lib/yarp/node.rb#5253 + # source://yarp/lib/yarp/node.rb#6277 def statements; end # def then: () -> String? # - # source://yarp/lib/yarp/node.rb#5310 + # source://yarp/lib/yarp/node.rb#6342 def then; end # attr_reader then_loc: Location? # - # source://yarp/lib/yarp/node.rb#5259 + # source://yarp/lib/yarp/node.rb#6283 def then_loc; end end @@ -6061,72 +7081,84 @@ end # @target &&= value # ^^^^^^^^^^^^^^^^^ # -# source://yarp/lib/yarp/node.rb#5334 +# source://yarp/lib/yarp/node.rb#6373 class YARP::InstanceVariableAndWriteNode < ::YARP::Node # def initialize: (name: Symbol, name_loc: Location, operator_loc: Location, value: Node, location: Location) -> void # # @return [InstanceVariableAndWriteNode] a new instance of InstanceVariableAndWriteNode # - # source://yarp/lib/yarp/node.rb#5348 + # source://yarp/lib/yarp/node.rb#6387 def initialize(name, name_loc, operator_loc, value, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#5357 + # source://yarp/lib/yarp/node.rb#6396 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#5362 + # source://yarp/lib/yarp/node.rb#6401 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#5367 + # source://yarp/lib/yarp/node.rb#6411 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#6406 + def compact_child_nodes; end + # def copy: (**params) -> InstanceVariableAndWriteNode # - # source://yarp/lib/yarp/node.rb#5372 + # source://yarp/lib/yarp/node.rb#6416 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#5362 + # source://yarp/lib/yarp/node.rb#6401 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#5386 + # source://yarp/lib/yarp/node.rb#6430 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#5395 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#6452 + def human; end + + # source://yarp/lib/yarp/node.rb#6439 def inspect(inspector = T.unsafe(nil)); end # attr_reader name: Symbol # - # source://yarp/lib/yarp/node.rb#5336 + # source://yarp/lib/yarp/node.rb#6375 def name; end # attr_reader name_loc: Location # - # source://yarp/lib/yarp/node.rb#5339 + # source://yarp/lib/yarp/node.rb#6378 def name_loc; end # def operator: () -> String # - # source://yarp/lib/yarp/node.rb#5391 + # source://yarp/lib/yarp/node.rb#6435 def operator; end # attr_reader operator_loc: Location # - # source://yarp/lib/yarp/node.rb#5342 + # source://yarp/lib/yarp/node.rb#6381 def operator_loc; end # attr_reader value: Node # - # source://yarp/lib/yarp/node.rb#5345 + # source://yarp/lib/yarp/node.rb#6384 def value; end end @@ -6135,72 +7167,84 @@ end # @target += value # ^^^^^^^^^^^^^^^^ # -# source://yarp/lib/yarp/node.rb#5410 +# source://yarp/lib/yarp/node.rb#6461 class YARP::InstanceVariableOperatorWriteNode < ::YARP::Node # def initialize: (name: Symbol, name_loc: Location, operator_loc: Location, value: Node, operator: Symbol, location: Location) -> void # # @return [InstanceVariableOperatorWriteNode] a new instance of InstanceVariableOperatorWriteNode # - # source://yarp/lib/yarp/node.rb#5427 + # source://yarp/lib/yarp/node.rb#6478 def initialize(name, name_loc, operator_loc, value, operator, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#5437 + # source://yarp/lib/yarp/node.rb#6488 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#5442 + # source://yarp/lib/yarp/node.rb#6493 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#5447 + # source://yarp/lib/yarp/node.rb#6503 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#6498 + def compact_child_nodes; end + # def copy: (**params) -> InstanceVariableOperatorWriteNode # - # source://yarp/lib/yarp/node.rb#5452 + # source://yarp/lib/yarp/node.rb#6508 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#5442 + # source://yarp/lib/yarp/node.rb#6493 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#5467 + # source://yarp/lib/yarp/node.rb#6523 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#5471 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#6541 + def human; end + + # source://yarp/lib/yarp/node.rb#6527 def inspect(inspector = T.unsafe(nil)); end # attr_reader name: Symbol # - # source://yarp/lib/yarp/node.rb#5412 + # source://yarp/lib/yarp/node.rb#6463 def name; end # attr_reader name_loc: Location # - # source://yarp/lib/yarp/node.rb#5415 + # source://yarp/lib/yarp/node.rb#6466 def name_loc; end # attr_reader operator: Symbol # - # source://yarp/lib/yarp/node.rb#5424 + # source://yarp/lib/yarp/node.rb#6475 def operator; end # attr_reader operator_loc: Location # - # source://yarp/lib/yarp/node.rb#5418 + # source://yarp/lib/yarp/node.rb#6469 def operator_loc; end # attr_reader value: Node # - # source://yarp/lib/yarp/node.rb#5421 + # source://yarp/lib/yarp/node.rb#6472 def value; end end @@ -6209,72 +7253,84 @@ end # @target ||= value # ^^^^^^^^^^^^^^^^^ # -# source://yarp/lib/yarp/node.rb#5487 +# source://yarp/lib/yarp/node.rb#6550 class YARP::InstanceVariableOrWriteNode < ::YARP::Node # def initialize: (name: Symbol, name_loc: Location, operator_loc: Location, value: Node, location: Location) -> void # # @return [InstanceVariableOrWriteNode] a new instance of InstanceVariableOrWriteNode # - # source://yarp/lib/yarp/node.rb#5501 + # source://yarp/lib/yarp/node.rb#6564 def initialize(name, name_loc, operator_loc, value, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#5510 + # source://yarp/lib/yarp/node.rb#6573 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#5515 + # source://yarp/lib/yarp/node.rb#6578 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#5520 + # source://yarp/lib/yarp/node.rb#6588 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#6583 + def compact_child_nodes; end + # def copy: (**params) -> InstanceVariableOrWriteNode # - # source://yarp/lib/yarp/node.rb#5525 + # source://yarp/lib/yarp/node.rb#6593 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#5515 + # source://yarp/lib/yarp/node.rb#6578 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#5539 + # source://yarp/lib/yarp/node.rb#6607 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#5548 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#6629 + def human; end + + # source://yarp/lib/yarp/node.rb#6616 def inspect(inspector = T.unsafe(nil)); end # attr_reader name: Symbol # - # source://yarp/lib/yarp/node.rb#5489 + # source://yarp/lib/yarp/node.rb#6552 def name; end # attr_reader name_loc: Location # - # source://yarp/lib/yarp/node.rb#5492 + # source://yarp/lib/yarp/node.rb#6555 def name_loc; end # def operator: () -> String # - # source://yarp/lib/yarp/node.rb#5544 + # source://yarp/lib/yarp/node.rb#6612 def operator; end # attr_reader operator_loc: Location # - # source://yarp/lib/yarp/node.rb#5495 + # source://yarp/lib/yarp/node.rb#6558 def operator_loc; end # attr_reader value: Node # - # source://yarp/lib/yarp/node.rb#5498 + # source://yarp/lib/yarp/node.rb#6561 def value; end end @@ -6283,52 +7339,64 @@ end # @foo # ^^^^ # -# source://yarp/lib/yarp/node.rb#5563 +# source://yarp/lib/yarp/node.rb#6638 class YARP::InstanceVariableReadNode < ::YARP::Node # def initialize: (name: Symbol, location: Location) -> void # # @return [InstanceVariableReadNode] a new instance of InstanceVariableReadNode # - # source://yarp/lib/yarp/node.rb#5568 + # source://yarp/lib/yarp/node.rb#6643 def initialize(name, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#5574 + # source://yarp/lib/yarp/node.rb#6649 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#5579 + # source://yarp/lib/yarp/node.rb#6654 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#5584 + # source://yarp/lib/yarp/node.rb#6664 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#6659 + def compact_child_nodes; end + # def copy: (**params) -> InstanceVariableReadNode # - # source://yarp/lib/yarp/node.rb#5589 + # source://yarp/lib/yarp/node.rb#6669 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#5579 + # source://yarp/lib/yarp/node.rb#6654 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#5600 + # source://yarp/lib/yarp/node.rb#6680 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#5604 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#6693 + def human; end + + # source://yarp/lib/yarp/node.rb#6684 def inspect(inspector = T.unsafe(nil)); end # attr_reader name: Symbol # - # source://yarp/lib/yarp/node.rb#5565 + # source://yarp/lib/yarp/node.rb#6640 def name; end end @@ -6337,52 +7405,64 @@ end # @foo, @bar = baz # ^^^^ ^^^^ # -# source://yarp/lib/yarp/node.rb#5615 +# source://yarp/lib/yarp/node.rb#6702 class YARP::InstanceVariableTargetNode < ::YARP::Node # def initialize: (name: Symbol, location: Location) -> void # # @return [InstanceVariableTargetNode] a new instance of InstanceVariableTargetNode # - # source://yarp/lib/yarp/node.rb#5620 + # source://yarp/lib/yarp/node.rb#6707 def initialize(name, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#5626 + # source://yarp/lib/yarp/node.rb#6713 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#5631 + # source://yarp/lib/yarp/node.rb#6718 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#5636 + # source://yarp/lib/yarp/node.rb#6728 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#6723 + def compact_child_nodes; end + # def copy: (**params) -> InstanceVariableTargetNode # - # source://yarp/lib/yarp/node.rb#5641 + # source://yarp/lib/yarp/node.rb#6733 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#5631 + # source://yarp/lib/yarp/node.rb#6718 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#5652 + # source://yarp/lib/yarp/node.rb#6744 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#5656 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#6757 + def human; end + + # source://yarp/lib/yarp/node.rb#6748 def inspect(inspector = T.unsafe(nil)); end # attr_reader name: Symbol # - # source://yarp/lib/yarp/node.rb#5617 + # source://yarp/lib/yarp/node.rb#6704 def name; end end @@ -6391,125 +7471,363 @@ end # @foo = 1 # ^^^^^^^^ # -# source://yarp/lib/yarp/node.rb#5667 +# source://yarp/lib/yarp/node.rb#6766 class YARP::InstanceVariableWriteNode < ::YARP::Node # def initialize: (name: Symbol, name_loc: Location, value: Node, operator_loc: Location, location: Location) -> void # # @return [InstanceVariableWriteNode] a new instance of InstanceVariableWriteNode # - # source://yarp/lib/yarp/node.rb#5681 + # source://yarp/lib/yarp/node.rb#6780 def initialize(name, name_loc, value, operator_loc, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#5690 + # source://yarp/lib/yarp/node.rb#6789 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#5695 + # source://yarp/lib/yarp/node.rb#6794 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#5700 + # source://yarp/lib/yarp/node.rb#6804 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#6799 + def compact_child_nodes; end + # def copy: (**params) -> InstanceVariableWriteNode # - # source://yarp/lib/yarp/node.rb#5705 + # source://yarp/lib/yarp/node.rb#6809 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#5695 + # source://yarp/lib/yarp/node.rb#6794 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#5719 + # source://yarp/lib/yarp/node.rb#6823 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#5728 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#6845 + def human; end + + # source://yarp/lib/yarp/node.rb#6832 def inspect(inspector = T.unsafe(nil)); end # attr_reader name: Symbol # - # source://yarp/lib/yarp/node.rb#5669 + # source://yarp/lib/yarp/node.rb#6768 def name; end # attr_reader name_loc: Location # - # source://yarp/lib/yarp/node.rb#5672 + # source://yarp/lib/yarp/node.rb#6771 def name_loc; end # def operator: () -> String # - # source://yarp/lib/yarp/node.rb#5724 + # source://yarp/lib/yarp/node.rb#6828 def operator; end # attr_reader operator_loc: Location # - # source://yarp/lib/yarp/node.rb#5678 + # source://yarp/lib/yarp/node.rb#6777 def operator_loc; end # attr_reader value: Node # - # source://yarp/lib/yarp/node.rb#5675 + # source://yarp/lib/yarp/node.rb#6774 def value; end end +# source://yarp/lib/yarp/node.rb#12903 +module YARP::IntegerBaseFlags; end + +# 0b prefix +# +# source://yarp/lib/yarp/node.rb#12905 +YARP::IntegerBaseFlags::BINARY = T.let(T.unsafe(nil), Integer) + +# 0d or no prefix +# +# source://yarp/lib/yarp/node.rb#12911 +YARP::IntegerBaseFlags::DECIMAL = T.let(T.unsafe(nil), Integer) + +# 0x prefix +# +# source://yarp/lib/yarp/node.rb#12914 +YARP::IntegerBaseFlags::HEXADECIMAL = T.let(T.unsafe(nil), Integer) + +# 0o or 0 prefix +# +# source://yarp/lib/yarp/node.rb#12908 +YARP::IntegerBaseFlags::OCTAL = T.let(T.unsafe(nil), Integer) + # Represents an integer number literal. # # 1 # ^ # -# source://yarp/lib/yarp.rb#404 +# source://yarp/lib/yarp/node.rb#6854 class YARP::IntegerNode < ::YARP::Node - # def initialize: (location: Location) -> void + # def initialize: (flags: Integer, location: Location) -> void # # @return [IntegerNode] a new instance of IntegerNode # - # source://yarp/lib/yarp/node.rb#5745 - def initialize(location); end + # source://yarp/lib/yarp/node.rb#6859 + def initialize(flags, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#5750 + # source://yarp/lib/yarp/node.rb#6865 def accept(visitor); end + # def binary?: () -> bool + # + # @return [Boolean] + # + # source://yarp/lib/yarp/node.rb#6901 + def binary?; end + # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#5755 + # source://yarp/lib/yarp/node.rb#6870 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#5760 + # source://yarp/lib/yarp/node.rb#6880 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#6875 + def compact_child_nodes; end + # def copy: (**params) -> IntegerNode # - # source://yarp/lib/yarp/node.rb#5765 + # source://yarp/lib/yarp/node.rb#6885 def copy(**params); end + # def decimal?: () -> bool + # + # @return [Boolean] + # + # source://yarp/lib/yarp/node.rb#6911 + def decimal?; end + # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#5755 + # source://yarp/lib/yarp/node.rb#6870 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#5775 + # source://yarp/lib/yarp/node.rb#6896 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#5779 + # def hexadecimal?: () -> bool + # + # @return [Boolean] + # + # source://yarp/lib/yarp/node.rb#6916 + def hexadecimal?; end + + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#6930 + def human; end + + # source://yarp/lib/yarp/node.rb#6920 def inspect(inspector = T.unsafe(nil)); end - # source://yarp/lib/yarp.rb#405 + # def octal?: () -> bool + # + # @return [Boolean] + # + # source://yarp/lib/yarp/node.rb#6906 + def octal?; end + + # Returns the value of the node as a Ruby Integer. + # + # source://yarp/lib/yarp.rb#583 def value; end + + private + + # Returns the value of attribute flags. + # + # source://yarp/lib/yarp/node.rb#6856 + def flags; end +end + +# Represents a regular expression literal that contains interpolation that +# is being used in the predicate of a conditional to implicitly match +# against the last line read by an IO object. +# +# if /foo #{bar} baz/ then end +# ^^^^^^^^^^^^^^^^ +# +# source://yarp/lib/yarp/node.rb#6941 +class YARP::InterpolatedMatchLastLineNode < ::YARP::Node + # def initialize: (opening_loc: Location, parts: Array[Node], closing_loc: Location, flags: Integer, location: Location) -> void + # + # @return [InterpolatedMatchLastLineNode] a new instance of InterpolatedMatchLastLineNode + # + # source://yarp/lib/yarp/node.rb#6955 + def initialize(opening_loc, parts, closing_loc, flags, location); end + + # def accept: (visitor: Visitor) -> void + # + # source://yarp/lib/yarp/node.rb#6964 + def accept(visitor); end + + # def ascii_8bit?: () -> bool + # + # @return [Boolean] + # + # source://yarp/lib/yarp/node.rb#7038 + def ascii_8bit?; end + + # def child_nodes: () -> Array[nil | Node] + # + # source://yarp/lib/yarp/node.rb#6974 + def child_nodes; end + + # def closing: () -> String + # + # source://yarp/lib/yarp/node.rb#7013 + def closing; end + + # attr_reader closing_loc: Location + # + # source://yarp/lib/yarp/node.rb#6949 + def closing_loc; end + + # def comment_targets: () -> Array[Node | Location] + # + # source://yarp/lib/yarp/node.rb#6984 + def comment_targets; end + + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#6979 + def compact_child_nodes; end + + # def copy: (**params) -> InterpolatedMatchLastLineNode + # + # source://yarp/lib/yarp/node.rb#6989 + def copy(**params); end + + # def child_nodes: () -> Array[nil | Node] + # def deconstruct: () -> Array[nil | Node] + # + # source://yarp/lib/yarp/node.rb#6974 + def deconstruct; end + + # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] + # + # source://yarp/lib/yarp/node.rb#7003 + def deconstruct_keys(keys); end + + # def euc_jp?: () -> bool + # + # @return [Boolean] + # + # source://yarp/lib/yarp/node.rb#7033 + def euc_jp?; end + + # def extended?: () -> bool + # + # @return [Boolean] + # + # source://yarp/lib/yarp/node.rb#7023 + def extended?; end + + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#7070 + def human; end + + # def ignore_case?: () -> bool + # + # @return [Boolean] + # + # source://yarp/lib/yarp/node.rb#7018 + def ignore_case?; end + + # source://yarp/lib/yarp/node.rb#7057 + def inspect(inspector = T.unsafe(nil)); end + + # def multi_line?: () -> bool + # + # @return [Boolean] + # + # source://yarp/lib/yarp/node.rb#7028 + def multi_line?; end + + # def once?: () -> bool + # + # @return [Boolean] + # + # source://yarp/lib/yarp/node.rb#7053 + def once?; end + + # def opening: () -> String + # + # source://yarp/lib/yarp/node.rb#7008 + def opening; end + + # attr_reader opening_loc: Location + # + # source://yarp/lib/yarp/node.rb#6943 + def opening_loc; end + + # attr_reader parts: Array[Node] + # + # source://yarp/lib/yarp/node.rb#6946 + def parts; end + + # source://yarp/lib/yarp/node.rb#6968 + def set_newline_flag(newline_marked); end + + # def utf_8?: () -> bool + # + # @return [Boolean] + # + # source://yarp/lib/yarp/node.rb#7048 + def utf_8?; end + + # def windows_31j?: () -> bool + # + # @return [Boolean] + # + # source://yarp/lib/yarp/node.rb#7043 + def windows_31j?; end + + private + + # Returns the value of attribute flags. + # + # source://yarp/lib/yarp/node.rb#6952 + def flags; end end # Represents a regular expression literal that contains interpolation. @@ -6517,137 +7835,157 @@ end # /foo #{bar} baz/ # ^^^^^^^^^^^^^^^^ # -# source://yarp/lib/yarp/node.rb#5789 +# source://yarp/lib/yarp/node.rb#7079 class YARP::InterpolatedRegularExpressionNode < ::YARP::Node # def initialize: (opening_loc: Location, parts: Array[Node], closing_loc: Location, flags: Integer, location: Location) -> void # # @return [InterpolatedRegularExpressionNode] a new instance of InterpolatedRegularExpressionNode # - # source://yarp/lib/yarp/node.rb#5803 + # source://yarp/lib/yarp/node.rb#7093 def initialize(opening_loc, parts, closing_loc, flags, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#5812 + # source://yarp/lib/yarp/node.rb#7102 def accept(visitor); end # def ascii_8bit?: () -> bool # # @return [Boolean] # - # source://yarp/lib/yarp/node.rb#5881 + # source://yarp/lib/yarp/node.rb#7176 def ascii_8bit?; end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#5822 + # source://yarp/lib/yarp/node.rb#7112 def child_nodes; end # def closing: () -> String # - # source://yarp/lib/yarp/node.rb#5856 + # source://yarp/lib/yarp/node.rb#7151 def closing; end # attr_reader closing_loc: Location # - # source://yarp/lib/yarp/node.rb#5797 + # source://yarp/lib/yarp/node.rb#7087 def closing_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#5827 + # source://yarp/lib/yarp/node.rb#7122 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#7117 + def compact_child_nodes; end + # def copy: (**params) -> InterpolatedRegularExpressionNode # - # source://yarp/lib/yarp/node.rb#5832 + # source://yarp/lib/yarp/node.rb#7127 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#5822 + # source://yarp/lib/yarp/node.rb#7112 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#5846 + # source://yarp/lib/yarp/node.rb#7141 def deconstruct_keys(keys); end # def euc_jp?: () -> bool # # @return [Boolean] # - # source://yarp/lib/yarp/node.rb#5876 + # source://yarp/lib/yarp/node.rb#7171 def euc_jp?; end # def extended?: () -> bool # # @return [Boolean] # - # source://yarp/lib/yarp/node.rb#5871 + # source://yarp/lib/yarp/node.rb#7161 def extended?; end - # attr_reader flags: Integer + # Returns a symbol representation of the type of node. # - # source://yarp/lib/yarp/node.rb#5800 - def flags; end + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#7208 + def human; end # def ignore_case?: () -> bool # # @return [Boolean] # - # source://yarp/lib/yarp/node.rb#5861 + # source://yarp/lib/yarp/node.rb#7156 def ignore_case?; end - # source://yarp/lib/yarp/node.rb#5900 + # source://yarp/lib/yarp/node.rb#7195 def inspect(inspector = T.unsafe(nil)); end # def multi_line?: () -> bool # # @return [Boolean] # - # source://yarp/lib/yarp/node.rb#5866 + # source://yarp/lib/yarp/node.rb#7166 def multi_line?; end # def once?: () -> bool # # @return [Boolean] # - # source://yarp/lib/yarp/node.rb#5896 + # source://yarp/lib/yarp/node.rb#7191 def once?; end # def opening: () -> String # - # source://yarp/lib/yarp/node.rb#5851 + # source://yarp/lib/yarp/node.rb#7146 def opening; end # attr_reader opening_loc: Location # - # source://yarp/lib/yarp/node.rb#5791 + # source://yarp/lib/yarp/node.rb#7081 def opening_loc; end + # Returns a numeric value that represents the flags that were used to create + # the regular expression. + # + # source://yarp/lib/yarp.rb#591 + def options; end + # attr_reader parts: Array[Node] # - # source://yarp/lib/yarp/node.rb#5794 + # source://yarp/lib/yarp/node.rb#7084 def parts; end - # source://yarp/lib/yarp/node.rb#5816 + # source://yarp/lib/yarp/node.rb#7106 def set_newline_flag(newline_marked); end # def utf_8?: () -> bool # # @return [Boolean] # - # source://yarp/lib/yarp/node.rb#5891 + # source://yarp/lib/yarp/node.rb#7186 def utf_8?; end # def windows_31j?: () -> bool # # @return [Boolean] # - # source://yarp/lib/yarp/node.rb#5886 + # source://yarp/lib/yarp/node.rb#7181 def windows_31j?; end + + private + + # Returns the value of attribute flags. + # + # source://yarp/lib/yarp/node.rb#7090 + def flags; end end # Represents a string literal that contains interpolation. @@ -6655,75 +7993,87 @@ end # "foo #{bar} baz" # ^^^^^^^^^^^^^^^^ # -# source://yarp/lib/yarp/node.rb#5914 +# source://yarp/lib/yarp/node.rb#7217 class YARP::InterpolatedStringNode < ::YARP::Node # def initialize: (opening_loc: Location?, parts: Array[Node], closing_loc: Location?, location: Location) -> void # # @return [InterpolatedStringNode] a new instance of InterpolatedStringNode # - # source://yarp/lib/yarp/node.rb#5925 + # source://yarp/lib/yarp/node.rb#7228 def initialize(opening_loc, parts, closing_loc, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#5933 + # source://yarp/lib/yarp/node.rb#7236 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#5943 + # source://yarp/lib/yarp/node.rb#7246 def child_nodes; end # def closing: () -> String? # - # source://yarp/lib/yarp/node.rb#5976 + # source://yarp/lib/yarp/node.rb#7284 def closing; end # attr_reader closing_loc: Location? # - # source://yarp/lib/yarp/node.rb#5922 + # source://yarp/lib/yarp/node.rb#7225 def closing_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#5948 + # source://yarp/lib/yarp/node.rb#7256 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#7251 + def compact_child_nodes; end + # def copy: (**params) -> InterpolatedStringNode # - # source://yarp/lib/yarp/node.rb#5953 + # source://yarp/lib/yarp/node.rb#7261 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#5943 + # source://yarp/lib/yarp/node.rb#7246 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#5966 + # source://yarp/lib/yarp/node.rb#7274 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#5980 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#7299 + def human; end + + # source://yarp/lib/yarp/node.rb#7288 def inspect(inspector = T.unsafe(nil)); end # def opening: () -> String? # - # source://yarp/lib/yarp/node.rb#5971 + # source://yarp/lib/yarp/node.rb#7279 def opening; end # attr_reader opening_loc: Location? # - # source://yarp/lib/yarp/node.rb#5916 + # source://yarp/lib/yarp/node.rb#7219 def opening_loc; end # attr_reader parts: Array[Node] # - # source://yarp/lib/yarp/node.rb#5919 + # source://yarp/lib/yarp/node.rb#7222 def parts; end - # source://yarp/lib/yarp/node.rb#5937 + # source://yarp/lib/yarp/node.rb#7240 def set_newline_flag(newline_marked); end end @@ -6732,75 +8082,87 @@ end # :"foo #{bar} baz" # ^^^^^^^^^^^^^^^^^ # -# source://yarp/lib/yarp/node.rb#5993 +# source://yarp/lib/yarp/node.rb#7308 class YARP::InterpolatedSymbolNode < ::YARP::Node # def initialize: (opening_loc: Location?, parts: Array[Node], closing_loc: Location?, location: Location) -> void # # @return [InterpolatedSymbolNode] a new instance of InterpolatedSymbolNode # - # source://yarp/lib/yarp/node.rb#6004 + # source://yarp/lib/yarp/node.rb#7319 def initialize(opening_loc, parts, closing_loc, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#6012 + # source://yarp/lib/yarp/node.rb#7327 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#6022 + # source://yarp/lib/yarp/node.rb#7337 def child_nodes; end # def closing: () -> String? # - # source://yarp/lib/yarp/node.rb#6055 + # source://yarp/lib/yarp/node.rb#7375 def closing; end # attr_reader closing_loc: Location? # - # source://yarp/lib/yarp/node.rb#6001 + # source://yarp/lib/yarp/node.rb#7316 def closing_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#6027 + # source://yarp/lib/yarp/node.rb#7347 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#7342 + def compact_child_nodes; end + # def copy: (**params) -> InterpolatedSymbolNode # - # source://yarp/lib/yarp/node.rb#6032 + # source://yarp/lib/yarp/node.rb#7352 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#6022 + # source://yarp/lib/yarp/node.rb#7337 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#6045 + # source://yarp/lib/yarp/node.rb#7365 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#6059 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#7390 + def human; end + + # source://yarp/lib/yarp/node.rb#7379 def inspect(inspector = T.unsafe(nil)); end # def opening: () -> String? # - # source://yarp/lib/yarp/node.rb#6050 + # source://yarp/lib/yarp/node.rb#7370 def opening; end # attr_reader opening_loc: Location? # - # source://yarp/lib/yarp/node.rb#5995 + # source://yarp/lib/yarp/node.rb#7310 def opening_loc; end # attr_reader parts: Array[Node] # - # source://yarp/lib/yarp/node.rb#5998 + # source://yarp/lib/yarp/node.rb#7313 def parts; end - # source://yarp/lib/yarp/node.rb#6016 + # source://yarp/lib/yarp/node.rb#7331 def set_newline_flag(newline_marked); end end @@ -6809,75 +8171,87 @@ end # `foo #{bar} baz` # ^^^^^^^^^^^^^^^^ # -# source://yarp/lib/yarp/node.rb#6072 +# source://yarp/lib/yarp/node.rb#7399 class YARP::InterpolatedXStringNode < ::YARP::Node # def initialize: (opening_loc: Location, parts: Array[Node], closing_loc: Location, location: Location) -> void # # @return [InterpolatedXStringNode] a new instance of InterpolatedXStringNode # - # source://yarp/lib/yarp/node.rb#6083 + # source://yarp/lib/yarp/node.rb#7410 def initialize(opening_loc, parts, closing_loc, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#6091 + # source://yarp/lib/yarp/node.rb#7418 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#6101 + # source://yarp/lib/yarp/node.rb#7428 def child_nodes; end # def closing: () -> String # - # source://yarp/lib/yarp/node.rb#6134 + # source://yarp/lib/yarp/node.rb#7466 def closing; end # attr_reader closing_loc: Location # - # source://yarp/lib/yarp/node.rb#6080 + # source://yarp/lib/yarp/node.rb#7407 def closing_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#6106 + # source://yarp/lib/yarp/node.rb#7438 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#7433 + def compact_child_nodes; end + # def copy: (**params) -> InterpolatedXStringNode # - # source://yarp/lib/yarp/node.rb#6111 + # source://yarp/lib/yarp/node.rb#7443 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#6101 + # source://yarp/lib/yarp/node.rb#7428 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#6124 + # source://yarp/lib/yarp/node.rb#7456 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#6138 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#7481 + def human; end + + # source://yarp/lib/yarp/node.rb#7470 def inspect(inspector = T.unsafe(nil)); end # def opening: () -> String # - # source://yarp/lib/yarp/node.rb#6129 + # source://yarp/lib/yarp/node.rb#7461 def opening; end # attr_reader opening_loc: Location # - # source://yarp/lib/yarp/node.rb#6074 + # source://yarp/lib/yarp/node.rb#7401 def opening_loc; end # attr_reader parts: Array[Node] # - # source://yarp/lib/yarp/node.rb#6077 + # source://yarp/lib/yarp/node.rb#7404 def parts; end - # source://yarp/lib/yarp/node.rb#6095 + # source://yarp/lib/yarp/node.rb#7422 def set_newline_flag(newline_marked); end end @@ -6886,52 +8260,64 @@ end # foo(a: b) # ^^^^ # -# source://yarp/lib/yarp/node.rb#6151 +# source://yarp/lib/yarp/node.rb#7490 class YARP::KeywordHashNode < ::YARP::Node # def initialize: (elements: Array[Node], location: Location) -> void # # @return [KeywordHashNode] a new instance of KeywordHashNode # - # source://yarp/lib/yarp/node.rb#6156 + # source://yarp/lib/yarp/node.rb#7495 def initialize(elements, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#6162 + # source://yarp/lib/yarp/node.rb#7501 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#6167 + # source://yarp/lib/yarp/node.rb#7506 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#6172 + # source://yarp/lib/yarp/node.rb#7516 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#7511 + def compact_child_nodes; end + # def copy: (**params) -> KeywordHashNode # - # source://yarp/lib/yarp/node.rb#6177 + # source://yarp/lib/yarp/node.rb#7521 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#6167 + # source://yarp/lib/yarp/node.rb#7506 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#6188 + # source://yarp/lib/yarp/node.rb#7532 def deconstruct_keys(keys); end # attr_reader elements: Array[Node] # - # source://yarp/lib/yarp/node.rb#6153 + # source://yarp/lib/yarp/node.rb#7492 def elements; end - # source://yarp/lib/yarp/node.rb#6192 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#7545 + def human; end + + # source://yarp/lib/yarp/node.rb#7536 def inspect(inspector = T.unsafe(nil)); end end @@ -6945,62 +8331,74 @@ end # ^^^^ # end # -# source://yarp/lib/yarp/node.rb#6208 +# source://yarp/lib/yarp/node.rb#7559 class YARP::KeywordParameterNode < ::YARP::Node # def initialize: (name: Symbol, name_loc: Location, value: Node?, location: Location) -> void # # @return [KeywordParameterNode] a new instance of KeywordParameterNode # - # source://yarp/lib/yarp/node.rb#6219 + # source://yarp/lib/yarp/node.rb#7570 def initialize(name, name_loc, value, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#6227 + # source://yarp/lib/yarp/node.rb#7578 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#6232 + # source://yarp/lib/yarp/node.rb#7583 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#6237 + # source://yarp/lib/yarp/node.rb#7595 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#7588 + def compact_child_nodes; end + # def copy: (**params) -> KeywordParameterNode # - # source://yarp/lib/yarp/node.rb#6242 + # source://yarp/lib/yarp/node.rb#7600 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#6232 + # source://yarp/lib/yarp/node.rb#7583 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#6255 + # source://yarp/lib/yarp/node.rb#7613 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#6259 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#7633 + def human; end + + # source://yarp/lib/yarp/node.rb#7617 def inspect(inspector = T.unsafe(nil)); end # attr_reader name: Symbol # - # source://yarp/lib/yarp/node.rb#6210 + # source://yarp/lib/yarp/node.rb#7561 def name; end # attr_reader name_loc: Location # - # source://yarp/lib/yarp/node.rb#6213 + # source://yarp/lib/yarp/node.rb#7564 def name_loc; end # attr_reader value: Node? # - # source://yarp/lib/yarp/node.rb#6216 + # source://yarp/lib/yarp/node.rb#7567 def value; end end @@ -7010,67 +8408,79 @@ end # ^^^ # end # -# source://yarp/lib/yarp/node.rb#6278 +# source://yarp/lib/yarp/node.rb#7643 class YARP::KeywordRestParameterNode < ::YARP::Node # def initialize: (name: Symbol?, name_loc: Location?, operator_loc: Location, location: Location) -> void # # @return [KeywordRestParameterNode] a new instance of KeywordRestParameterNode # - # source://yarp/lib/yarp/node.rb#6289 + # source://yarp/lib/yarp/node.rb#7654 def initialize(name, name_loc, operator_loc, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#6297 + # source://yarp/lib/yarp/node.rb#7662 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#6302 + # source://yarp/lib/yarp/node.rb#7667 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#6307 + # source://yarp/lib/yarp/node.rb#7677 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#7672 + def compact_child_nodes; end + # def copy: (**params) -> KeywordRestParameterNode # - # source://yarp/lib/yarp/node.rb#6312 + # source://yarp/lib/yarp/node.rb#7682 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#6302 + # source://yarp/lib/yarp/node.rb#7667 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#6325 + # source://yarp/lib/yarp/node.rb#7695 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#6334 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#7715 + def human; end + + # source://yarp/lib/yarp/node.rb#7704 def inspect(inspector = T.unsafe(nil)); end # attr_reader name: Symbol? # - # source://yarp/lib/yarp/node.rb#6280 + # source://yarp/lib/yarp/node.rb#7645 def name; end # attr_reader name_loc: Location? # - # source://yarp/lib/yarp/node.rb#6283 + # source://yarp/lib/yarp/node.rb#7648 def name_loc; end # def operator: () -> String # - # source://yarp/lib/yarp/node.rb#6330 + # source://yarp/lib/yarp/node.rb#7700 def operator; end # attr_reader operator_loc: Location # - # source://yarp/lib/yarp/node.rb#6286 + # source://yarp/lib/yarp/node.rb#7651 def operator_loc; end end @@ -7079,92 +8489,104 @@ end # ->(value) { value * 2 } # ^^^^^^^^^^^^^^^^^^^^^^^ # -# source://yarp/lib/yarp/node.rb#6347 +# source://yarp/lib/yarp/node.rb#7724 class YARP::LambdaNode < ::YARP::Node # def initialize: (locals: Array[Symbol], operator_loc: Location, opening_loc: Location, closing_loc: Location, parameters: BlockParametersNode?, body: Node?, location: Location) -> void # # @return [LambdaNode] a new instance of LambdaNode # - # source://yarp/lib/yarp/node.rb#6367 + # source://yarp/lib/yarp/node.rb#7744 def initialize(locals, operator_loc, opening_loc, closing_loc, parameters, body, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#6378 + # source://yarp/lib/yarp/node.rb#7755 def accept(visitor); end # attr_reader body: Node? # - # source://yarp/lib/yarp/node.rb#6364 + # source://yarp/lib/yarp/node.rb#7741 def body; end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#6383 + # source://yarp/lib/yarp/node.rb#7760 def child_nodes; end # def closing: () -> String # - # source://yarp/lib/yarp/node.rb#6424 + # source://yarp/lib/yarp/node.rb#7809 def closing; end # attr_reader closing_loc: Location # - # source://yarp/lib/yarp/node.rb#6358 + # source://yarp/lib/yarp/node.rb#7735 def closing_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#6388 + # source://yarp/lib/yarp/node.rb#7773 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#7765 + def compact_child_nodes; end + # def copy: (**params) -> LambdaNode # - # source://yarp/lib/yarp/node.rb#6393 + # source://yarp/lib/yarp/node.rb#7778 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#6383 + # source://yarp/lib/yarp/node.rb#7760 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#6409 + # source://yarp/lib/yarp/node.rb#7794 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#6428 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#7837 + def human; end + + # source://yarp/lib/yarp/node.rb#7813 def inspect(inspector = T.unsafe(nil)); end # attr_reader locals: Array[Symbol] # - # source://yarp/lib/yarp/node.rb#6349 + # source://yarp/lib/yarp/node.rb#7726 def locals; end # def opening: () -> String # - # source://yarp/lib/yarp/node.rb#6419 + # source://yarp/lib/yarp/node.rb#7804 def opening; end # attr_reader opening_loc: Location # - # source://yarp/lib/yarp/node.rb#6355 + # source://yarp/lib/yarp/node.rb#7732 def opening_loc; end # def operator: () -> String # - # source://yarp/lib/yarp/node.rb#6414 + # source://yarp/lib/yarp/node.rb#7799 def operator; end # attr_reader operator_loc: Location # - # source://yarp/lib/yarp/node.rb#6352 + # source://yarp/lib/yarp/node.rb#7729 def operator_loc; end # attr_reader parameters: BlockParametersNode? # - # source://yarp/lib/yarp/node.rb#6361 + # source://yarp/lib/yarp/node.rb#7738 def parameters; end end @@ -7398,77 +8820,89 @@ end # target &&= value # ^^^^^^^^^^^^^^^^ # -# source://yarp/lib/yarp/node.rb#6454 +# source://yarp/lib/yarp/node.rb#7846 class YARP::LocalVariableAndWriteNode < ::YARP::Node # def initialize: (name_loc: Location, operator_loc: Location, value: Node, name: Symbol, depth: Integer, location: Location) -> void # # @return [LocalVariableAndWriteNode] a new instance of LocalVariableAndWriteNode # - # source://yarp/lib/yarp/node.rb#6471 + # source://yarp/lib/yarp/node.rb#7863 def initialize(name_loc, operator_loc, value, name, depth, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#6481 + # source://yarp/lib/yarp/node.rb#7873 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#6486 + # source://yarp/lib/yarp/node.rb#7878 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#6491 + # source://yarp/lib/yarp/node.rb#7888 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#7883 + def compact_child_nodes; end + # def copy: (**params) -> LocalVariableAndWriteNode # - # source://yarp/lib/yarp/node.rb#6496 + # source://yarp/lib/yarp/node.rb#7893 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#6486 + # source://yarp/lib/yarp/node.rb#7878 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#6511 + # source://yarp/lib/yarp/node.rb#7908 def deconstruct_keys(keys); end # attr_reader depth: Integer # - # source://yarp/lib/yarp/node.rb#6468 + # source://yarp/lib/yarp/node.rb#7860 def depth; end - # source://yarp/lib/yarp/node.rb#6520 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#7931 + def human; end + + # source://yarp/lib/yarp/node.rb#7917 def inspect(inspector = T.unsafe(nil)); end # attr_reader name: Symbol # - # source://yarp/lib/yarp/node.rb#6465 + # source://yarp/lib/yarp/node.rb#7857 def name; end # attr_reader name_loc: Location # - # source://yarp/lib/yarp/node.rb#6456 + # source://yarp/lib/yarp/node.rb#7848 def name_loc; end # def operator: () -> String # - # source://yarp/lib/yarp/node.rb#6516 + # source://yarp/lib/yarp/node.rb#7913 def operator; end # attr_reader operator_loc: Location # - # source://yarp/lib/yarp/node.rb#6459 + # source://yarp/lib/yarp/node.rb#7851 def operator_loc; end # attr_reader value: Node # - # source://yarp/lib/yarp/node.rb#6462 + # source://yarp/lib/yarp/node.rb#7854 def value; end end @@ -7477,77 +8911,89 @@ end # target += value # ^^^^^^^^^^^^^^^ # -# source://yarp/lib/yarp/node.rb#6536 +# source://yarp/lib/yarp/node.rb#7940 class YARP::LocalVariableOperatorWriteNode < ::YARP::Node # def initialize: (name_loc: Location, operator_loc: Location, value: Node, name: Symbol, operator: Symbol, depth: Integer, location: Location) -> void # # @return [LocalVariableOperatorWriteNode] a new instance of LocalVariableOperatorWriteNode # - # source://yarp/lib/yarp/node.rb#6556 + # source://yarp/lib/yarp/node.rb#7960 def initialize(name_loc, operator_loc, value, name, operator, depth, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#6567 + # source://yarp/lib/yarp/node.rb#7971 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#6572 + # source://yarp/lib/yarp/node.rb#7976 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#6577 + # source://yarp/lib/yarp/node.rb#7986 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#7981 + def compact_child_nodes; end + # def copy: (**params) -> LocalVariableOperatorWriteNode # - # source://yarp/lib/yarp/node.rb#6582 + # source://yarp/lib/yarp/node.rb#7991 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#6572 + # source://yarp/lib/yarp/node.rb#7976 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#6598 + # source://yarp/lib/yarp/node.rb#8007 def deconstruct_keys(keys); end # attr_reader depth: Integer # - # source://yarp/lib/yarp/node.rb#6553 + # source://yarp/lib/yarp/node.rb#7957 def depth; end - # source://yarp/lib/yarp/node.rb#6602 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#8026 + def human; end + + # source://yarp/lib/yarp/node.rb#8011 def inspect(inspector = T.unsafe(nil)); end # attr_reader name: Symbol # - # source://yarp/lib/yarp/node.rb#6547 + # source://yarp/lib/yarp/node.rb#7951 def name; end # attr_reader name_loc: Location # - # source://yarp/lib/yarp/node.rb#6538 + # source://yarp/lib/yarp/node.rb#7942 def name_loc; end # attr_reader operator: Symbol # - # source://yarp/lib/yarp/node.rb#6550 + # source://yarp/lib/yarp/node.rb#7954 def operator; end # attr_reader operator_loc: Location # - # source://yarp/lib/yarp/node.rb#6541 + # source://yarp/lib/yarp/node.rb#7945 def operator_loc; end # attr_reader value: Node # - # source://yarp/lib/yarp/node.rb#6544 + # source://yarp/lib/yarp/node.rb#7948 def value; end end @@ -7556,77 +9002,89 @@ end # target ||= value # ^^^^^^^^^^^^^^^^ # -# source://yarp/lib/yarp/node.rb#6619 +# source://yarp/lib/yarp/node.rb#8035 class YARP::LocalVariableOrWriteNode < ::YARP::Node # def initialize: (name_loc: Location, operator_loc: Location, value: Node, name: Symbol, depth: Integer, location: Location) -> void # # @return [LocalVariableOrWriteNode] a new instance of LocalVariableOrWriteNode # - # source://yarp/lib/yarp/node.rb#6636 + # source://yarp/lib/yarp/node.rb#8052 def initialize(name_loc, operator_loc, value, name, depth, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#6646 + # source://yarp/lib/yarp/node.rb#8062 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#6651 + # source://yarp/lib/yarp/node.rb#8067 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#6656 + # source://yarp/lib/yarp/node.rb#8077 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#8072 + def compact_child_nodes; end + # def copy: (**params) -> LocalVariableOrWriteNode # - # source://yarp/lib/yarp/node.rb#6661 + # source://yarp/lib/yarp/node.rb#8082 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#6651 + # source://yarp/lib/yarp/node.rb#8067 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#6676 + # source://yarp/lib/yarp/node.rb#8097 def deconstruct_keys(keys); end # attr_reader depth: Integer # - # source://yarp/lib/yarp/node.rb#6633 + # source://yarp/lib/yarp/node.rb#8049 def depth; end - # source://yarp/lib/yarp/node.rb#6685 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#8120 + def human; end + + # source://yarp/lib/yarp/node.rb#8106 def inspect(inspector = T.unsafe(nil)); end # attr_reader name: Symbol # - # source://yarp/lib/yarp/node.rb#6630 + # source://yarp/lib/yarp/node.rb#8046 def name; end # attr_reader name_loc: Location # - # source://yarp/lib/yarp/node.rb#6621 + # source://yarp/lib/yarp/node.rb#8037 def name_loc; end # def operator: () -> String # - # source://yarp/lib/yarp/node.rb#6681 + # source://yarp/lib/yarp/node.rb#8102 def operator; end # attr_reader operator_loc: Location # - # source://yarp/lib/yarp/node.rb#6624 + # source://yarp/lib/yarp/node.rb#8040 def operator_loc; end # attr_reader value: Node # - # source://yarp/lib/yarp/node.rb#6627 + # source://yarp/lib/yarp/node.rb#8043 def value; end end @@ -7637,57 +9095,69 @@ end # foo # ^^^ # -# source://yarp/lib/yarp/node.rb#6703 +# source://yarp/lib/yarp/node.rb#8131 class YARP::LocalVariableReadNode < ::YARP::Node # def initialize: (name: Symbol, depth: Integer, location: Location) -> void # # @return [LocalVariableReadNode] a new instance of LocalVariableReadNode # - # source://yarp/lib/yarp/node.rb#6711 + # source://yarp/lib/yarp/node.rb#8139 def initialize(name, depth, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#6718 + # source://yarp/lib/yarp/node.rb#8146 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#6723 + # source://yarp/lib/yarp/node.rb#8151 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#6728 + # source://yarp/lib/yarp/node.rb#8161 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#8156 + def compact_child_nodes; end + # def copy: (**params) -> LocalVariableReadNode # - # source://yarp/lib/yarp/node.rb#6733 + # source://yarp/lib/yarp/node.rb#8166 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#6723 + # source://yarp/lib/yarp/node.rb#8151 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#6745 + # source://yarp/lib/yarp/node.rb#8178 def deconstruct_keys(keys); end # attr_reader depth: Integer # - # source://yarp/lib/yarp/node.rb#6708 + # source://yarp/lib/yarp/node.rb#8136 def depth; end - # source://yarp/lib/yarp/node.rb#6749 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#8192 + def human; end + + # source://yarp/lib/yarp/node.rb#8182 def inspect(inspector = T.unsafe(nil)); end # attr_reader name: Symbol # - # source://yarp/lib/yarp/node.rb#6705 + # source://yarp/lib/yarp/node.rb#8133 def name; end end @@ -7696,57 +9166,69 @@ end # foo, bar = baz # ^^^ ^^^ # -# source://yarp/lib/yarp/node.rb#6761 +# source://yarp/lib/yarp/node.rb#8201 class YARP::LocalVariableTargetNode < ::YARP::Node # def initialize: (name: Symbol, depth: Integer, location: Location) -> void # # @return [LocalVariableTargetNode] a new instance of LocalVariableTargetNode # - # source://yarp/lib/yarp/node.rb#6769 + # source://yarp/lib/yarp/node.rb#8209 def initialize(name, depth, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#6776 + # source://yarp/lib/yarp/node.rb#8216 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#6781 + # source://yarp/lib/yarp/node.rb#8221 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#6786 + # source://yarp/lib/yarp/node.rb#8231 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#8226 + def compact_child_nodes; end + # def copy: (**params) -> LocalVariableTargetNode # - # source://yarp/lib/yarp/node.rb#6791 + # source://yarp/lib/yarp/node.rb#8236 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#6781 + # source://yarp/lib/yarp/node.rb#8221 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#6803 + # source://yarp/lib/yarp/node.rb#8248 def deconstruct_keys(keys); end # attr_reader depth: Integer # - # source://yarp/lib/yarp/node.rb#6766 + # source://yarp/lib/yarp/node.rb#8206 def depth; end - # source://yarp/lib/yarp/node.rb#6807 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#8262 + def human; end + + # source://yarp/lib/yarp/node.rb#8252 def inspect(inspector = T.unsafe(nil)); end # attr_reader name: Symbol # - # source://yarp/lib/yarp/node.rb#6763 + # source://yarp/lib/yarp/node.rb#8203 def name; end end @@ -7755,77 +9237,89 @@ end # foo = 1 # ^^^^^^^ # -# source://yarp/lib/yarp/node.rb#6819 +# source://yarp/lib/yarp/node.rb#8271 class YARP::LocalVariableWriteNode < ::YARP::Node # def initialize: (name: Symbol, depth: Integer, name_loc: Location, value: Node, operator_loc: Location, location: Location) -> void # # @return [LocalVariableWriteNode] a new instance of LocalVariableWriteNode # - # source://yarp/lib/yarp/node.rb#6836 + # source://yarp/lib/yarp/node.rb#8288 def initialize(name, depth, name_loc, value, operator_loc, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#6846 + # source://yarp/lib/yarp/node.rb#8298 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#6851 + # source://yarp/lib/yarp/node.rb#8303 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#6856 + # source://yarp/lib/yarp/node.rb#8313 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#8308 + def compact_child_nodes; end + # def copy: (**params) -> LocalVariableWriteNode # - # source://yarp/lib/yarp/node.rb#6861 + # source://yarp/lib/yarp/node.rb#8318 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#6851 + # source://yarp/lib/yarp/node.rb#8303 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#6876 + # source://yarp/lib/yarp/node.rb#8333 def deconstruct_keys(keys); end # attr_reader depth: Integer # - # source://yarp/lib/yarp/node.rb#6824 + # source://yarp/lib/yarp/node.rb#8276 def depth; end - # source://yarp/lib/yarp/node.rb#6885 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#8356 + def human; end + + # source://yarp/lib/yarp/node.rb#8342 def inspect(inspector = T.unsafe(nil)); end # attr_reader name: Symbol # - # source://yarp/lib/yarp/node.rb#6821 + # source://yarp/lib/yarp/node.rb#8273 def name; end # attr_reader name_loc: Location # - # source://yarp/lib/yarp/node.rb#6827 + # source://yarp/lib/yarp/node.rb#8279 def name_loc; end # def operator: () -> String # - # source://yarp/lib/yarp/node.rb#6881 + # source://yarp/lib/yarp/node.rb#8338 def operator; end # attr_reader operator_loc: Location # - # source://yarp/lib/yarp/node.rb#6833 + # source://yarp/lib/yarp/node.rb#8285 def operator_loc; end # attr_reader value: Node # - # source://yarp/lib/yarp/node.rb#6830 + # source://yarp/lib/yarp/node.rb#8282 def value; end end @@ -7917,93 +9411,266 @@ class YARP::Location # source://yarp/lib/yarp.rb#48 def start_offset; end - protected + protected + + # Returns the value of attribute source. + # + # source://yarp/lib/yarp.rb#44 + def source; end + + class << self + # source://yarp/lib/yarp.rb#139 + def null; end + end +end + +# source://yarp/lib/yarp/node.rb#12917 +module YARP::LoopFlags; end + +# a loop after a begin statement, so the body is executed first before the condition +# +# source://yarp/lib/yarp/node.rb#12919 +YARP::LoopFlags::BEGIN_MODIFIER = T.let(T.unsafe(nil), Integer) + +# Represents a regular expression literal used in the predicate of a +# conditional to implicitly match against the last line read by an IO +# object. +# +# if /foo/i then end +# ^^^^^^ +# +# source://yarp/lib/yarp/node.rb#8367 +class YARP::MatchLastLineNode < ::YARP::Node + # def initialize: (opening_loc: Location, content_loc: Location, closing_loc: Location, unescaped: String, flags: Integer, location: Location) -> void + # + # @return [MatchLastLineNode] a new instance of MatchLastLineNode + # + # source://yarp/lib/yarp/node.rb#8384 + def initialize(opening_loc, content_loc, closing_loc, unescaped, flags, location); end + + # def accept: (visitor: Visitor) -> void + # + # source://yarp/lib/yarp/node.rb#8394 + def accept(visitor); end + + # def ascii_8bit?: () -> bool + # + # @return [Boolean] + # + # source://yarp/lib/yarp/node.rb#8469 + def ascii_8bit?; end + + # def child_nodes: () -> Array[nil | Node] + # + # source://yarp/lib/yarp/node.rb#8399 + def child_nodes; end + + # def closing: () -> String + # + # source://yarp/lib/yarp/node.rb#8444 + def closing; end + + # attr_reader closing_loc: Location + # + # source://yarp/lib/yarp/node.rb#8375 + def closing_loc; end + + # def comment_targets: () -> Array[Node | Location] + # + # source://yarp/lib/yarp/node.rb#8409 + def comment_targets; end + + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#8404 + def compact_child_nodes; end + + # def content: () -> String + # + # source://yarp/lib/yarp/node.rb#8439 + def content; end + + # attr_reader content_loc: Location + # + # source://yarp/lib/yarp/node.rb#8372 + def content_loc; end + + # def copy: (**params) -> MatchLastLineNode + # + # source://yarp/lib/yarp/node.rb#8414 + def copy(**params); end + + # def child_nodes: () -> Array[nil | Node] + # def deconstruct: () -> Array[nil | Node] + # + # source://yarp/lib/yarp/node.rb#8399 + def deconstruct; end + + # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] + # + # source://yarp/lib/yarp/node.rb#8429 + def deconstruct_keys(keys); end + + # def euc_jp?: () -> bool + # + # @return [Boolean] + # + # source://yarp/lib/yarp/node.rb#8464 + def euc_jp?; end + + # def extended?: () -> bool + # + # @return [Boolean] + # + # source://yarp/lib/yarp/node.rb#8454 + def extended?; end + + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#8502 + def human; end + + # def ignore_case?: () -> bool + # + # @return [Boolean] + # + # source://yarp/lib/yarp/node.rb#8449 + def ignore_case?; end + + # source://yarp/lib/yarp/node.rb#8488 + def inspect(inspector = T.unsafe(nil)); end + + # def multi_line?: () -> bool + # + # @return [Boolean] + # + # source://yarp/lib/yarp/node.rb#8459 + def multi_line?; end + + # def once?: () -> bool + # + # @return [Boolean] + # + # source://yarp/lib/yarp/node.rb#8484 + def once?; end + + # def opening: () -> String + # + # source://yarp/lib/yarp/node.rb#8434 + def opening; end + + # attr_reader opening_loc: Location + # + # source://yarp/lib/yarp/node.rb#8369 + def opening_loc; end + + # attr_reader unescaped: String + # + # source://yarp/lib/yarp/node.rb#8378 + def unescaped; end + + # def utf_8?: () -> bool + # + # @return [Boolean] + # + # source://yarp/lib/yarp/node.rb#8479 + def utf_8?; end + + # def windows_31j?: () -> bool + # + # @return [Boolean] + # + # source://yarp/lib/yarp/node.rb#8474 + def windows_31j?; end + + private - # Returns the value of attribute source. + # Returns the value of attribute flags. # - # source://yarp/lib/yarp.rb#44 - def source; end - - class << self - # source://yarp/lib/yarp.rb#139 - def null; end - end + # source://yarp/lib/yarp/node.rb#8381 + def flags; end end -# source://yarp/lib/yarp/node.rb#10565 -module YARP::LoopFlags; end - -# a loop after a begin statement, so the body is executed first before the condition -# -# source://yarp/lib/yarp/node.rb#10567 -YARP::LoopFlags::BEGIN_MODIFIER = T.let(T.unsafe(nil), Integer) - # Represents the use of the modifier `in` operator. # # foo in bar # ^^^^^^^^^^ # -# source://yarp/lib/yarp/node.rb#6901 +# source://yarp/lib/yarp/node.rb#8511 class YARP::MatchPredicateNode < ::YARP::Node # def initialize: (value: Node, pattern: Node, operator_loc: Location, location: Location) -> void # # @return [MatchPredicateNode] a new instance of MatchPredicateNode # - # source://yarp/lib/yarp/node.rb#6912 + # source://yarp/lib/yarp/node.rb#8522 def initialize(value, pattern, operator_loc, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#6920 + # source://yarp/lib/yarp/node.rb#8530 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#6925 + # source://yarp/lib/yarp/node.rb#8535 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#6930 + # source://yarp/lib/yarp/node.rb#8545 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#8540 + def compact_child_nodes; end + # def copy: (**params) -> MatchPredicateNode # - # source://yarp/lib/yarp/node.rb#6935 + # source://yarp/lib/yarp/node.rb#8550 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#6925 + # source://yarp/lib/yarp/node.rb#8535 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#6948 + # source://yarp/lib/yarp/node.rb#8563 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#6957 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#8585 + def human; end + + # source://yarp/lib/yarp/node.rb#8572 def inspect(inspector = T.unsafe(nil)); end # def operator: () -> String # - # source://yarp/lib/yarp/node.rb#6953 + # source://yarp/lib/yarp/node.rb#8568 def operator; end # attr_reader operator_loc: Location # - # source://yarp/lib/yarp/node.rb#6909 + # source://yarp/lib/yarp/node.rb#8519 def operator_loc; end # attr_reader pattern: Node # - # source://yarp/lib/yarp/node.rb#6906 + # source://yarp/lib/yarp/node.rb#8516 def pattern; end # attr_reader value: Node # - # source://yarp/lib/yarp/node.rb#6903 + # source://yarp/lib/yarp/node.rb#8513 def value; end end @@ -8012,114 +9679,210 @@ end # foo => bar # ^^^^^^^^^^ # -# source://yarp/lib/yarp/node.rb#6972 +# source://yarp/lib/yarp/node.rb#8594 class YARP::MatchRequiredNode < ::YARP::Node # def initialize: (value: Node, pattern: Node, operator_loc: Location, location: Location) -> void # # @return [MatchRequiredNode] a new instance of MatchRequiredNode # - # source://yarp/lib/yarp/node.rb#6983 + # source://yarp/lib/yarp/node.rb#8605 def initialize(value, pattern, operator_loc, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#6991 + # source://yarp/lib/yarp/node.rb#8613 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#6996 + # source://yarp/lib/yarp/node.rb#8618 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#7001 + # source://yarp/lib/yarp/node.rb#8628 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#8623 + def compact_child_nodes; end + # def copy: (**params) -> MatchRequiredNode # - # source://yarp/lib/yarp/node.rb#7006 + # source://yarp/lib/yarp/node.rb#8633 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#6996 + # source://yarp/lib/yarp/node.rb#8618 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#7019 + # source://yarp/lib/yarp/node.rb#8646 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#7028 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#8668 + def human; end + + # source://yarp/lib/yarp/node.rb#8655 def inspect(inspector = T.unsafe(nil)); end # def operator: () -> String # - # source://yarp/lib/yarp/node.rb#7024 + # source://yarp/lib/yarp/node.rb#8651 def operator; end # attr_reader operator_loc: Location # - # source://yarp/lib/yarp/node.rb#6980 + # source://yarp/lib/yarp/node.rb#8602 def operator_loc; end # attr_reader pattern: Node # - # source://yarp/lib/yarp/node.rb#6977 + # source://yarp/lib/yarp/node.rb#8599 def pattern; end # attr_reader value: Node # - # source://yarp/lib/yarp/node.rb#6974 + # source://yarp/lib/yarp/node.rb#8596 def value; end end +# Represents writing local variables using a regular expression match with +# named capture groups. +# +# /(?bar)/ =~ baz +# ^^^^^^^^^^^^^^^^^^^^ +# +# source://yarp/lib/yarp/node.rb#8678 +class YARP::MatchWriteNode < ::YARP::Node + # def initialize: (call: CallNode, locals: Array[Symbol], location: Location) -> void + # + # @return [MatchWriteNode] a new instance of MatchWriteNode + # + # source://yarp/lib/yarp/node.rb#8686 + def initialize(call, locals, location); end + + # def accept: (visitor: Visitor) -> void + # + # source://yarp/lib/yarp/node.rb#8693 + def accept(visitor); end + + # attr_reader call: CallNode + # + # source://yarp/lib/yarp/node.rb#8680 + def call; end + + # def child_nodes: () -> Array[nil | Node] + # + # source://yarp/lib/yarp/node.rb#8698 + def child_nodes; end + + # def comment_targets: () -> Array[Node | Location] + # + # source://yarp/lib/yarp/node.rb#8708 + def comment_targets; end + + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#8703 + def compact_child_nodes; end + + # def copy: (**params) -> MatchWriteNode + # + # source://yarp/lib/yarp/node.rb#8713 + def copy(**params); end + + # def child_nodes: () -> Array[nil | Node] + # def deconstruct: () -> Array[nil | Node] + # + # source://yarp/lib/yarp/node.rb#8698 + def deconstruct; end + + # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] + # + # source://yarp/lib/yarp/node.rb#8725 + def deconstruct_keys(keys); end + + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#8740 + def human; end + + # source://yarp/lib/yarp/node.rb#8729 + def inspect(inspector = T.unsafe(nil)); end + + # attr_reader locals: Array[Symbol] + # + # source://yarp/lib/yarp/node.rb#8683 + def locals; end +end + # Represents a node that is missing from the source and results in a syntax # error. # -# source://yarp/lib/yarp/node.rb#7041 +# source://yarp/lib/yarp/node.rb#8747 class YARP::MissingNode < ::YARP::Node # def initialize: (location: Location) -> void # # @return [MissingNode] a new instance of MissingNode # - # source://yarp/lib/yarp/node.rb#7043 + # source://yarp/lib/yarp/node.rb#8749 def initialize(location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#7048 + # source://yarp/lib/yarp/node.rb#8754 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#7053 + # source://yarp/lib/yarp/node.rb#8759 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#7058 + # source://yarp/lib/yarp/node.rb#8769 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#8764 + def compact_child_nodes; end + # def copy: (**params) -> MissingNode # - # source://yarp/lib/yarp/node.rb#7063 + # source://yarp/lib/yarp/node.rb#8774 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#7053 + # source://yarp/lib/yarp/node.rb#8759 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#7073 + # source://yarp/lib/yarp/node.rb#8784 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#7077 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#8796 + def human; end + + # source://yarp/lib/yarp/node.rb#8788 def inspect(inspector = T.unsafe(nil)); end end @@ -8128,87 +9891,99 @@ end # module Foo end # ^^^^^^^^^^^^^^ # -# source://yarp/lib/yarp/node.rb#7087 +# source://yarp/lib/yarp/node.rb#8805 class YARP::ModuleNode < ::YARP::Node # def initialize: (locals: Array[Symbol], module_keyword_loc: Location, constant_path: Node, body: Node?, end_keyword_loc: Location, name: Symbol, location: Location) -> void # # @return [ModuleNode] a new instance of ModuleNode # - # source://yarp/lib/yarp/node.rb#7107 + # source://yarp/lib/yarp/node.rb#8825 def initialize(locals, module_keyword_loc, constant_path, body, end_keyword_loc, name, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#7118 + # source://yarp/lib/yarp/node.rb#8836 def accept(visitor); end # attr_reader body: Node? # - # source://yarp/lib/yarp/node.rb#7098 + # source://yarp/lib/yarp/node.rb#8816 def body; end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#7123 + # source://yarp/lib/yarp/node.rb#8841 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#7128 + # source://yarp/lib/yarp/node.rb#8854 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#8846 + def compact_child_nodes; end + # attr_reader constant_path: Node # - # source://yarp/lib/yarp/node.rb#7095 + # source://yarp/lib/yarp/node.rb#8813 def constant_path; end # def copy: (**params) -> ModuleNode # - # source://yarp/lib/yarp/node.rb#7133 + # source://yarp/lib/yarp/node.rb#8859 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#7123 + # source://yarp/lib/yarp/node.rb#8841 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#7149 + # source://yarp/lib/yarp/node.rb#8875 def deconstruct_keys(keys); end # def end_keyword: () -> String # - # source://yarp/lib/yarp/node.rb#7159 + # source://yarp/lib/yarp/node.rb#8885 def end_keyword; end # attr_reader end_keyword_loc: Location # - # source://yarp/lib/yarp/node.rb#7101 + # source://yarp/lib/yarp/node.rb#8819 def end_keyword_loc; end - # source://yarp/lib/yarp/node.rb#7163 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#8909 + def human; end + + # source://yarp/lib/yarp/node.rb#8889 def inspect(inspector = T.unsafe(nil)); end # attr_reader locals: Array[Symbol] # - # source://yarp/lib/yarp/node.rb#7089 + # source://yarp/lib/yarp/node.rb#8807 def locals; end # def module_keyword: () -> String # - # source://yarp/lib/yarp/node.rb#7154 + # source://yarp/lib/yarp/node.rb#8880 def module_keyword; end # attr_reader module_keyword_loc: Location # - # source://yarp/lib/yarp/node.rb#7092 + # source://yarp/lib/yarp/node.rb#8810 def module_keyword_loc; end # attr_reader name: Symbol # - # source://yarp/lib/yarp/node.rb#7104 + # source://yarp/lib/yarp/node.rb#8822 def name; end end @@ -8217,72 +9992,84 @@ end # a, b, c = 1, 2, 3 # ^^^^^^^ # -# source://yarp/lib/yarp/node.rb#7185 +# source://yarp/lib/yarp/node.rb#8918 class YARP::MultiTargetNode < ::YARP::Node # def initialize: (targets: Array[Node], lparen_loc: Location?, rparen_loc: Location?, location: Location) -> void # # @return [MultiTargetNode] a new instance of MultiTargetNode # - # source://yarp/lib/yarp/node.rb#7196 + # source://yarp/lib/yarp/node.rb#8929 def initialize(targets, lparen_loc, rparen_loc, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#7204 + # source://yarp/lib/yarp/node.rb#8937 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#7209 + # source://yarp/lib/yarp/node.rb#8942 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#7214 + # source://yarp/lib/yarp/node.rb#8952 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#8947 + def compact_child_nodes; end + # def copy: (**params) -> MultiTargetNode # - # source://yarp/lib/yarp/node.rb#7219 + # source://yarp/lib/yarp/node.rb#8957 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#7209 + # source://yarp/lib/yarp/node.rb#8942 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#7232 + # source://yarp/lib/yarp/node.rb#8970 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#7246 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#8995 + def human; end + + # source://yarp/lib/yarp/node.rb#8984 def inspect(inspector = T.unsafe(nil)); end # def lparen: () -> String? # - # source://yarp/lib/yarp/node.rb#7237 + # source://yarp/lib/yarp/node.rb#8975 def lparen; end # attr_reader lparen_loc: Location? # - # source://yarp/lib/yarp/node.rb#7190 + # source://yarp/lib/yarp/node.rb#8923 def lparen_loc; end # def rparen: () -> String? # - # source://yarp/lib/yarp/node.rb#7242 + # source://yarp/lib/yarp/node.rb#8980 def rparen; end # attr_reader rparen_loc: Location? # - # source://yarp/lib/yarp/node.rb#7193 + # source://yarp/lib/yarp/node.rb#8926 def rparen_loc; end # attr_reader targets: Array[Node] # - # source://yarp/lib/yarp/node.rb#7187 + # source://yarp/lib/yarp/node.rb#8920 def targets; end end @@ -8291,87 +10078,99 @@ end # a, b, c = 1, 2, 3 # ^^^^^^^^^^^^^^^^^ # -# source://yarp/lib/yarp/node.rb#7259 +# source://yarp/lib/yarp/node.rb#9004 class YARP::MultiWriteNode < ::YARP::Node # def initialize: (targets: Array[Node], lparen_loc: Location?, rparen_loc: Location?, operator_loc: Location, value: Node, location: Location) -> void # # @return [MultiWriteNode] a new instance of MultiWriteNode # - # source://yarp/lib/yarp/node.rb#7276 + # source://yarp/lib/yarp/node.rb#9021 def initialize(targets, lparen_loc, rparen_loc, operator_loc, value, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#7286 + # source://yarp/lib/yarp/node.rb#9031 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#7291 + # source://yarp/lib/yarp/node.rb#9036 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#7296 + # source://yarp/lib/yarp/node.rb#9046 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#9041 + def compact_child_nodes; end + # def copy: (**params) -> MultiWriteNode # - # source://yarp/lib/yarp/node.rb#7301 + # source://yarp/lib/yarp/node.rb#9051 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#7291 + # source://yarp/lib/yarp/node.rb#9036 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#7316 + # source://yarp/lib/yarp/node.rb#9066 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#7335 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#9099 + def human; end + + # source://yarp/lib/yarp/node.rb#9085 def inspect(inspector = T.unsafe(nil)); end # def lparen: () -> String? # - # source://yarp/lib/yarp/node.rb#7321 + # source://yarp/lib/yarp/node.rb#9071 def lparen; end # attr_reader lparen_loc: Location? # - # source://yarp/lib/yarp/node.rb#7264 + # source://yarp/lib/yarp/node.rb#9009 def lparen_loc; end # def operator: () -> String # - # source://yarp/lib/yarp/node.rb#7331 + # source://yarp/lib/yarp/node.rb#9081 def operator; end # attr_reader operator_loc: Location # - # source://yarp/lib/yarp/node.rb#7270 + # source://yarp/lib/yarp/node.rb#9015 def operator_loc; end # def rparen: () -> String? # - # source://yarp/lib/yarp/node.rb#7326 + # source://yarp/lib/yarp/node.rb#9076 def rparen; end # attr_reader rparen_loc: Location? # - # source://yarp/lib/yarp/node.rb#7267 + # source://yarp/lib/yarp/node.rb#9012 def rparen_loc; end # attr_reader targets: Array[Node] # - # source://yarp/lib/yarp/node.rb#7261 + # source://yarp/lib/yarp/node.rb#9006 def targets; end # attr_reader value: Node # - # source://yarp/lib/yarp/node.rb#7273 + # source://yarp/lib/yarp/node.rb#9018 def value; end end @@ -8381,684 +10180,709 @@ end # # source://yarp/lib/yarp/mutation_visitor.rb#12 class YARP::MutationVisitor < ::YARP::BasicVisitor - # Copy a AliasNode node + # Copy a AliasGlobalVariableNode node # # source://yarp/lib/yarp/mutation_visitor.rb#14 - def visit_alias_node(node); end + def visit_alias_global_variable_node(node); end - # Copy a AlternationPatternNode node + # Copy a AliasMethodNode node # # source://yarp/lib/yarp/mutation_visitor.rb#19 + def visit_alias_method_node(node); end + + # Copy a AlternationPatternNode node + # + # source://yarp/lib/yarp/mutation_visitor.rb#24 def visit_alternation_pattern_node(node); end # Copy a AndNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#24 + # source://yarp/lib/yarp/mutation_visitor.rb#29 def visit_and_node(node); end # Copy a ArgumentsNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#29 + # source://yarp/lib/yarp/mutation_visitor.rb#34 def visit_arguments_node(node); end # Copy a ArrayNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#34 + # source://yarp/lib/yarp/mutation_visitor.rb#39 def visit_array_node(node); end # Copy a ArrayPatternNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#39 + # source://yarp/lib/yarp/mutation_visitor.rb#44 def visit_array_pattern_node(node); end # Copy a AssocNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#44 + # source://yarp/lib/yarp/mutation_visitor.rb#49 def visit_assoc_node(node); end # Copy a AssocSplatNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#49 + # source://yarp/lib/yarp/mutation_visitor.rb#54 def visit_assoc_splat_node(node); end # Copy a BackReferenceReadNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#54 + # source://yarp/lib/yarp/mutation_visitor.rb#59 def visit_back_reference_read_node(node); end # Copy a BeginNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#59 + # source://yarp/lib/yarp/mutation_visitor.rb#64 def visit_begin_node(node); end # Copy a BlockArgumentNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#64 + # source://yarp/lib/yarp/mutation_visitor.rb#69 def visit_block_argument_node(node); end # Copy a BlockLocalVariableNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#69 + # source://yarp/lib/yarp/mutation_visitor.rb#74 def visit_block_local_variable_node(node); end # Copy a BlockNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#74 + # source://yarp/lib/yarp/mutation_visitor.rb#79 def visit_block_node(node); end # Copy a BlockParameterNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#79 + # source://yarp/lib/yarp/mutation_visitor.rb#84 def visit_block_parameter_node(node); end # Copy a BlockParametersNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#84 + # source://yarp/lib/yarp/mutation_visitor.rb#89 def visit_block_parameters_node(node); end # Copy a BreakNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#89 + # source://yarp/lib/yarp/mutation_visitor.rb#94 def visit_break_node(node); end # Copy a CallAndWriteNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#94 + # source://yarp/lib/yarp/mutation_visitor.rb#99 def visit_call_and_write_node(node); end # Copy a CallNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#99 + # source://yarp/lib/yarp/mutation_visitor.rb#104 def visit_call_node(node); end # Copy a CallOperatorWriteNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#104 + # source://yarp/lib/yarp/mutation_visitor.rb#109 def visit_call_operator_write_node(node); end # Copy a CallOrWriteNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#109 + # source://yarp/lib/yarp/mutation_visitor.rb#114 def visit_call_or_write_node(node); end # Copy a CapturePatternNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#114 + # source://yarp/lib/yarp/mutation_visitor.rb#119 def visit_capture_pattern_node(node); end # Copy a CaseNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#119 + # source://yarp/lib/yarp/mutation_visitor.rb#124 def visit_case_node(node); end # Copy a ClassNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#124 + # source://yarp/lib/yarp/mutation_visitor.rb#129 def visit_class_node(node); end # Copy a ClassVariableAndWriteNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#129 + # source://yarp/lib/yarp/mutation_visitor.rb#134 def visit_class_variable_and_write_node(node); end # Copy a ClassVariableOperatorWriteNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#134 + # source://yarp/lib/yarp/mutation_visitor.rb#139 def visit_class_variable_operator_write_node(node); end # Copy a ClassVariableOrWriteNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#139 + # source://yarp/lib/yarp/mutation_visitor.rb#144 def visit_class_variable_or_write_node(node); end # Copy a ClassVariableReadNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#144 + # source://yarp/lib/yarp/mutation_visitor.rb#149 def visit_class_variable_read_node(node); end # Copy a ClassVariableTargetNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#149 + # source://yarp/lib/yarp/mutation_visitor.rb#154 def visit_class_variable_target_node(node); end # Copy a ClassVariableWriteNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#154 + # source://yarp/lib/yarp/mutation_visitor.rb#159 def visit_class_variable_write_node(node); end # Copy a ConstantAndWriteNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#159 + # source://yarp/lib/yarp/mutation_visitor.rb#164 def visit_constant_and_write_node(node); end # Copy a ConstantOperatorWriteNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#164 + # source://yarp/lib/yarp/mutation_visitor.rb#169 def visit_constant_operator_write_node(node); end # Copy a ConstantOrWriteNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#169 + # source://yarp/lib/yarp/mutation_visitor.rb#174 def visit_constant_or_write_node(node); end # Copy a ConstantPathAndWriteNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#174 + # source://yarp/lib/yarp/mutation_visitor.rb#179 def visit_constant_path_and_write_node(node); end # Copy a ConstantPathNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#179 + # source://yarp/lib/yarp/mutation_visitor.rb#184 def visit_constant_path_node(node); end # Copy a ConstantPathOperatorWriteNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#184 + # source://yarp/lib/yarp/mutation_visitor.rb#189 def visit_constant_path_operator_write_node(node); end # Copy a ConstantPathOrWriteNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#189 + # source://yarp/lib/yarp/mutation_visitor.rb#194 def visit_constant_path_or_write_node(node); end # Copy a ConstantPathTargetNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#194 + # source://yarp/lib/yarp/mutation_visitor.rb#199 def visit_constant_path_target_node(node); end # Copy a ConstantPathWriteNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#199 + # source://yarp/lib/yarp/mutation_visitor.rb#204 def visit_constant_path_write_node(node); end # Copy a ConstantReadNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#204 + # source://yarp/lib/yarp/mutation_visitor.rb#209 def visit_constant_read_node(node); end # Copy a ConstantTargetNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#209 + # source://yarp/lib/yarp/mutation_visitor.rb#214 def visit_constant_target_node(node); end # Copy a ConstantWriteNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#214 + # source://yarp/lib/yarp/mutation_visitor.rb#219 def visit_constant_write_node(node); end # Copy a DefNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#219 + # source://yarp/lib/yarp/mutation_visitor.rb#224 def visit_def_node(node); end # Copy a DefinedNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#224 + # source://yarp/lib/yarp/mutation_visitor.rb#229 def visit_defined_node(node); end # Copy a ElseNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#229 + # source://yarp/lib/yarp/mutation_visitor.rb#234 def visit_else_node(node); end # Copy a EmbeddedStatementsNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#234 + # source://yarp/lib/yarp/mutation_visitor.rb#239 def visit_embedded_statements_node(node); end # Copy a EmbeddedVariableNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#239 + # source://yarp/lib/yarp/mutation_visitor.rb#244 def visit_embedded_variable_node(node); end # Copy a EnsureNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#244 + # source://yarp/lib/yarp/mutation_visitor.rb#249 def visit_ensure_node(node); end # Copy a FalseNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#249 + # source://yarp/lib/yarp/mutation_visitor.rb#254 def visit_false_node(node); end # Copy a FindPatternNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#254 + # source://yarp/lib/yarp/mutation_visitor.rb#259 def visit_find_pattern_node(node); end # Copy a FlipFlopNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#259 + # source://yarp/lib/yarp/mutation_visitor.rb#264 def visit_flip_flop_node(node); end # Copy a FloatNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#264 + # source://yarp/lib/yarp/mutation_visitor.rb#269 def visit_float_node(node); end # Copy a ForNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#269 + # source://yarp/lib/yarp/mutation_visitor.rb#274 def visit_for_node(node); end # Copy a ForwardingArgumentsNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#274 + # source://yarp/lib/yarp/mutation_visitor.rb#279 def visit_forwarding_arguments_node(node); end # Copy a ForwardingParameterNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#279 + # source://yarp/lib/yarp/mutation_visitor.rb#284 def visit_forwarding_parameter_node(node); end # Copy a ForwardingSuperNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#284 + # source://yarp/lib/yarp/mutation_visitor.rb#289 def visit_forwarding_super_node(node); end # Copy a GlobalVariableAndWriteNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#289 + # source://yarp/lib/yarp/mutation_visitor.rb#294 def visit_global_variable_and_write_node(node); end # Copy a GlobalVariableOperatorWriteNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#294 + # source://yarp/lib/yarp/mutation_visitor.rb#299 def visit_global_variable_operator_write_node(node); end # Copy a GlobalVariableOrWriteNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#299 + # source://yarp/lib/yarp/mutation_visitor.rb#304 def visit_global_variable_or_write_node(node); end # Copy a GlobalVariableReadNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#304 + # source://yarp/lib/yarp/mutation_visitor.rb#309 def visit_global_variable_read_node(node); end # Copy a GlobalVariableTargetNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#309 + # source://yarp/lib/yarp/mutation_visitor.rb#314 def visit_global_variable_target_node(node); end # Copy a GlobalVariableWriteNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#314 + # source://yarp/lib/yarp/mutation_visitor.rb#319 def visit_global_variable_write_node(node); end # Copy a HashNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#319 + # source://yarp/lib/yarp/mutation_visitor.rb#324 def visit_hash_node(node); end # Copy a HashPatternNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#324 + # source://yarp/lib/yarp/mutation_visitor.rb#329 def visit_hash_pattern_node(node); end # Copy a IfNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#329 + # source://yarp/lib/yarp/mutation_visitor.rb#334 def visit_if_node(node); end # Copy a ImaginaryNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#334 + # source://yarp/lib/yarp/mutation_visitor.rb#339 def visit_imaginary_node(node); end + # Copy a ImplicitNode node + # + # source://yarp/lib/yarp/mutation_visitor.rb#344 + def visit_implicit_node(node); end + # Copy a InNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#339 + # source://yarp/lib/yarp/mutation_visitor.rb#349 def visit_in_node(node); end # Copy a InstanceVariableAndWriteNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#344 + # source://yarp/lib/yarp/mutation_visitor.rb#354 def visit_instance_variable_and_write_node(node); end # Copy a InstanceVariableOperatorWriteNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#349 + # source://yarp/lib/yarp/mutation_visitor.rb#359 def visit_instance_variable_operator_write_node(node); end # Copy a InstanceVariableOrWriteNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#354 + # source://yarp/lib/yarp/mutation_visitor.rb#364 def visit_instance_variable_or_write_node(node); end # Copy a InstanceVariableReadNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#359 + # source://yarp/lib/yarp/mutation_visitor.rb#369 def visit_instance_variable_read_node(node); end # Copy a InstanceVariableTargetNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#364 + # source://yarp/lib/yarp/mutation_visitor.rb#374 def visit_instance_variable_target_node(node); end # Copy a InstanceVariableWriteNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#369 + # source://yarp/lib/yarp/mutation_visitor.rb#379 def visit_instance_variable_write_node(node); end # Copy a IntegerNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#374 + # source://yarp/lib/yarp/mutation_visitor.rb#384 def visit_integer_node(node); end + # Copy a InterpolatedMatchLastLineNode node + # + # source://yarp/lib/yarp/mutation_visitor.rb#389 + def visit_interpolated_match_last_line_node(node); end + # Copy a InterpolatedRegularExpressionNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#379 + # source://yarp/lib/yarp/mutation_visitor.rb#394 def visit_interpolated_regular_expression_node(node); end # Copy a InterpolatedStringNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#384 + # source://yarp/lib/yarp/mutation_visitor.rb#399 def visit_interpolated_string_node(node); end # Copy a InterpolatedSymbolNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#389 + # source://yarp/lib/yarp/mutation_visitor.rb#404 def visit_interpolated_symbol_node(node); end # Copy a InterpolatedXStringNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#394 + # source://yarp/lib/yarp/mutation_visitor.rb#409 def visit_interpolated_x_string_node(node); end # Copy a KeywordHashNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#399 + # source://yarp/lib/yarp/mutation_visitor.rb#414 def visit_keyword_hash_node(node); end # Copy a KeywordParameterNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#404 + # source://yarp/lib/yarp/mutation_visitor.rb#419 def visit_keyword_parameter_node(node); end # Copy a KeywordRestParameterNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#409 + # source://yarp/lib/yarp/mutation_visitor.rb#424 def visit_keyword_rest_parameter_node(node); end # Copy a LambdaNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#414 + # source://yarp/lib/yarp/mutation_visitor.rb#429 def visit_lambda_node(node); end # Copy a LocalVariableAndWriteNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#419 + # source://yarp/lib/yarp/mutation_visitor.rb#434 def visit_local_variable_and_write_node(node); end # Copy a LocalVariableOperatorWriteNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#424 + # source://yarp/lib/yarp/mutation_visitor.rb#439 def visit_local_variable_operator_write_node(node); end # Copy a LocalVariableOrWriteNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#429 + # source://yarp/lib/yarp/mutation_visitor.rb#444 def visit_local_variable_or_write_node(node); end # Copy a LocalVariableReadNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#434 + # source://yarp/lib/yarp/mutation_visitor.rb#449 def visit_local_variable_read_node(node); end # Copy a LocalVariableTargetNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#439 + # source://yarp/lib/yarp/mutation_visitor.rb#454 def visit_local_variable_target_node(node); end # Copy a LocalVariableWriteNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#444 + # source://yarp/lib/yarp/mutation_visitor.rb#459 def visit_local_variable_write_node(node); end + # Copy a MatchLastLineNode node + # + # source://yarp/lib/yarp/mutation_visitor.rb#464 + def visit_match_last_line_node(node); end + # Copy a MatchPredicateNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#449 + # source://yarp/lib/yarp/mutation_visitor.rb#469 def visit_match_predicate_node(node); end # Copy a MatchRequiredNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#454 + # source://yarp/lib/yarp/mutation_visitor.rb#474 def visit_match_required_node(node); end + # Copy a MatchWriteNode node + # + # source://yarp/lib/yarp/mutation_visitor.rb#479 + def visit_match_write_node(node); end + # Copy a MissingNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#459 + # source://yarp/lib/yarp/mutation_visitor.rb#484 def visit_missing_node(node); end # Copy a ModuleNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#464 + # source://yarp/lib/yarp/mutation_visitor.rb#489 def visit_module_node(node); end # Copy a MultiTargetNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#469 + # source://yarp/lib/yarp/mutation_visitor.rb#494 def visit_multi_target_node(node); end # Copy a MultiWriteNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#474 + # source://yarp/lib/yarp/mutation_visitor.rb#499 def visit_multi_write_node(node); end # Copy a NextNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#479 + # source://yarp/lib/yarp/mutation_visitor.rb#504 def visit_next_node(node); end # Copy a NilNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#484 + # source://yarp/lib/yarp/mutation_visitor.rb#509 def visit_nil_node(node); end # Copy a NoKeywordsParameterNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#489 + # source://yarp/lib/yarp/mutation_visitor.rb#514 def visit_no_keywords_parameter_node(node); end # Copy a NumberedReferenceReadNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#494 + # source://yarp/lib/yarp/mutation_visitor.rb#519 def visit_numbered_reference_read_node(node); end # Copy a OptionalParameterNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#499 + # source://yarp/lib/yarp/mutation_visitor.rb#524 def visit_optional_parameter_node(node); end # Copy a OrNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#504 + # source://yarp/lib/yarp/mutation_visitor.rb#529 def visit_or_node(node); end # Copy a ParametersNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#509 + # source://yarp/lib/yarp/mutation_visitor.rb#534 def visit_parameters_node(node); end # Copy a ParenthesesNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#514 + # source://yarp/lib/yarp/mutation_visitor.rb#539 def visit_parentheses_node(node); end # Copy a PinnedExpressionNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#519 + # source://yarp/lib/yarp/mutation_visitor.rb#544 def visit_pinned_expression_node(node); end # Copy a PinnedVariableNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#524 + # source://yarp/lib/yarp/mutation_visitor.rb#549 def visit_pinned_variable_node(node); end # Copy a PostExecutionNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#529 + # source://yarp/lib/yarp/mutation_visitor.rb#554 def visit_post_execution_node(node); end # Copy a PreExecutionNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#534 + # source://yarp/lib/yarp/mutation_visitor.rb#559 def visit_pre_execution_node(node); end # Copy a ProgramNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#539 + # source://yarp/lib/yarp/mutation_visitor.rb#564 def visit_program_node(node); end # Copy a RangeNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#544 + # source://yarp/lib/yarp/mutation_visitor.rb#569 def visit_range_node(node); end # Copy a RationalNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#549 + # source://yarp/lib/yarp/mutation_visitor.rb#574 def visit_rational_node(node); end # Copy a RedoNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#554 + # source://yarp/lib/yarp/mutation_visitor.rb#579 def visit_redo_node(node); end # Copy a RegularExpressionNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#559 + # source://yarp/lib/yarp/mutation_visitor.rb#584 def visit_regular_expression_node(node); end # Copy a RequiredDestructuredParameterNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#564 + # source://yarp/lib/yarp/mutation_visitor.rb#589 def visit_required_destructured_parameter_node(node); end # Copy a RequiredParameterNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#569 + # source://yarp/lib/yarp/mutation_visitor.rb#594 def visit_required_parameter_node(node); end # Copy a RescueModifierNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#574 + # source://yarp/lib/yarp/mutation_visitor.rb#599 def visit_rescue_modifier_node(node); end # Copy a RescueNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#579 + # source://yarp/lib/yarp/mutation_visitor.rb#604 def visit_rescue_node(node); end # Copy a RestParameterNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#584 + # source://yarp/lib/yarp/mutation_visitor.rb#609 def visit_rest_parameter_node(node); end # Copy a RetryNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#589 + # source://yarp/lib/yarp/mutation_visitor.rb#614 def visit_retry_node(node); end # Copy a ReturnNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#594 + # source://yarp/lib/yarp/mutation_visitor.rb#619 def visit_return_node(node); end # Copy a SelfNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#599 + # source://yarp/lib/yarp/mutation_visitor.rb#624 def visit_self_node(node); end # Copy a SingletonClassNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#604 + # source://yarp/lib/yarp/mutation_visitor.rb#629 def visit_singleton_class_node(node); end # Copy a SourceEncodingNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#609 + # source://yarp/lib/yarp/mutation_visitor.rb#634 def visit_source_encoding_node(node); end # Copy a SourceFileNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#614 + # source://yarp/lib/yarp/mutation_visitor.rb#639 def visit_source_file_node(node); end # Copy a SourceLineNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#619 + # source://yarp/lib/yarp/mutation_visitor.rb#644 def visit_source_line_node(node); end # Copy a SplatNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#624 + # source://yarp/lib/yarp/mutation_visitor.rb#649 def visit_splat_node(node); end # Copy a StatementsNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#629 + # source://yarp/lib/yarp/mutation_visitor.rb#654 def visit_statements_node(node); end # Copy a StringConcatNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#634 + # source://yarp/lib/yarp/mutation_visitor.rb#659 def visit_string_concat_node(node); end # Copy a StringNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#639 + # source://yarp/lib/yarp/mutation_visitor.rb#664 def visit_string_node(node); end # Copy a SuperNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#644 + # source://yarp/lib/yarp/mutation_visitor.rb#669 def visit_super_node(node); end # Copy a SymbolNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#649 + # source://yarp/lib/yarp/mutation_visitor.rb#674 def visit_symbol_node(node); end # Copy a TrueNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#654 + # source://yarp/lib/yarp/mutation_visitor.rb#679 def visit_true_node(node); end # Copy a UndefNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#659 + # source://yarp/lib/yarp/mutation_visitor.rb#684 def visit_undef_node(node); end # Copy a UnlessNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#664 + # source://yarp/lib/yarp/mutation_visitor.rb#689 def visit_unless_node(node); end # Copy a UntilNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#669 + # source://yarp/lib/yarp/mutation_visitor.rb#694 def visit_until_node(node); end # Copy a WhenNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#674 + # source://yarp/lib/yarp/mutation_visitor.rb#699 def visit_when_node(node); end # Copy a WhileNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#679 + # source://yarp/lib/yarp/mutation_visitor.rb#704 def visit_while_node(node); end # Copy a XStringNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#684 + # source://yarp/lib/yarp/mutation_visitor.rb#709 def visit_x_string_node(node); end # Copy a YieldNode node # - # source://yarp/lib/yarp/mutation_visitor.rb#689 + # source://yarp/lib/yarp/mutation_visitor.rb#714 def visit_yield_node(node); end end @@ -9067,62 +10891,74 @@ end # next 1 # ^^^^^^ # -# source://yarp/lib/yarp/node.rb#7351 +# source://yarp/lib/yarp/node.rb#9108 class YARP::NextNode < ::YARP::Node # def initialize: (arguments: ArgumentsNode?, keyword_loc: Location, location: Location) -> void # # @return [NextNode] a new instance of NextNode # - # source://yarp/lib/yarp/node.rb#7359 + # source://yarp/lib/yarp/node.rb#9116 def initialize(arguments, keyword_loc, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#7366 + # source://yarp/lib/yarp/node.rb#9123 def accept(visitor); end # attr_reader arguments: ArgumentsNode? # - # source://yarp/lib/yarp/node.rb#7353 + # source://yarp/lib/yarp/node.rb#9110 def arguments; end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#7371 + # source://yarp/lib/yarp/node.rb#9128 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#7376 + # source://yarp/lib/yarp/node.rb#9140 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#9133 + def compact_child_nodes; end + # def copy: (**params) -> NextNode # - # source://yarp/lib/yarp/node.rb#7381 + # source://yarp/lib/yarp/node.rb#9145 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#7371 + # source://yarp/lib/yarp/node.rb#9128 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#7393 + # source://yarp/lib/yarp/node.rb#9157 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#7402 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#9181 + def human; end + + # source://yarp/lib/yarp/node.rb#9166 def inspect(inspector = T.unsafe(nil)); end # def keyword: () -> String # - # source://yarp/lib/yarp/node.rb#7398 + # source://yarp/lib/yarp/node.rb#9162 def keyword; end # attr_reader keyword_loc: Location # - # source://yarp/lib/yarp/node.rb#7356 + # source://yarp/lib/yarp/node.rb#9113 def keyword_loc; end end @@ -9131,47 +10967,59 @@ end # nil # ^^^ # -# source://yarp/lib/yarp/node.rb#7419 +# source://yarp/lib/yarp/node.rb#9190 class YARP::NilNode < ::YARP::Node # def initialize: (location: Location) -> void # # @return [NilNode] a new instance of NilNode # - # source://yarp/lib/yarp/node.rb#7421 + # source://yarp/lib/yarp/node.rb#9192 def initialize(location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#7426 + # source://yarp/lib/yarp/node.rb#9197 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#7431 + # source://yarp/lib/yarp/node.rb#9202 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#7436 + # source://yarp/lib/yarp/node.rb#9212 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#9207 + def compact_child_nodes; end + # def copy: (**params) -> NilNode # - # source://yarp/lib/yarp/node.rb#7441 + # source://yarp/lib/yarp/node.rb#9217 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#7431 + # source://yarp/lib/yarp/node.rb#9202 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#7451 + # source://yarp/lib/yarp/node.rb#9227 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#7455 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#9239 + def human; end + + # source://yarp/lib/yarp/node.rb#9231 def inspect(inspector = T.unsafe(nil)); end end @@ -9181,67 +11029,79 @@ end # ^^^^^ # end # -# source://yarp/lib/yarp/node.rb#7466 +# source://yarp/lib/yarp/node.rb#9249 class YARP::NoKeywordsParameterNode < ::YARP::Node # def initialize: (operator_loc: Location, keyword_loc: Location, location: Location) -> void # # @return [NoKeywordsParameterNode] a new instance of NoKeywordsParameterNode # - # source://yarp/lib/yarp/node.rb#7474 + # source://yarp/lib/yarp/node.rb#9257 def initialize(operator_loc, keyword_loc, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#7481 + # source://yarp/lib/yarp/node.rb#9264 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#7486 + # source://yarp/lib/yarp/node.rb#9269 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#7491 + # source://yarp/lib/yarp/node.rb#9279 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#9274 + def compact_child_nodes; end + # def copy: (**params) -> NoKeywordsParameterNode # - # source://yarp/lib/yarp/node.rb#7496 + # source://yarp/lib/yarp/node.rb#9284 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#7486 + # source://yarp/lib/yarp/node.rb#9269 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#7508 + # source://yarp/lib/yarp/node.rb#9296 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#7522 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#9320 + def human; end + + # source://yarp/lib/yarp/node.rb#9310 def inspect(inspector = T.unsafe(nil)); end # def keyword: () -> String # - # source://yarp/lib/yarp/node.rb#7518 + # source://yarp/lib/yarp/node.rb#9306 def keyword; end # attr_reader keyword_loc: Location # - # source://yarp/lib/yarp/node.rb#7471 + # source://yarp/lib/yarp/node.rb#9254 def keyword_loc; end # def operator: () -> String # - # source://yarp/lib/yarp/node.rb#7513 + # source://yarp/lib/yarp/node.rb#9301 def operator; end # attr_reader operator_loc: Location # - # source://yarp/lib/yarp/node.rb#7468 + # source://yarp/lib/yarp/node.rb#9251 def operator_loc; end end @@ -9274,58 +11134,58 @@ end # This object is responsible for generating the output for the inspect method # implementations of child nodes. # -# source://yarp/lib/yarp.rb#329 +# source://yarp/lib/yarp.rb#316 class YARP::NodeInspector # @return [NodeInspector] a new instance of NodeInspector # - # source://yarp/lib/yarp.rb#332 + # source://yarp/lib/yarp.rb#319 def initialize(prefix = T.unsafe(nil)); end # Appends a line to the output with the current prefix. # - # source://yarp/lib/yarp.rb#338 + # source://yarp/lib/yarp.rb#325 def <<(line); end # Returns a new inspector that can be used to inspect a child node. # - # source://yarp/lib/yarp.rb#382 + # source://yarp/lib/yarp.rb#369 def child_inspector(append); end # Generates a string that represents a child node. # - # source://yarp/lib/yarp.rb#377 + # source://yarp/lib/yarp.rb#364 def child_node(node, append); end # This generates a string that is used as the header of the inspect output # for any given node. # - # source://yarp/lib/yarp.rb#344 + # source://yarp/lib/yarp.rb#331 def header(node); end # Generates a string that represents a list of nodes. It handles properly # using the box drawing characters to make the output look nice. # - # source://yarp/lib/yarp.rb#354 + # source://yarp/lib/yarp.rb#341 def list(prefix, nodes); end # Generates a string that represents a location field on a node. # - # source://yarp/lib/yarp.rb#368 + # source://yarp/lib/yarp.rb#355 def location(value); end # Returns the value of attribute output. # - # source://yarp/lib/yarp.rb#330 + # source://yarp/lib/yarp.rb#317 def output; end # Returns the value of attribute prefix. # - # source://yarp/lib/yarp.rb#330 + # source://yarp/lib/yarp.rb#317 def prefix; end # Returns the output as a string. # - # source://yarp/lib/yarp.rb#387 + # source://yarp/lib/yarp.rb#374 def to_str; end end @@ -9334,52 +11194,64 @@ end # $1 # ^^ # -# source://yarp/lib/yarp/node.rb#7534 +# source://yarp/lib/yarp/node.rb#9329 class YARP::NumberedReferenceReadNode < ::YARP::Node # def initialize: (number: Integer, location: Location) -> void # # @return [NumberedReferenceReadNode] a new instance of NumberedReferenceReadNode # - # source://yarp/lib/yarp/node.rb#7539 + # source://yarp/lib/yarp/node.rb#9334 def initialize(number, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#7545 + # source://yarp/lib/yarp/node.rb#9340 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#7550 + # source://yarp/lib/yarp/node.rb#9345 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#7555 + # source://yarp/lib/yarp/node.rb#9355 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#9350 + def compact_child_nodes; end + # def copy: (**params) -> NumberedReferenceReadNode # - # source://yarp/lib/yarp/node.rb#7560 + # source://yarp/lib/yarp/node.rb#9360 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#7550 + # source://yarp/lib/yarp/node.rb#9345 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#7571 + # source://yarp/lib/yarp/node.rb#9371 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#7575 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#9384 + def human; end + + # source://yarp/lib/yarp/node.rb#9375 def inspect(inspector = T.unsafe(nil)); end # attr_reader number: Integer # - # source://yarp/lib/yarp/node.rb#7536 + # source://yarp/lib/yarp/node.rb#9331 def number; end end @@ -9389,72 +11261,84 @@ end # ^^^^^ # end # -# source://yarp/lib/yarp/node.rb#7587 +# source://yarp/lib/yarp/node.rb#9394 class YARP::OptionalParameterNode < ::YARP::Node # def initialize: (name: Symbol, name_loc: Location, operator_loc: Location, value: Node, location: Location) -> void # # @return [OptionalParameterNode] a new instance of OptionalParameterNode # - # source://yarp/lib/yarp/node.rb#7601 + # source://yarp/lib/yarp/node.rb#9408 def initialize(name, name_loc, operator_loc, value, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#7610 + # source://yarp/lib/yarp/node.rb#9417 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#7615 + # source://yarp/lib/yarp/node.rb#9422 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#7620 + # source://yarp/lib/yarp/node.rb#9432 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#9427 + def compact_child_nodes; end + # def copy: (**params) -> OptionalParameterNode # - # source://yarp/lib/yarp/node.rb#7625 + # source://yarp/lib/yarp/node.rb#9437 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#7615 + # source://yarp/lib/yarp/node.rb#9422 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#7639 + # source://yarp/lib/yarp/node.rb#9451 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#7648 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#9473 + def human; end + + # source://yarp/lib/yarp/node.rb#9460 def inspect(inspector = T.unsafe(nil)); end # attr_reader name: Symbol # - # source://yarp/lib/yarp/node.rb#7589 + # source://yarp/lib/yarp/node.rb#9396 def name; end # attr_reader name_loc: Location # - # source://yarp/lib/yarp/node.rb#7592 + # source://yarp/lib/yarp/node.rb#9399 def name_loc; end # def operator: () -> String # - # source://yarp/lib/yarp/node.rb#7644 + # source://yarp/lib/yarp/node.rb#9456 def operator; end # attr_reader operator_loc: Location # - # source://yarp/lib/yarp/node.rb#7595 + # source://yarp/lib/yarp/node.rb#9402 def operator_loc; end # attr_reader value: Node # - # source://yarp/lib/yarp/node.rb#7598 + # source://yarp/lib/yarp/node.rb#9405 def value; end end @@ -9463,67 +11347,79 @@ end # left or right # ^^^^^^^^^^^^^ # -# source://yarp/lib/yarp/node.rb#7663 +# source://yarp/lib/yarp/node.rb#9482 class YARP::OrNode < ::YARP::Node # def initialize: (left: Node, right: Node, operator_loc: Location, location: Location) -> void # # @return [OrNode] a new instance of OrNode # - # source://yarp/lib/yarp/node.rb#7674 + # source://yarp/lib/yarp/node.rb#9493 def initialize(left, right, operator_loc, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#7682 + # source://yarp/lib/yarp/node.rb#9501 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#7687 + # source://yarp/lib/yarp/node.rb#9506 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#7692 + # source://yarp/lib/yarp/node.rb#9516 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#9511 + def compact_child_nodes; end + # def copy: (**params) -> OrNode # - # source://yarp/lib/yarp/node.rb#7697 + # source://yarp/lib/yarp/node.rb#9521 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#7687 + # source://yarp/lib/yarp/node.rb#9506 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#7710 + # source://yarp/lib/yarp/node.rb#9534 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#7719 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#9556 + def human; end + + # source://yarp/lib/yarp/node.rb#9543 def inspect(inspector = T.unsafe(nil)); end # attr_reader left: Node # - # source://yarp/lib/yarp/node.rb#7665 + # source://yarp/lib/yarp/node.rb#9484 def left; end # def operator: () -> String # - # source://yarp/lib/yarp/node.rb#7715 + # source://yarp/lib/yarp/node.rb#9539 def operator; end # attr_reader operator_loc: Location # - # source://yarp/lib/yarp/node.rb#7671 + # source://yarp/lib/yarp/node.rb#9490 def operator_loc; end # attr_reader right: Node # - # source://yarp/lib/yarp/node.rb#7668 + # source://yarp/lib/yarp/node.rb#9487 def right; end end @@ -9755,82 +11651,94 @@ YARP::Pack::UTF8 = T.let(T.unsafe(nil), Symbol) # ^^^^^^^ # end # -# source://yarp/lib/yarp/node.rb#7735 +# source://yarp/lib/yarp/node.rb#9566 class YARP::ParametersNode < ::YARP::Node - # def initialize: (requireds: Array[Node], optionals: Array[Node], posts: Array[Node], rest: RestParameterNode?, keywords: Array[Node], keyword_rest: Node?, block: BlockParameterNode?, location: Location) -> void + # def initialize: (requireds: Array[Node], optionals: Array[Node], rest: RestParameterNode?, posts: Array[Node], keywords: Array[Node], keyword_rest: Node?, block: BlockParameterNode?, location: Location) -> void # # @return [ParametersNode] a new instance of ParametersNode # - # source://yarp/lib/yarp/node.rb#7758 - def initialize(requireds, optionals, posts, rest, keywords, keyword_rest, block, location); end + # source://yarp/lib/yarp/node.rb#9589 + def initialize(requireds, optionals, rest, posts, keywords, keyword_rest, block, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#7770 + # source://yarp/lib/yarp/node.rb#9601 def accept(visitor); end # attr_reader block: BlockParameterNode? # - # source://yarp/lib/yarp/node.rb#7755 + # source://yarp/lib/yarp/node.rb#9586 def block; end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#7775 + # source://yarp/lib/yarp/node.rb#9606 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#7780 + # source://yarp/lib/yarp/node.rb#9624 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#9611 + def compact_child_nodes; end + # def copy: (**params) -> ParametersNode # - # source://yarp/lib/yarp/node.rb#7785 + # source://yarp/lib/yarp/node.rb#9629 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#7775 + # source://yarp/lib/yarp/node.rb#9606 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#7802 + # source://yarp/lib/yarp/node.rb#9646 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#7806 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#9680 + def human; end + + # source://yarp/lib/yarp/node.rb#9650 def inspect(inspector = T.unsafe(nil)); end # attr_reader keyword_rest: Node? # - # source://yarp/lib/yarp/node.rb#7752 + # source://yarp/lib/yarp/node.rb#9583 def keyword_rest; end # attr_reader keywords: Array[Node] # - # source://yarp/lib/yarp/node.rb#7749 + # source://yarp/lib/yarp/node.rb#9580 def keywords; end # attr_reader optionals: Array[Node] # - # source://yarp/lib/yarp/node.rb#7740 + # source://yarp/lib/yarp/node.rb#9571 def optionals; end # attr_reader posts: Array[Node] # - # source://yarp/lib/yarp/node.rb#7743 + # source://yarp/lib/yarp/node.rb#9577 def posts; end # attr_reader requireds: Array[Node] # - # source://yarp/lib/yarp/node.rb#7737 + # source://yarp/lib/yarp/node.rb#9568 def requireds; end # attr_reader rest: RestParameterNode? # - # source://yarp/lib/yarp/node.rb#7746 + # source://yarp/lib/yarp/node.rb#9574 def rest; end end @@ -9839,75 +11747,87 @@ end # (10 + 34) # ^^^^^^^^^ # -# source://yarp/lib/yarp/node.rb#7838 +# source://yarp/lib/yarp/node.rb#9689 class YARP::ParenthesesNode < ::YARP::Node # def initialize: (body: Node?, opening_loc: Location, closing_loc: Location, location: Location) -> void # # @return [ParenthesesNode] a new instance of ParenthesesNode # - # source://yarp/lib/yarp/node.rb#7849 + # source://yarp/lib/yarp/node.rb#9700 def initialize(body, opening_loc, closing_loc, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#7857 + # source://yarp/lib/yarp/node.rb#9708 def accept(visitor); end # attr_reader body: Node? # - # source://yarp/lib/yarp/node.rb#7840 + # source://yarp/lib/yarp/node.rb#9691 def body; end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#7866 + # source://yarp/lib/yarp/node.rb#9717 def child_nodes; end # def closing: () -> String # - # source://yarp/lib/yarp/node.rb#7899 + # source://yarp/lib/yarp/node.rb#9757 def closing; end # attr_reader closing_loc: Location # - # source://yarp/lib/yarp/node.rb#7846 + # source://yarp/lib/yarp/node.rb#9697 def closing_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#7871 + # source://yarp/lib/yarp/node.rb#9729 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#9722 + def compact_child_nodes; end + # def copy: (**params) -> ParenthesesNode # - # source://yarp/lib/yarp/node.rb#7876 + # source://yarp/lib/yarp/node.rb#9734 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#7866 + # source://yarp/lib/yarp/node.rb#9717 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#7889 + # source://yarp/lib/yarp/node.rb#9747 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#7903 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#9777 + def human; end + + # source://yarp/lib/yarp/node.rb#9761 def inspect(inspector = T.unsafe(nil)); end # def opening: () -> String # - # source://yarp/lib/yarp/node.rb#7894 + # source://yarp/lib/yarp/node.rb#9752 def opening; end # attr_reader opening_loc: Location # - # source://yarp/lib/yarp/node.rb#7843 + # source://yarp/lib/yarp/node.rb#9694 def opening_loc; end - # source://yarp/lib/yarp/node.rb#7861 + # source://yarp/lib/yarp/node.rb#9712 def set_newline_flag(newline_marked); end end @@ -10307,82 +12227,94 @@ end # foo in ^(bar) # ^^^^^^ # -# source://yarp/lib/yarp/node.rb#7922 +# source://yarp/lib/yarp/node.rb#9787 class YARP::PinnedExpressionNode < ::YARP::Node # def initialize: (expression: Node, operator_loc: Location, lparen_loc: Location, rparen_loc: Location, location: Location) -> void # # @return [PinnedExpressionNode] a new instance of PinnedExpressionNode # - # source://yarp/lib/yarp/node.rb#7936 + # source://yarp/lib/yarp/node.rb#9801 def initialize(expression, operator_loc, lparen_loc, rparen_loc, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#7945 + # source://yarp/lib/yarp/node.rb#9810 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#7950 + # source://yarp/lib/yarp/node.rb#9815 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#7955 + # source://yarp/lib/yarp/node.rb#9825 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#9820 + def compact_child_nodes; end + # def copy: (**params) -> PinnedExpressionNode # - # source://yarp/lib/yarp/node.rb#7960 + # source://yarp/lib/yarp/node.rb#9830 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#7950 + # source://yarp/lib/yarp/node.rb#9815 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#7974 + # source://yarp/lib/yarp/node.rb#9844 def deconstruct_keys(keys); end # attr_reader expression: Node # - # source://yarp/lib/yarp/node.rb#7924 + # source://yarp/lib/yarp/node.rb#9789 def expression; end - # source://yarp/lib/yarp/node.rb#7993 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#9876 + def human; end + + # source://yarp/lib/yarp/node.rb#9863 def inspect(inspector = T.unsafe(nil)); end # def lparen: () -> String # - # source://yarp/lib/yarp/node.rb#7984 + # source://yarp/lib/yarp/node.rb#9854 def lparen; end # attr_reader lparen_loc: Location # - # source://yarp/lib/yarp/node.rb#7930 + # source://yarp/lib/yarp/node.rb#9795 def lparen_loc; end # def operator: () -> String # - # source://yarp/lib/yarp/node.rb#7979 + # source://yarp/lib/yarp/node.rb#9849 def operator; end # attr_reader operator_loc: Location # - # source://yarp/lib/yarp/node.rb#7927 + # source://yarp/lib/yarp/node.rb#9792 def operator_loc; end # def rparen: () -> String # - # source://yarp/lib/yarp/node.rb#7989 + # source://yarp/lib/yarp/node.rb#9859 def rparen; end # attr_reader rparen_loc: Location # - # source://yarp/lib/yarp/node.rb#7933 + # source://yarp/lib/yarp/node.rb#9798 def rparen_loc; end end @@ -10392,62 +12324,74 @@ end # foo in ^bar # ^^^^ # -# source://yarp/lib/yarp/node.rb#8009 +# source://yarp/lib/yarp/node.rb#9886 class YARP::PinnedVariableNode < ::YARP::Node # def initialize: (variable: Node, operator_loc: Location, location: Location) -> void # # @return [PinnedVariableNode] a new instance of PinnedVariableNode # - # source://yarp/lib/yarp/node.rb#8017 + # source://yarp/lib/yarp/node.rb#9894 def initialize(variable, operator_loc, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#8024 + # source://yarp/lib/yarp/node.rb#9901 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#8029 + # source://yarp/lib/yarp/node.rb#9906 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#8034 + # source://yarp/lib/yarp/node.rb#9916 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#9911 + def compact_child_nodes; end + # def copy: (**params) -> PinnedVariableNode # - # source://yarp/lib/yarp/node.rb#8039 + # source://yarp/lib/yarp/node.rb#9921 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#8029 + # source://yarp/lib/yarp/node.rb#9906 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#8051 + # source://yarp/lib/yarp/node.rb#9933 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#8060 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#9953 + def human; end + + # source://yarp/lib/yarp/node.rb#9942 def inspect(inspector = T.unsafe(nil)); end # def operator: () -> String # - # source://yarp/lib/yarp/node.rb#8056 + # source://yarp/lib/yarp/node.rb#9938 def operator; end # attr_reader operator_loc: Location # - # source://yarp/lib/yarp/node.rb#8014 + # source://yarp/lib/yarp/node.rb#9891 def operator_loc; end # attr_reader variable: Node # - # source://yarp/lib/yarp/node.rb#8011 + # source://yarp/lib/yarp/node.rb#9888 def variable; end end @@ -10456,82 +12400,94 @@ end # END { foo } # ^^^^^^^^^^^ # -# source://yarp/lib/yarp/node.rb#8073 +# source://yarp/lib/yarp/node.rb#9962 class YARP::PostExecutionNode < ::YARP::Node # def initialize: (statements: StatementsNode?, keyword_loc: Location, opening_loc: Location, closing_loc: Location, location: Location) -> void # # @return [PostExecutionNode] a new instance of PostExecutionNode # - # source://yarp/lib/yarp/node.rb#8087 + # source://yarp/lib/yarp/node.rb#9976 def initialize(statements, keyword_loc, opening_loc, closing_loc, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#8096 + # source://yarp/lib/yarp/node.rb#9985 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#8101 + # source://yarp/lib/yarp/node.rb#9990 def child_nodes; end # def closing: () -> String # - # source://yarp/lib/yarp/node.rb#8140 + # source://yarp/lib/yarp/node.rb#10036 def closing; end # attr_reader closing_loc: Location # - # source://yarp/lib/yarp/node.rb#8084 + # source://yarp/lib/yarp/node.rb#9973 def closing_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#8106 + # source://yarp/lib/yarp/node.rb#10002 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#9995 + def compact_child_nodes; end + # def copy: (**params) -> PostExecutionNode # - # source://yarp/lib/yarp/node.rb#8111 + # source://yarp/lib/yarp/node.rb#10007 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#8101 + # source://yarp/lib/yarp/node.rb#9990 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#8125 + # source://yarp/lib/yarp/node.rb#10021 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#8144 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#10057 + def human; end + + # source://yarp/lib/yarp/node.rb#10040 def inspect(inspector = T.unsafe(nil)); end # def keyword: () -> String # - # source://yarp/lib/yarp/node.rb#8130 + # source://yarp/lib/yarp/node.rb#10026 def keyword; end # attr_reader keyword_loc: Location # - # source://yarp/lib/yarp/node.rb#8078 + # source://yarp/lib/yarp/node.rb#9967 def keyword_loc; end # def opening: () -> String # - # source://yarp/lib/yarp/node.rb#8135 + # source://yarp/lib/yarp/node.rb#10031 def opening; end # attr_reader opening_loc: Location # - # source://yarp/lib/yarp/node.rb#8081 + # source://yarp/lib/yarp/node.rb#9970 def opening_loc; end # attr_reader statements: StatementsNode? # - # source://yarp/lib/yarp/node.rb#8075 + # source://yarp/lib/yarp/node.rb#9964 def statements; end end @@ -10540,147 +12496,171 @@ end # BEGIN { foo } # ^^^^^^^^^^^^^ # -# source://yarp/lib/yarp/node.rb#8163 +# source://yarp/lib/yarp/node.rb#10066 class YARP::PreExecutionNode < ::YARP::Node # def initialize: (statements: StatementsNode?, keyword_loc: Location, opening_loc: Location, closing_loc: Location, location: Location) -> void # # @return [PreExecutionNode] a new instance of PreExecutionNode # - # source://yarp/lib/yarp/node.rb#8177 + # source://yarp/lib/yarp/node.rb#10080 def initialize(statements, keyword_loc, opening_loc, closing_loc, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#8186 + # source://yarp/lib/yarp/node.rb#10089 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#8191 + # source://yarp/lib/yarp/node.rb#10094 def child_nodes; end # def closing: () -> String # - # source://yarp/lib/yarp/node.rb#8230 + # source://yarp/lib/yarp/node.rb#10140 def closing; end # attr_reader closing_loc: Location # - # source://yarp/lib/yarp/node.rb#8174 + # source://yarp/lib/yarp/node.rb#10077 def closing_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#8196 + # source://yarp/lib/yarp/node.rb#10106 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#10099 + def compact_child_nodes; end + # def copy: (**params) -> PreExecutionNode # - # source://yarp/lib/yarp/node.rb#8201 + # source://yarp/lib/yarp/node.rb#10111 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#8191 + # source://yarp/lib/yarp/node.rb#10094 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#8215 + # source://yarp/lib/yarp/node.rb#10125 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#8234 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#10161 + def human; end + + # source://yarp/lib/yarp/node.rb#10144 def inspect(inspector = T.unsafe(nil)); end # def keyword: () -> String # - # source://yarp/lib/yarp/node.rb#8220 + # source://yarp/lib/yarp/node.rb#10130 def keyword; end # attr_reader keyword_loc: Location # - # source://yarp/lib/yarp/node.rb#8168 + # source://yarp/lib/yarp/node.rb#10071 def keyword_loc; end # def opening: () -> String # - # source://yarp/lib/yarp/node.rb#8225 + # source://yarp/lib/yarp/node.rb#10135 def opening; end # attr_reader opening_loc: Location # - # source://yarp/lib/yarp/node.rb#8171 + # source://yarp/lib/yarp/node.rb#10074 def opening_loc; end # attr_reader statements: StatementsNode? # - # source://yarp/lib/yarp/node.rb#8165 + # source://yarp/lib/yarp/node.rb#10068 def statements; end end # The top level node of any parse tree. # -# source://yarp/lib/yarp/node.rb#8250 +# source://yarp/lib/yarp/node.rb#10167 class YARP::ProgramNode < ::YARP::Node # def initialize: (locals: Array[Symbol], statements: StatementsNode, location: Location) -> void # # @return [ProgramNode] a new instance of ProgramNode # - # source://yarp/lib/yarp/node.rb#8258 + # source://yarp/lib/yarp/node.rb#10175 def initialize(locals, statements, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#8265 + # source://yarp/lib/yarp/node.rb#10182 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#8270 + # source://yarp/lib/yarp/node.rb#10187 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#8275 + # source://yarp/lib/yarp/node.rb#10197 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#10192 + def compact_child_nodes; end + # def copy: (**params) -> ProgramNode # - # source://yarp/lib/yarp/node.rb#8280 + # source://yarp/lib/yarp/node.rb#10202 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#8270 + # source://yarp/lib/yarp/node.rb#10187 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#8292 + # source://yarp/lib/yarp/node.rb#10214 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#8296 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#10229 + def human; end + + # source://yarp/lib/yarp/node.rb#10218 def inspect(inspector = T.unsafe(nil)); end # attr_reader locals: Array[Symbol] # - # source://yarp/lib/yarp/node.rb#8252 + # source://yarp/lib/yarp/node.rb#10169 def locals; end # attr_reader statements: StatementsNode # - # source://yarp/lib/yarp/node.rb#8255 + # source://yarp/lib/yarp/node.rb#10172 def statements; end end -# source://yarp/lib/yarp/node.rb#10570 +# source://yarp/lib/yarp/node.rb#12922 module YARP::RangeFlags; end # ... operator # -# source://yarp/lib/yarp/node.rb#10572 +# source://yarp/lib/yarp/node.rb#12924 YARP::RangeFlags::EXCLUDE_END = T.let(T.unsafe(nil), Integer) # Represents the use of the `..` or `...` operators. @@ -10691,80 +12671,94 @@ YARP::RangeFlags::EXCLUDE_END = T.let(T.unsafe(nil), Integer) # c if a =~ /left/ ... b =~ /right/ # ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # -# source://yarp/lib/yarp/node.rb#8312 +# source://yarp/lib/yarp/node.rb#10241 class YARP::RangeNode < ::YARP::Node # def initialize: (left: Node?, right: Node?, operator_loc: Location, flags: Integer, location: Location) -> void # # @return [RangeNode] a new instance of RangeNode # - # source://yarp/lib/yarp/node.rb#8326 + # source://yarp/lib/yarp/node.rb#10255 def initialize(left, right, operator_loc, flags, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#8335 + # source://yarp/lib/yarp/node.rb#10264 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#8340 + # source://yarp/lib/yarp/node.rb#10269 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#8345 + # source://yarp/lib/yarp/node.rb#10282 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#10274 + def compact_child_nodes; end + # def copy: (**params) -> RangeNode # - # source://yarp/lib/yarp/node.rb#8350 + # source://yarp/lib/yarp/node.rb#10287 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#8340 + # source://yarp/lib/yarp/node.rb#10269 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#8364 + # source://yarp/lib/yarp/node.rb#10301 def deconstruct_keys(keys); end # def exclude_end?: () -> bool # # @return [Boolean] # - # source://yarp/lib/yarp/node.rb#8374 + # source://yarp/lib/yarp/node.rb#10311 def exclude_end?; end - # attr_reader flags: Integer + # Returns a symbol representation of the type of node. # - # source://yarp/lib/yarp/node.rb#8323 - def flags; end + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#10338 + def human; end - # source://yarp/lib/yarp/node.rb#8378 + # source://yarp/lib/yarp/node.rb#10315 def inspect(inspector = T.unsafe(nil)); end # attr_reader left: Node? # - # source://yarp/lib/yarp/node.rb#8314 + # source://yarp/lib/yarp/node.rb#10243 def left; end # def operator: () -> String # - # source://yarp/lib/yarp/node.rb#8369 + # source://yarp/lib/yarp/node.rb#10306 def operator; end # attr_reader operator_loc: Location # - # source://yarp/lib/yarp/node.rb#8320 + # source://yarp/lib/yarp/node.rb#10249 def operator_loc; end # attr_reader right: Node? # - # source://yarp/lib/yarp/node.rb#8317 + # source://yarp/lib/yarp/node.rb#10246 def right; end + + private + + # Returns the value of attribute flags. + # + # source://yarp/lib/yarp/node.rb#10252 + def flags; end end # Represents a rational number literal. @@ -10772,55 +12766,69 @@ end # 1.0r # ^^^^ # -# source://yarp/lib/yarp.rb#410 +# source://yarp/lib/yarp/node.rb#10347 class YARP::RationalNode < ::YARP::Node # def initialize: (numeric: Node, location: Location) -> void # # @return [RationalNode] a new instance of RationalNode # - # source://yarp/lib/yarp/node.rb#8407 + # source://yarp/lib/yarp/node.rb#10352 def initialize(numeric, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#8413 + # source://yarp/lib/yarp/node.rb#10358 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#8418 + # source://yarp/lib/yarp/node.rb#10363 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#8423 + # source://yarp/lib/yarp/node.rb#10373 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#10368 + def compact_child_nodes; end + # def copy: (**params) -> RationalNode # - # source://yarp/lib/yarp/node.rb#8428 + # source://yarp/lib/yarp/node.rb#10378 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#8418 + # source://yarp/lib/yarp/node.rb#10363 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#8439 + # source://yarp/lib/yarp/node.rb#10389 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#8443 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#10403 + def human; end + + # source://yarp/lib/yarp/node.rb#10393 def inspect(inspector = T.unsafe(nil)); end # attr_reader numeric: Node # - # source://yarp/lib/yarp/node.rb#8404 + # source://yarp/lib/yarp/node.rb#10349 def numeric; end - # source://yarp/lib/yarp.rb#411 + # Returns the value of the node as a Ruby Rational. + # + # source://yarp/lib/yarp.rb#601 def value; end end @@ -10829,91 +12837,103 @@ end # redo # ^^^^ # -# source://yarp/lib/yarp/node.rb#8455 +# source://yarp/lib/yarp/node.rb#10412 class YARP::RedoNode < ::YARP::Node # def initialize: (location: Location) -> void # # @return [RedoNode] a new instance of RedoNode # - # source://yarp/lib/yarp/node.rb#8457 + # source://yarp/lib/yarp/node.rb#10414 def initialize(location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#8462 + # source://yarp/lib/yarp/node.rb#10419 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#8467 + # source://yarp/lib/yarp/node.rb#10424 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#8472 + # source://yarp/lib/yarp/node.rb#10434 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#10429 + def compact_child_nodes; end + # def copy: (**params) -> RedoNode # - # source://yarp/lib/yarp/node.rb#8477 + # source://yarp/lib/yarp/node.rb#10439 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#8467 + # source://yarp/lib/yarp/node.rb#10424 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#8487 + # source://yarp/lib/yarp/node.rb#10449 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#8491 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#10461 + def human; end + + # source://yarp/lib/yarp/node.rb#10453 def inspect(inspector = T.unsafe(nil)); end end -# source://yarp/lib/yarp/node.rb#10575 +# source://yarp/lib/yarp/node.rb#12927 module YARP::RegularExpressionFlags; end # n - forces the ASCII-8BIT encoding # -# source://yarp/lib/yarp/node.rb#10589 +# source://yarp/lib/yarp/node.rb#12941 YARP::RegularExpressionFlags::ASCII_8BIT = T.let(T.unsafe(nil), Integer) # e - forces the EUC-JP encoding # -# source://yarp/lib/yarp/node.rb#10586 +# source://yarp/lib/yarp/node.rb#12938 YARP::RegularExpressionFlags::EUC_JP = T.let(T.unsafe(nil), Integer) # x - ignores whitespace and allows comments in regular expressions # -# source://yarp/lib/yarp/node.rb#10583 +# source://yarp/lib/yarp/node.rb#12932 YARP::RegularExpressionFlags::EXTENDED = T.let(T.unsafe(nil), Integer) # i - ignores the case of characters when matching # -# source://yarp/lib/yarp/node.rb#10577 +# source://yarp/lib/yarp/node.rb#12929 YARP::RegularExpressionFlags::IGNORE_CASE = T.let(T.unsafe(nil), Integer) # m - allows $ to match the end of lines within strings # -# source://yarp/lib/yarp/node.rb#10580 +# source://yarp/lib/yarp/node.rb#12935 YARP::RegularExpressionFlags::MULTI_LINE = T.let(T.unsafe(nil), Integer) # o - only interpolates values into the regular expression once # -# source://yarp/lib/yarp/node.rb#10598 +# source://yarp/lib/yarp/node.rb#12950 YARP::RegularExpressionFlags::ONCE = T.let(T.unsafe(nil), Integer) # u - forces the UTF-8 encoding # -# source://yarp/lib/yarp/node.rb#10595 +# source://yarp/lib/yarp/node.rb#12947 YARP::RegularExpressionFlags::UTF_8 = T.let(T.unsafe(nil), Integer) # s - forces the Windows-31J encoding # -# source://yarp/lib/yarp/node.rb#10592 +# source://yarp/lib/yarp/node.rb#12944 YARP::RegularExpressionFlags::WINDOWS_31J = T.let(T.unsafe(nil), Integer) # Represents a regular expression literal with no interpolation. @@ -10921,144 +12941,164 @@ YARP::RegularExpressionFlags::WINDOWS_31J = T.let(T.unsafe(nil), Integer) # /foo/i # ^^^^^^ # -# source://yarp/lib/yarp/node.rb#8501 +# source://yarp/lib/yarp/node.rb#10470 class YARP::RegularExpressionNode < ::YARP::Node # def initialize: (opening_loc: Location, content_loc: Location, closing_loc: Location, unescaped: String, flags: Integer, location: Location) -> void # # @return [RegularExpressionNode] a new instance of RegularExpressionNode # - # source://yarp/lib/yarp/node.rb#8518 + # source://yarp/lib/yarp/node.rb#10487 def initialize(opening_loc, content_loc, closing_loc, unescaped, flags, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#8528 + # source://yarp/lib/yarp/node.rb#10497 def accept(visitor); end # def ascii_8bit?: () -> bool # # @return [Boolean] # - # source://yarp/lib/yarp/node.rb#8598 + # source://yarp/lib/yarp/node.rb#10572 def ascii_8bit?; end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#8533 + # source://yarp/lib/yarp/node.rb#10502 def child_nodes; end # def closing: () -> String # - # source://yarp/lib/yarp/node.rb#8573 + # source://yarp/lib/yarp/node.rb#10547 def closing; end # attr_reader closing_loc: Location # - # source://yarp/lib/yarp/node.rb#8509 + # source://yarp/lib/yarp/node.rb#10478 def closing_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#8538 + # source://yarp/lib/yarp/node.rb#10512 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#10507 + def compact_child_nodes; end + # def content: () -> String # - # source://yarp/lib/yarp/node.rb#8568 + # source://yarp/lib/yarp/node.rb#10542 def content; end # attr_reader content_loc: Location # - # source://yarp/lib/yarp/node.rb#8506 + # source://yarp/lib/yarp/node.rb#10475 def content_loc; end # def copy: (**params) -> RegularExpressionNode # - # source://yarp/lib/yarp/node.rb#8543 + # source://yarp/lib/yarp/node.rb#10517 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#8533 + # source://yarp/lib/yarp/node.rb#10502 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#8558 + # source://yarp/lib/yarp/node.rb#10532 def deconstruct_keys(keys); end # def euc_jp?: () -> bool # # @return [Boolean] # - # source://yarp/lib/yarp/node.rb#8593 + # source://yarp/lib/yarp/node.rb#10567 def euc_jp?; end # def extended?: () -> bool # # @return [Boolean] # - # source://yarp/lib/yarp/node.rb#8588 + # source://yarp/lib/yarp/node.rb#10557 def extended?; end - # attr_reader flags: Integer + # Returns a symbol representation of the type of node. # - # source://yarp/lib/yarp/node.rb#8515 - def flags; end + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#10605 + def human; end # def ignore_case?: () -> bool # # @return [Boolean] # - # source://yarp/lib/yarp/node.rb#8578 + # source://yarp/lib/yarp/node.rb#10552 def ignore_case?; end - # source://yarp/lib/yarp/node.rb#8617 + # source://yarp/lib/yarp/node.rb#10591 def inspect(inspector = T.unsafe(nil)); end # def multi_line?: () -> bool # # @return [Boolean] # - # source://yarp/lib/yarp/node.rb#8583 + # source://yarp/lib/yarp/node.rb#10562 def multi_line?; end # def once?: () -> bool # # @return [Boolean] # - # source://yarp/lib/yarp/node.rb#8613 + # source://yarp/lib/yarp/node.rb#10587 def once?; end # def opening: () -> String # - # source://yarp/lib/yarp/node.rb#8563 + # source://yarp/lib/yarp/node.rb#10537 def opening; end # attr_reader opening_loc: Location # - # source://yarp/lib/yarp/node.rb#8503 + # source://yarp/lib/yarp/node.rb#10472 def opening_loc; end + # Returns a numeric value that represents the flags that were used to create + # the regular expression. + # + # source://yarp/lib/yarp.rb#609 + def options; end + # attr_reader unescaped: String # - # source://yarp/lib/yarp/node.rb#8512 + # source://yarp/lib/yarp/node.rb#10481 def unescaped; end # def utf_8?: () -> bool # # @return [Boolean] # - # source://yarp/lib/yarp/node.rb#8608 + # source://yarp/lib/yarp/node.rb#10582 def utf_8?; end # def windows_31j?: () -> bool # # @return [Boolean] # - # source://yarp/lib/yarp/node.rb#8603 + # source://yarp/lib/yarp/node.rb#10577 def windows_31j?; end + + private + + # Returns the value of attribute flags. + # + # source://yarp/lib/yarp/node.rb#10484 + def flags; end end # Represents a destructured required parameter node. @@ -11067,72 +13107,84 @@ end # ^^^^^^^^^^ # end # -# source://yarp/lib/yarp/node.rb#8633 +# source://yarp/lib/yarp/node.rb#10615 class YARP::RequiredDestructuredParameterNode < ::YARP::Node # def initialize: (parameters: Array[Node], opening_loc: Location, closing_loc: Location, location: Location) -> void # # @return [RequiredDestructuredParameterNode] a new instance of RequiredDestructuredParameterNode # - # source://yarp/lib/yarp/node.rb#8644 + # source://yarp/lib/yarp/node.rb#10626 def initialize(parameters, opening_loc, closing_loc, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#8652 + # source://yarp/lib/yarp/node.rb#10634 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#8657 + # source://yarp/lib/yarp/node.rb#10639 def child_nodes; end # def closing: () -> String # - # source://yarp/lib/yarp/node.rb#8690 + # source://yarp/lib/yarp/node.rb#10677 def closing; end # attr_reader closing_loc: Location # - # source://yarp/lib/yarp/node.rb#8641 + # source://yarp/lib/yarp/node.rb#10623 def closing_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#8662 + # source://yarp/lib/yarp/node.rb#10649 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#10644 + def compact_child_nodes; end + # def copy: (**params) -> RequiredDestructuredParameterNode # - # source://yarp/lib/yarp/node.rb#8667 + # source://yarp/lib/yarp/node.rb#10654 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#8657 + # source://yarp/lib/yarp/node.rb#10639 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#8680 + # source://yarp/lib/yarp/node.rb#10667 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#8694 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#10692 + def human; end + + # source://yarp/lib/yarp/node.rb#10681 def inspect(inspector = T.unsafe(nil)); end # def opening: () -> String # - # source://yarp/lib/yarp/node.rb#8685 + # source://yarp/lib/yarp/node.rb#10672 def opening; end # attr_reader opening_loc: Location # - # source://yarp/lib/yarp/node.rb#8638 + # source://yarp/lib/yarp/node.rb#10620 def opening_loc; end # attr_reader parameters: Array[Node] # - # source://yarp/lib/yarp/node.rb#8635 + # source://yarp/lib/yarp/node.rb#10617 def parameters; end end @@ -11142,52 +13194,64 @@ end # ^ # end # -# source://yarp/lib/yarp/node.rb#8708 +# source://yarp/lib/yarp/node.rb#10702 class YARP::RequiredParameterNode < ::YARP::Node # def initialize: (name: Symbol, location: Location) -> void # # @return [RequiredParameterNode] a new instance of RequiredParameterNode # - # source://yarp/lib/yarp/node.rb#8713 + # source://yarp/lib/yarp/node.rb#10707 def initialize(name, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#8719 + # source://yarp/lib/yarp/node.rb#10713 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#8724 + # source://yarp/lib/yarp/node.rb#10718 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#8729 + # source://yarp/lib/yarp/node.rb#10728 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#10723 + def compact_child_nodes; end + # def copy: (**params) -> RequiredParameterNode # - # source://yarp/lib/yarp/node.rb#8734 + # source://yarp/lib/yarp/node.rb#10733 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#8724 + # source://yarp/lib/yarp/node.rb#10718 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#8745 + # source://yarp/lib/yarp/node.rb#10744 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#8749 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#10757 + def human; end + + # source://yarp/lib/yarp/node.rb#10748 def inspect(inspector = T.unsafe(nil)); end # attr_reader name: Symbol # - # source://yarp/lib/yarp/node.rb#8710 + # source://yarp/lib/yarp/node.rb#10704 def name; end end @@ -11196,70 +13260,82 @@ end # foo rescue nil # ^^^^^^^^^^^^^^ # -# source://yarp/lib/yarp/node.rb#8760 +# source://yarp/lib/yarp/node.rb#10766 class YARP::RescueModifierNode < ::YARP::Node # def initialize: (expression: Node, keyword_loc: Location, rescue_expression: Node, location: Location) -> void # # @return [RescueModifierNode] a new instance of RescueModifierNode # - # source://yarp/lib/yarp/node.rb#8771 + # source://yarp/lib/yarp/node.rb#10777 def initialize(expression, keyword_loc, rescue_expression, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#8779 + # source://yarp/lib/yarp/node.rb#10785 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#8788 + # source://yarp/lib/yarp/node.rb#10794 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#8793 + # source://yarp/lib/yarp/node.rb#10804 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#10799 + def compact_child_nodes; end + # def copy: (**params) -> RescueModifierNode # - # source://yarp/lib/yarp/node.rb#8798 + # source://yarp/lib/yarp/node.rb#10809 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#8788 + # source://yarp/lib/yarp/node.rb#10794 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#8811 + # source://yarp/lib/yarp/node.rb#10822 def deconstruct_keys(keys); end # attr_reader expression: Node # - # source://yarp/lib/yarp/node.rb#8762 + # source://yarp/lib/yarp/node.rb#10768 def expression; end - # source://yarp/lib/yarp/node.rb#8820 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#10844 + def human; end + + # source://yarp/lib/yarp/node.rb#10831 def inspect(inspector = T.unsafe(nil)); end # def keyword: () -> String # - # source://yarp/lib/yarp/node.rb#8816 + # source://yarp/lib/yarp/node.rb#10827 def keyword; end # attr_reader keyword_loc: Location # - # source://yarp/lib/yarp/node.rb#8765 + # source://yarp/lib/yarp/node.rb#10771 def keyword_loc; end # attr_reader rescue_expression: Node # - # source://yarp/lib/yarp/node.rb#8768 + # source://yarp/lib/yarp/node.rb#10774 def rescue_expression; end - # source://yarp/lib/yarp/node.rb#8783 + # source://yarp/lib/yarp/node.rb#10789 def set_newline_flag(newline_marked); end end @@ -11274,87 +13350,99 @@ end # `Foo, *splat, Bar` are in the `exceptions` field. # `ex` is in the `exception` field. # -# source://yarp/lib/yarp/node.rb#8841 +# source://yarp/lib/yarp/node.rb#10859 class YARP::RescueNode < ::YARP::Node # def initialize: (keyword_loc: Location, exceptions: Array[Node], operator_loc: Location?, reference: Node?, statements: StatementsNode?, consequent: RescueNode?, location: Location) -> void # # @return [RescueNode] a new instance of RescueNode # - # source://yarp/lib/yarp/node.rb#8861 + # source://yarp/lib/yarp/node.rb#10879 def initialize(keyword_loc, exceptions, operator_loc, reference, statements, consequent, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#8872 + # source://yarp/lib/yarp/node.rb#10890 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#8877 + # source://yarp/lib/yarp/node.rb#10895 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#8882 + # source://yarp/lib/yarp/node.rb#10910 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#10900 + def compact_child_nodes; end + # attr_reader consequent: RescueNode? # - # source://yarp/lib/yarp/node.rb#8858 + # source://yarp/lib/yarp/node.rb#10876 def consequent; end # def copy: (**params) -> RescueNode # - # source://yarp/lib/yarp/node.rb#8887 + # source://yarp/lib/yarp/node.rb#10915 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#8877 + # source://yarp/lib/yarp/node.rb#10895 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#8903 + # source://yarp/lib/yarp/node.rb#10931 def deconstruct_keys(keys); end # attr_reader exceptions: Array[Node] # - # source://yarp/lib/yarp/node.rb#8846 + # source://yarp/lib/yarp/node.rb#10864 def exceptions; end - # source://yarp/lib/yarp/node.rb#8917 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#10974 + def human; end + + # source://yarp/lib/yarp/node.rb#10945 def inspect(inspector = T.unsafe(nil)); end # def keyword: () -> String # - # source://yarp/lib/yarp/node.rb#8908 + # source://yarp/lib/yarp/node.rb#10936 def keyword; end # attr_reader keyword_loc: Location # - # source://yarp/lib/yarp/node.rb#8843 + # source://yarp/lib/yarp/node.rb#10861 def keyword_loc; end # def operator: () -> String? # - # source://yarp/lib/yarp/node.rb#8913 + # source://yarp/lib/yarp/node.rb#10941 def operator; end # attr_reader operator_loc: Location? # - # source://yarp/lib/yarp/node.rb#8849 + # source://yarp/lib/yarp/node.rb#10867 def operator_loc; end # attr_reader reference: Node? # - # source://yarp/lib/yarp/node.rb#8852 + # source://yarp/lib/yarp/node.rb#10870 def reference; end # attr_reader statements: StatementsNode? # - # source://yarp/lib/yarp/node.rb#8855 + # source://yarp/lib/yarp/node.rb#10873 def statements; end end @@ -11364,67 +13452,79 @@ end # ^^ # end # -# source://yarp/lib/yarp/node.rb#8949 +# source://yarp/lib/yarp/node.rb#10984 class YARP::RestParameterNode < ::YARP::Node # def initialize: (name: Symbol?, name_loc: Location?, operator_loc: Location, location: Location) -> void # # @return [RestParameterNode] a new instance of RestParameterNode # - # source://yarp/lib/yarp/node.rb#8960 + # source://yarp/lib/yarp/node.rb#10995 def initialize(name, name_loc, operator_loc, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#8968 + # source://yarp/lib/yarp/node.rb#11003 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#8973 + # source://yarp/lib/yarp/node.rb#11008 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#8978 + # source://yarp/lib/yarp/node.rb#11018 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#11013 + def compact_child_nodes; end + # def copy: (**params) -> RestParameterNode # - # source://yarp/lib/yarp/node.rb#8983 + # source://yarp/lib/yarp/node.rb#11023 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#8973 + # source://yarp/lib/yarp/node.rb#11008 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#8996 + # source://yarp/lib/yarp/node.rb#11036 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#9005 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#11056 + def human; end + + # source://yarp/lib/yarp/node.rb#11045 def inspect(inspector = T.unsafe(nil)); end # attr_reader name: Symbol? # - # source://yarp/lib/yarp/node.rb#8951 + # source://yarp/lib/yarp/node.rb#10986 def name; end # attr_reader name_loc: Location? # - # source://yarp/lib/yarp/node.rb#8954 + # source://yarp/lib/yarp/node.rb#10989 def name_loc; end # def operator: () -> String # - # source://yarp/lib/yarp/node.rb#9001 + # source://yarp/lib/yarp/node.rb#11041 def operator; end # attr_reader operator_loc: Location # - # source://yarp/lib/yarp/node.rb#8957 + # source://yarp/lib/yarp/node.rb#10992 def operator_loc; end end @@ -11433,47 +13533,59 @@ end # retry # ^^^^^ # -# source://yarp/lib/yarp/node.rb#9018 +# source://yarp/lib/yarp/node.rb#11065 class YARP::RetryNode < ::YARP::Node # def initialize: (location: Location) -> void # # @return [RetryNode] a new instance of RetryNode # - # source://yarp/lib/yarp/node.rb#9020 + # source://yarp/lib/yarp/node.rb#11067 def initialize(location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#9025 + # source://yarp/lib/yarp/node.rb#11072 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#9030 + # source://yarp/lib/yarp/node.rb#11077 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#9035 + # source://yarp/lib/yarp/node.rb#11087 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#11082 + def compact_child_nodes; end + # def copy: (**params) -> RetryNode # - # source://yarp/lib/yarp/node.rb#9040 + # source://yarp/lib/yarp/node.rb#11092 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#9030 + # source://yarp/lib/yarp/node.rb#11077 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#9050 + # source://yarp/lib/yarp/node.rb#11102 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#9054 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#11114 + def human; end + + # source://yarp/lib/yarp/node.rb#11106 def inspect(inspector = T.unsafe(nil)); end end @@ -11482,62 +13594,74 @@ end # return 1 # ^^^^^^^^ # -# source://yarp/lib/yarp/node.rb#9064 +# source://yarp/lib/yarp/node.rb#11123 class YARP::ReturnNode < ::YARP::Node # def initialize: (keyword_loc: Location, arguments: ArgumentsNode?, location: Location) -> void # # @return [ReturnNode] a new instance of ReturnNode # - # source://yarp/lib/yarp/node.rb#9072 + # source://yarp/lib/yarp/node.rb#11131 def initialize(keyword_loc, arguments, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#9079 + # source://yarp/lib/yarp/node.rb#11138 def accept(visitor); end # attr_reader arguments: ArgumentsNode? # - # source://yarp/lib/yarp/node.rb#9069 + # source://yarp/lib/yarp/node.rb#11128 def arguments; end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#9084 + # source://yarp/lib/yarp/node.rb#11143 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#9089 + # source://yarp/lib/yarp/node.rb#11155 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#11148 + def compact_child_nodes; end + # def copy: (**params) -> ReturnNode # - # source://yarp/lib/yarp/node.rb#9094 + # source://yarp/lib/yarp/node.rb#11160 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#9084 + # source://yarp/lib/yarp/node.rb#11143 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#9106 + # source://yarp/lib/yarp/node.rb#11172 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#9115 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#11196 + def human; end + + # source://yarp/lib/yarp/node.rb#11181 def inspect(inspector = T.unsafe(nil)); end # def keyword: () -> String # - # source://yarp/lib/yarp/node.rb#9111 + # source://yarp/lib/yarp/node.rb#11177 def keyword; end # attr_reader keyword_loc: Location # - # source://yarp/lib/yarp/node.rb#9066 + # source://yarp/lib/yarp/node.rb#11125 def keyword_loc; end end @@ -12886,47 +15010,59 @@ end # self # ^^^^ # -# source://yarp/lib/yarp/node.rb#9132 +# source://yarp/lib/yarp/node.rb#11205 class YARP::SelfNode < ::YARP::Node # def initialize: (location: Location) -> void # # @return [SelfNode] a new instance of SelfNode # - # source://yarp/lib/yarp/node.rb#9134 + # source://yarp/lib/yarp/node.rb#11207 def initialize(location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#9139 + # source://yarp/lib/yarp/node.rb#11212 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#9144 + # source://yarp/lib/yarp/node.rb#11217 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#9149 + # source://yarp/lib/yarp/node.rb#11227 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#11222 + def compact_child_nodes; end + # def copy: (**params) -> SelfNode # - # source://yarp/lib/yarp/node.rb#9154 + # source://yarp/lib/yarp/node.rb#11232 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#9144 + # source://yarp/lib/yarp/node.rb#11217 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#9164 + # source://yarp/lib/yarp/node.rb#11242 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#9168 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#11254 + def human; end + + # source://yarp/lib/yarp/node.rb#11246 def inspect(inspector = T.unsafe(nil)); end end @@ -13049,7 +15185,7 @@ YARP::Serialize::MINOR_VERSION = T.let(T.unsafe(nil), Integer) # source://yarp/lib/yarp/serialize.rb#25 YARP::Serialize::PATCH_VERSION = T.let(T.unsafe(nil), Integer) -# source://yarp/lib/yarp/serialize.rb#480 +# source://yarp/lib/yarp/serialize.rb#490 YARP::Serialize::TOKEN_TYPES = T.let(T.unsafe(nil), Array) # Represents a singleton class declaration involving the `class` keyword. @@ -13057,92 +15193,104 @@ YARP::Serialize::TOKEN_TYPES = T.let(T.unsafe(nil), Array) # class << self end # ^^^^^^^^^^^^^^^^^ # -# source://yarp/lib/yarp/node.rb#9178 +# source://yarp/lib/yarp/node.rb#11263 class YARP::SingletonClassNode < ::YARP::Node # def initialize: (locals: Array[Symbol], class_keyword_loc: Location, operator_loc: Location, expression: Node, body: Node?, end_keyword_loc: Location, location: Location) -> void # # @return [SingletonClassNode] a new instance of SingletonClassNode # - # source://yarp/lib/yarp/node.rb#9198 + # source://yarp/lib/yarp/node.rb#11283 def initialize(locals, class_keyword_loc, operator_loc, expression, body, end_keyword_loc, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#9209 + # source://yarp/lib/yarp/node.rb#11294 def accept(visitor); end # attr_reader body: Node? # - # source://yarp/lib/yarp/node.rb#9192 + # source://yarp/lib/yarp/node.rb#11277 def body; end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#9214 + # source://yarp/lib/yarp/node.rb#11299 def child_nodes; end # def class_keyword: () -> String # - # source://yarp/lib/yarp/node.rb#9245 + # source://yarp/lib/yarp/node.rb#11338 def class_keyword; end # attr_reader class_keyword_loc: Location # - # source://yarp/lib/yarp/node.rb#9183 + # source://yarp/lib/yarp/node.rb#11268 def class_keyword_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#9219 + # source://yarp/lib/yarp/node.rb#11312 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#11304 + def compact_child_nodes; end + # def copy: (**params) -> SingletonClassNode # - # source://yarp/lib/yarp/node.rb#9224 + # source://yarp/lib/yarp/node.rb#11317 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#9214 + # source://yarp/lib/yarp/node.rb#11299 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#9240 + # source://yarp/lib/yarp/node.rb#11333 def deconstruct_keys(keys); end # def end_keyword: () -> String # - # source://yarp/lib/yarp/node.rb#9255 + # source://yarp/lib/yarp/node.rb#11348 def end_keyword; end # attr_reader end_keyword_loc: Location # - # source://yarp/lib/yarp/node.rb#9195 + # source://yarp/lib/yarp/node.rb#11280 def end_keyword_loc; end # attr_reader expression: Node # - # source://yarp/lib/yarp/node.rb#9189 + # source://yarp/lib/yarp/node.rb#11274 def expression; end - # source://yarp/lib/yarp/node.rb#9259 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#11372 + def human; end + + # source://yarp/lib/yarp/node.rb#11352 def inspect(inspector = T.unsafe(nil)); end # attr_reader locals: Array[Symbol] # - # source://yarp/lib/yarp/node.rb#9180 + # source://yarp/lib/yarp/node.rb#11265 def locals; end # def operator: () -> String # - # source://yarp/lib/yarp/node.rb#9250 + # source://yarp/lib/yarp/node.rb#11343 def operator; end # attr_reader operator_loc: Location # - # source://yarp/lib/yarp/node.rb#9186 + # source://yarp/lib/yarp/node.rb#11271 def operator_loc; end end @@ -13190,47 +15338,59 @@ end # __ENCODING__ # ^^^^^^^^^^^^ # -# source://yarp/lib/yarp/node.rb#9281 +# source://yarp/lib/yarp/node.rb#11381 class YARP::SourceEncodingNode < ::YARP::Node # def initialize: (location: Location) -> void # # @return [SourceEncodingNode] a new instance of SourceEncodingNode # - # source://yarp/lib/yarp/node.rb#9283 + # source://yarp/lib/yarp/node.rb#11383 def initialize(location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#9288 + # source://yarp/lib/yarp/node.rb#11388 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#9293 + # source://yarp/lib/yarp/node.rb#11393 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#9298 + # source://yarp/lib/yarp/node.rb#11403 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#11398 + def compact_child_nodes; end + # def copy: (**params) -> SourceEncodingNode # - # source://yarp/lib/yarp/node.rb#9303 + # source://yarp/lib/yarp/node.rb#11408 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#9293 + # source://yarp/lib/yarp/node.rb#11393 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#9313 + # source://yarp/lib/yarp/node.rb#11418 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#9317 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#11430 + def human; end + + # source://yarp/lib/yarp/node.rb#11422 def inspect(inspector = T.unsafe(nil)); end end @@ -13239,52 +15399,64 @@ end # __FILE__ # ^^^^^^^^ # -# source://yarp/lib/yarp/node.rb#9327 +# source://yarp/lib/yarp/node.rb#11439 class YARP::SourceFileNode < ::YARP::Node # def initialize: (filepath: String, location: Location) -> void # # @return [SourceFileNode] a new instance of SourceFileNode # - # source://yarp/lib/yarp/node.rb#9332 + # source://yarp/lib/yarp/node.rb#11444 def initialize(filepath, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#9338 + # source://yarp/lib/yarp/node.rb#11450 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#9343 + # source://yarp/lib/yarp/node.rb#11455 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#9348 + # source://yarp/lib/yarp/node.rb#11465 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#11460 + def compact_child_nodes; end + # def copy: (**params) -> SourceFileNode # - # source://yarp/lib/yarp/node.rb#9353 + # source://yarp/lib/yarp/node.rb#11470 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#9343 + # source://yarp/lib/yarp/node.rb#11455 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#9364 + # source://yarp/lib/yarp/node.rb#11481 def deconstruct_keys(keys); end # attr_reader filepath: String # - # source://yarp/lib/yarp/node.rb#9329 + # source://yarp/lib/yarp/node.rb#11441 def filepath; end - # source://yarp/lib/yarp/node.rb#9368 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#11494 + def human; end + + # source://yarp/lib/yarp/node.rb#11485 def inspect(inspector = T.unsafe(nil)); end end @@ -13293,47 +15465,59 @@ end # __LINE__ # ^^^^^^^^ # -# source://yarp/lib/yarp/node.rb#9379 +# source://yarp/lib/yarp/node.rb#11503 class YARP::SourceLineNode < ::YARP::Node # def initialize: (location: Location) -> void # # @return [SourceLineNode] a new instance of SourceLineNode # - # source://yarp/lib/yarp/node.rb#9381 + # source://yarp/lib/yarp/node.rb#11505 def initialize(location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#9386 + # source://yarp/lib/yarp/node.rb#11510 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#9391 + # source://yarp/lib/yarp/node.rb#11515 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#9396 + # source://yarp/lib/yarp/node.rb#11525 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#11520 + def compact_child_nodes; end + # def copy: (**params) -> SourceLineNode # - # source://yarp/lib/yarp/node.rb#9401 + # source://yarp/lib/yarp/node.rb#11530 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#9391 + # source://yarp/lib/yarp/node.rb#11515 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#9411 + # source://yarp/lib/yarp/node.rb#11540 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#9415 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#11552 + def human; end + + # source://yarp/lib/yarp/node.rb#11544 def inspect(inspector = T.unsafe(nil)); end end @@ -13342,62 +15526,74 @@ end # [*a] # ^^ # -# source://yarp/lib/yarp/node.rb#9425 +# source://yarp/lib/yarp/node.rb#11561 class YARP::SplatNode < ::YARP::Node # def initialize: (operator_loc: Location, expression: Node?, location: Location) -> void # # @return [SplatNode] a new instance of SplatNode # - # source://yarp/lib/yarp/node.rb#9433 + # source://yarp/lib/yarp/node.rb#11569 def initialize(operator_loc, expression, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#9440 + # source://yarp/lib/yarp/node.rb#11576 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#9445 + # source://yarp/lib/yarp/node.rb#11581 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#9450 + # source://yarp/lib/yarp/node.rb#11593 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#11586 + def compact_child_nodes; end + # def copy: (**params) -> SplatNode # - # source://yarp/lib/yarp/node.rb#9455 + # source://yarp/lib/yarp/node.rb#11598 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#9445 + # source://yarp/lib/yarp/node.rb#11581 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#9467 + # source://yarp/lib/yarp/node.rb#11610 def deconstruct_keys(keys); end # attr_reader expression: Node? # - # source://yarp/lib/yarp/node.rb#9430 + # source://yarp/lib/yarp/node.rb#11566 def expression; end - # source://yarp/lib/yarp/node.rb#9476 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#11634 + def human; end + + # source://yarp/lib/yarp/node.rb#11619 def inspect(inspector = T.unsafe(nil)); end # def operator: () -> String # - # source://yarp/lib/yarp/node.rb#9472 + # source://yarp/lib/yarp/node.rb#11615 def operator; end # attr_reader operator_loc: Location # - # source://yarp/lib/yarp/node.rb#9427 + # source://yarp/lib/yarp/node.rb#11563 def operator_loc; end end @@ -13406,52 +15602,64 @@ end # foo; bar; baz # ^^^^^^^^^^^^^ # -# source://yarp/lib/yarp/node.rb#9493 +# source://yarp/lib/yarp/node.rb#11643 class YARP::StatementsNode < ::YARP::Node # def initialize: (body: Array[Node], location: Location) -> void # # @return [StatementsNode] a new instance of StatementsNode # - # source://yarp/lib/yarp/node.rb#9498 + # source://yarp/lib/yarp/node.rb#11648 def initialize(body, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#9504 + # source://yarp/lib/yarp/node.rb#11654 def accept(visitor); end # attr_reader body: Array[Node] # - # source://yarp/lib/yarp/node.rb#9495 + # source://yarp/lib/yarp/node.rb#11645 def body; end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#9509 + # source://yarp/lib/yarp/node.rb#11659 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#9514 + # source://yarp/lib/yarp/node.rb#11669 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#11664 + def compact_child_nodes; end + # def copy: (**params) -> StatementsNode # - # source://yarp/lib/yarp/node.rb#9519 + # source://yarp/lib/yarp/node.rb#11674 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#9509 + # source://yarp/lib/yarp/node.rb#11659 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#9530 + # source://yarp/lib/yarp/node.rb#11685 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#9534 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#11698 + def human; end + + # source://yarp/lib/yarp/node.rb#11689 def inspect(inspector = T.unsafe(nil)); end end @@ -13460,60 +15668,80 @@ end # "foo" "bar" # ^^^^^^^^^^^ # -# source://yarp/lib/yarp/node.rb#9545 +# source://yarp/lib/yarp/node.rb#11707 class YARP::StringConcatNode < ::YARP::Node # def initialize: (left: Node, right: Node, location: Location) -> void # # @return [StringConcatNode] a new instance of StringConcatNode # - # source://yarp/lib/yarp/node.rb#9553 + # source://yarp/lib/yarp/node.rb#11715 def initialize(left, right, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#9560 + # source://yarp/lib/yarp/node.rb#11722 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#9565 + # source://yarp/lib/yarp/node.rb#11727 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#9570 + # source://yarp/lib/yarp/node.rb#11737 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#11732 + def compact_child_nodes; end + # def copy: (**params) -> StringConcatNode # - # source://yarp/lib/yarp/node.rb#9575 + # source://yarp/lib/yarp/node.rb#11742 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#9565 + # source://yarp/lib/yarp/node.rb#11727 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#9587 + # source://yarp/lib/yarp/node.rb#11754 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#9591 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#11770 + def human; end + + # source://yarp/lib/yarp/node.rb#11758 def inspect(inspector = T.unsafe(nil)); end # attr_reader left: Node # - # source://yarp/lib/yarp/node.rb#9547 + # source://yarp/lib/yarp/node.rb#11709 def left; end # attr_reader right: Node # - # source://yarp/lib/yarp/node.rb#9550 + # source://yarp/lib/yarp/node.rb#11712 def right; end end +# source://yarp/lib/yarp/node.rb#12953 +module YARP::StringFlags; end + +# frozen by virtue of a frozen_string_literal comment +# +# source://yarp/lib/yarp/node.rb#12955 +YARP::StringFlags::FROZEN = T.let(T.unsafe(nil), Integer) + # Represents a string literal, a string contained within a `%w` list, or # plain string content within an interpolated string. # @@ -13526,83 +15754,109 @@ end # "foo #{bar} baz" # ^^^^ ^^^^ # -# source://yarp/lib/yarp/node.rb#9612 +# source://yarp/lib/yarp/node.rb#11786 class YARP::StringNode < ::YARP::Node - # def initialize: (opening_loc: Location?, content_loc: Location, closing_loc: Location?, unescaped: String, location: Location) -> void + # def initialize: (flags: Integer, opening_loc: Location?, content_loc: Location, closing_loc: Location?, unescaped: String, location: Location) -> void # # @return [StringNode] a new instance of StringNode # - # source://yarp/lib/yarp/node.rb#9626 - def initialize(opening_loc, content_loc, closing_loc, unescaped, location); end + # source://yarp/lib/yarp/node.rb#11803 + def initialize(flags, opening_loc, content_loc, closing_loc, unescaped, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#9635 + # source://yarp/lib/yarp/node.rb#11813 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#9640 + # source://yarp/lib/yarp/node.rb#11818 def child_nodes; end # def closing: () -> String? # - # source://yarp/lib/yarp/node.rb#9679 + # source://yarp/lib/yarp/node.rb#11868 def closing; end # attr_reader closing_loc: Location? # - # source://yarp/lib/yarp/node.rb#9620 + # source://yarp/lib/yarp/node.rb#11797 def closing_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#9645 + # source://yarp/lib/yarp/node.rb#11828 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#11823 + def compact_child_nodes; end + # def content: () -> String # - # source://yarp/lib/yarp/node.rb#9674 + # source://yarp/lib/yarp/node.rb#11863 def content; end # attr_reader content_loc: Location # - # source://yarp/lib/yarp/node.rb#9617 + # source://yarp/lib/yarp/node.rb#11794 def content_loc; end # def copy: (**params) -> StringNode # - # source://yarp/lib/yarp/node.rb#9650 + # source://yarp/lib/yarp/node.rb#11833 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#9640 + # source://yarp/lib/yarp/node.rb#11818 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#9664 + # source://yarp/lib/yarp/node.rb#11848 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#9683 + # def frozen?: () -> bool + # + # @return [Boolean] + # + # source://yarp/lib/yarp/node.rb#11853 + def frozen?; end + + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#11886 + def human; end + + # source://yarp/lib/yarp/node.rb#11872 def inspect(inspector = T.unsafe(nil)); end # def opening: () -> String? # - # source://yarp/lib/yarp/node.rb#9669 + # source://yarp/lib/yarp/node.rb#11858 def opening; end # attr_reader opening_loc: Location? # - # source://yarp/lib/yarp/node.rb#9614 + # source://yarp/lib/yarp/node.rb#11791 def opening_loc; end # attr_reader unescaped: String # - # source://yarp/lib/yarp/node.rb#9623 + # source://yarp/lib/yarp/node.rb#11800 def unescaped; end + + private + + # Returns the value of attribute flags. + # + # source://yarp/lib/yarp/node.rb#11788 + def flags; end end # Represents the use of the `super` keyword with parentheses or arguments. @@ -13613,87 +15867,99 @@ end # super foo, bar # ^^^^^^^^^^^^^^ # -# source://yarp/lib/yarp/node.rb#9700 +# source://yarp/lib/yarp/node.rb#11898 class YARP::SuperNode < ::YARP::Node # def initialize: (keyword_loc: Location, lparen_loc: Location?, arguments: ArgumentsNode?, rparen_loc: Location?, block: BlockNode?, location: Location) -> void # # @return [SuperNode] a new instance of SuperNode # - # source://yarp/lib/yarp/node.rb#9717 + # source://yarp/lib/yarp/node.rb#11915 def initialize(keyword_loc, lparen_loc, arguments, rparen_loc, block, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#9727 + # source://yarp/lib/yarp/node.rb#11925 def accept(visitor); end # attr_reader arguments: ArgumentsNode? # - # source://yarp/lib/yarp/node.rb#9708 + # source://yarp/lib/yarp/node.rb#11906 def arguments; end # attr_reader block: BlockNode? # - # source://yarp/lib/yarp/node.rb#9714 + # source://yarp/lib/yarp/node.rb#11912 def block; end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#9732 + # source://yarp/lib/yarp/node.rb#11930 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#9737 + # source://yarp/lib/yarp/node.rb#11943 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#11935 + def compact_child_nodes; end + # def copy: (**params) -> SuperNode # - # source://yarp/lib/yarp/node.rb#9742 + # source://yarp/lib/yarp/node.rb#11948 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#9732 + # source://yarp/lib/yarp/node.rb#11930 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#9757 + # source://yarp/lib/yarp/node.rb#11963 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#9776 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#12005 + def human; end + + # source://yarp/lib/yarp/node.rb#11982 def inspect(inspector = T.unsafe(nil)); end # def keyword: () -> String # - # source://yarp/lib/yarp/node.rb#9762 + # source://yarp/lib/yarp/node.rb#11968 def keyword; end # attr_reader keyword_loc: Location # - # source://yarp/lib/yarp/node.rb#9702 + # source://yarp/lib/yarp/node.rb#11900 def keyword_loc; end # def lparen: () -> String? # - # source://yarp/lib/yarp/node.rb#9767 + # source://yarp/lib/yarp/node.rb#11973 def lparen; end # attr_reader lparen_loc: Location? # - # source://yarp/lib/yarp/node.rb#9705 + # source://yarp/lib/yarp/node.rb#11903 def lparen_loc; end # def rparen: () -> String? # - # source://yarp/lib/yarp/node.rb#9772 + # source://yarp/lib/yarp/node.rb#11978 def rparen; end # attr_reader rparen_loc: Location? # - # source://yarp/lib/yarp/node.rb#9711 + # source://yarp/lib/yarp/node.rb#11909 def rparen_loc; end end @@ -13705,82 +15971,94 @@ end # %i[foo] # ^^^ # -# source://yarp/lib/yarp/node.rb#9804 +# source://yarp/lib/yarp/node.rb#12017 class YARP::SymbolNode < ::YARP::Node # def initialize: (opening_loc: Location?, value_loc: Location?, closing_loc: Location?, unescaped: String, location: Location) -> void # # @return [SymbolNode] a new instance of SymbolNode # - # source://yarp/lib/yarp/node.rb#9818 + # source://yarp/lib/yarp/node.rb#12031 def initialize(opening_loc, value_loc, closing_loc, unescaped, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#9827 + # source://yarp/lib/yarp/node.rb#12040 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#9832 + # source://yarp/lib/yarp/node.rb#12045 def child_nodes; end # def closing: () -> String? # - # source://yarp/lib/yarp/node.rb#9871 + # source://yarp/lib/yarp/node.rb#12089 def closing; end # attr_reader closing_loc: Location? # - # source://yarp/lib/yarp/node.rb#9812 + # source://yarp/lib/yarp/node.rb#12025 def closing_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#9837 + # source://yarp/lib/yarp/node.rb#12055 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#12050 + def compact_child_nodes; end + # def copy: (**params) -> SymbolNode # - # source://yarp/lib/yarp/node.rb#9842 + # source://yarp/lib/yarp/node.rb#12060 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#9832 + # source://yarp/lib/yarp/node.rb#12045 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#9856 + # source://yarp/lib/yarp/node.rb#12074 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#9875 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#12105 + def human; end + + # source://yarp/lib/yarp/node.rb#12093 def inspect(inspector = T.unsafe(nil)); end # def opening: () -> String? # - # source://yarp/lib/yarp/node.rb#9861 + # source://yarp/lib/yarp/node.rb#12079 def opening; end # attr_reader opening_loc: Location? # - # source://yarp/lib/yarp/node.rb#9806 + # source://yarp/lib/yarp/node.rb#12019 def opening_loc; end # attr_reader unescaped: String # - # source://yarp/lib/yarp/node.rb#9815 + # source://yarp/lib/yarp/node.rb#12028 def unescaped; end # def value: () -> String? # - # source://yarp/lib/yarp/node.rb#9866 + # source://yarp/lib/yarp/node.rb#12084 def value; end # attr_reader value_loc: Location? # - # source://yarp/lib/yarp/node.rb#9809 + # source://yarp/lib/yarp/node.rb#12022 def value_loc; end end @@ -13823,47 +16101,59 @@ end # true # ^^^^ # -# source://yarp/lib/yarp/node.rb#9889 +# source://yarp/lib/yarp/node.rb#12114 class YARP::TrueNode < ::YARP::Node # def initialize: (location: Location) -> void # # @return [TrueNode] a new instance of TrueNode # - # source://yarp/lib/yarp/node.rb#9891 + # source://yarp/lib/yarp/node.rb#12116 def initialize(location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#9896 + # source://yarp/lib/yarp/node.rb#12121 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#9901 + # source://yarp/lib/yarp/node.rb#12126 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#9906 + # source://yarp/lib/yarp/node.rb#12136 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#12131 + def compact_child_nodes; end + # def copy: (**params) -> TrueNode # - # source://yarp/lib/yarp/node.rb#9911 + # source://yarp/lib/yarp/node.rb#12141 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#9901 + # source://yarp/lib/yarp/node.rb#12126 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#9921 + # source://yarp/lib/yarp/node.rb#12151 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#9925 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#12163 + def human; end + + # source://yarp/lib/yarp/node.rb#12155 def inspect(inspector = T.unsafe(nil)); end end @@ -13872,62 +16162,74 @@ end # undef :foo, :bar, :baz # ^^^^^^^^^^^^^^^^^^^^^^ # -# source://yarp/lib/yarp/node.rb#9935 +# source://yarp/lib/yarp/node.rb#12172 class YARP::UndefNode < ::YARP::Node # def initialize: (names: Array[Node], keyword_loc: Location, location: Location) -> void # # @return [UndefNode] a new instance of UndefNode # - # source://yarp/lib/yarp/node.rb#9943 + # source://yarp/lib/yarp/node.rb#12180 def initialize(names, keyword_loc, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#9950 + # source://yarp/lib/yarp/node.rb#12187 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#9955 + # source://yarp/lib/yarp/node.rb#12192 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#9960 + # source://yarp/lib/yarp/node.rb#12202 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#12197 + def compact_child_nodes; end + # def copy: (**params) -> UndefNode # - # source://yarp/lib/yarp/node.rb#9965 + # source://yarp/lib/yarp/node.rb#12207 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#9955 + # source://yarp/lib/yarp/node.rb#12192 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#9977 + # source://yarp/lib/yarp/node.rb#12219 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#9986 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#12238 + def human; end + + # source://yarp/lib/yarp/node.rb#12228 def inspect(inspector = T.unsafe(nil)); end # def keyword: () -> String # - # source://yarp/lib/yarp/node.rb#9982 + # source://yarp/lib/yarp/node.rb#12224 def keyword; end # attr_reader keyword_loc: Location # - # source://yarp/lib/yarp/node.rb#9940 + # source://yarp/lib/yarp/node.rb#12177 def keyword_loc; end # attr_reader names: Array[Node] # - # source://yarp/lib/yarp/node.rb#9937 + # source://yarp/lib/yarp/node.rb#12174 def names; end end @@ -13939,85 +16241,97 @@ end # unless foo then bar end # ^^^^^^^^^^^^^^^^^^^^^^^ # -# source://yarp/lib/yarp/node.rb#10001 +# source://yarp/lib/yarp/node.rb#12250 class YARP::UnlessNode < ::YARP::Node # def initialize: (keyword_loc: Location, predicate: Node, statements: StatementsNode?, consequent: ElseNode?, end_keyword_loc: Location?, location: Location) -> void # # @return [UnlessNode] a new instance of UnlessNode # - # source://yarp/lib/yarp/node.rb#10018 + # source://yarp/lib/yarp/node.rb#12267 def initialize(keyword_loc, predicate, statements, consequent, end_keyword_loc, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#10028 + # source://yarp/lib/yarp/node.rb#12277 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#10037 + # source://yarp/lib/yarp/node.rb#12286 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#10042 + # source://yarp/lib/yarp/node.rb#12300 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#12291 + def compact_child_nodes; end + # attr_reader consequent: ElseNode? # - # source://yarp/lib/yarp/node.rb#10012 + # source://yarp/lib/yarp/node.rb#12261 def consequent; end # def copy: (**params) -> UnlessNode # - # source://yarp/lib/yarp/node.rb#10047 + # source://yarp/lib/yarp/node.rb#12305 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#10037 + # source://yarp/lib/yarp/node.rb#12286 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#10062 + # source://yarp/lib/yarp/node.rb#12320 def deconstruct_keys(keys); end # def end_keyword: () -> String? # - # source://yarp/lib/yarp/node.rb#10072 + # source://yarp/lib/yarp/node.rb#12330 def end_keyword; end # attr_reader end_keyword_loc: Location? # - # source://yarp/lib/yarp/node.rb#10015 + # source://yarp/lib/yarp/node.rb#12264 def end_keyword_loc; end - # source://yarp/lib/yarp/node.rb#10076 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#12358 + def human; end + + # source://yarp/lib/yarp/node.rb#12334 def inspect(inspector = T.unsafe(nil)); end # def keyword: () -> String # - # source://yarp/lib/yarp/node.rb#10067 + # source://yarp/lib/yarp/node.rb#12325 def keyword; end # attr_reader keyword_loc: Location # - # source://yarp/lib/yarp/node.rb#10003 + # source://yarp/lib/yarp/node.rb#12252 def keyword_loc; end # attr_reader predicate: Node # - # source://yarp/lib/yarp/node.rb#10006 + # source://yarp/lib/yarp/node.rb#12255 def predicate; end - # source://yarp/lib/yarp/node.rb#10032 + # source://yarp/lib/yarp/node.rb#12281 def set_newline_flag(newline_marked); end # attr_reader statements: StatementsNode? # - # source://yarp/lib/yarp/node.rb#10009 + # source://yarp/lib/yarp/node.rb#12258 def statements; end end @@ -14029,93 +16343,107 @@ end # until foo do bar end # ^^^^^^^^^^^^^^^^^^^^ # -# source://yarp/lib/yarp/node.rb#10105 +# source://yarp/lib/yarp/node.rb#12370 class YARP::UntilNode < ::YARP::Node # def initialize: (keyword_loc: Location, closing_loc: Location?, predicate: Node, statements: StatementsNode?, flags: Integer, location: Location) -> void # # @return [UntilNode] a new instance of UntilNode # - # source://yarp/lib/yarp/node.rb#10122 + # source://yarp/lib/yarp/node.rb#12387 def initialize(keyword_loc, closing_loc, predicate, statements, flags, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#10132 + # source://yarp/lib/yarp/node.rb#12397 def accept(visitor); end # def begin_modifier?: () -> bool # # @return [Boolean] # - # source://yarp/lib/yarp/node.rb#10181 + # source://yarp/lib/yarp/node.rb#12454 def begin_modifier?; end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#10141 + # source://yarp/lib/yarp/node.rb#12406 def child_nodes; end # def closing: () -> String? # - # source://yarp/lib/yarp/node.rb#10176 + # source://yarp/lib/yarp/node.rb#12449 def closing; end # attr_reader closing_loc: Location? # - # source://yarp/lib/yarp/node.rb#10110 + # source://yarp/lib/yarp/node.rb#12375 def closing_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#10146 + # source://yarp/lib/yarp/node.rb#12419 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#12411 + def compact_child_nodes; end + # def copy: (**params) -> UntilNode # - # source://yarp/lib/yarp/node.rb#10151 + # source://yarp/lib/yarp/node.rb#12424 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#10141 + # source://yarp/lib/yarp/node.rb#12406 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#10166 + # source://yarp/lib/yarp/node.rb#12439 def deconstruct_keys(keys); end - # attr_reader flags: Integer + # Returns a symbol representation of the type of node. # - # source://yarp/lib/yarp/node.rb#10119 - def flags; end + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#12478 + def human; end - # source://yarp/lib/yarp/node.rb#10185 + # source://yarp/lib/yarp/node.rb#12458 def inspect(inspector = T.unsafe(nil)); end # def keyword: () -> String # - # source://yarp/lib/yarp/node.rb#10171 + # source://yarp/lib/yarp/node.rb#12444 def keyword; end # attr_reader keyword_loc: Location # - # source://yarp/lib/yarp/node.rb#10107 + # source://yarp/lib/yarp/node.rb#12372 def keyword_loc; end # attr_reader predicate: Node # - # source://yarp/lib/yarp/node.rb#10113 + # source://yarp/lib/yarp/node.rb#12378 def predicate; end - # source://yarp/lib/yarp/node.rb#10136 + # source://yarp/lib/yarp/node.rb#12401 def set_newline_flag(newline_marked); end # attr_reader statements: StatementsNode? # - # source://yarp/lib/yarp/node.rb#10116 + # source://yarp/lib/yarp/node.rb#12381 def statements; end + + private + + # Returns the value of attribute flags. + # + # source://yarp/lib/yarp/node.rb#12384 + def flags; end end # The version constant is set by reading the result of calling yp_version. @@ -14123,10 +16451,15 @@ YARP::VERSION = T.let(T.unsafe(nil), String) # source://yarp/lib/yarp.rb#223 class YARP::Visitor < ::YARP::BasicVisitor - # Visit a AliasNode node + # Visit a AliasGlobalVariableNode node # # source://yarp/lib/yarp.rb#218 - def visit_alias_node(node); end + def visit_alias_global_variable_node(node); end + + # Visit a AliasMethodNode node + # + # source://yarp/lib/yarp.rb#218 + def visit_alias_method_node(node); end # Visit a AlternationPatternNode node # @@ -14448,6 +16781,11 @@ class YARP::Visitor < ::YARP::BasicVisitor # source://yarp/lib/yarp.rb#218 def visit_imaginary_node(node); end + # Visit a ImplicitNode node + # + # source://yarp/lib/yarp.rb#218 + def visit_implicit_node(node); end + # Visit a InNode node # # source://yarp/lib/yarp.rb#218 @@ -14488,6 +16826,11 @@ class YARP::Visitor < ::YARP::BasicVisitor # source://yarp/lib/yarp.rb#218 def visit_integer_node(node); end + # Visit a InterpolatedMatchLastLineNode node + # + # source://yarp/lib/yarp.rb#218 + def visit_interpolated_match_last_line_node(node); end + # Visit a InterpolatedRegularExpressionNode node # # source://yarp/lib/yarp.rb#218 @@ -14558,6 +16901,11 @@ class YARP::Visitor < ::YARP::BasicVisitor # source://yarp/lib/yarp.rb#218 def visit_local_variable_write_node(node); end + # Visit a MatchLastLineNode node + # + # source://yarp/lib/yarp.rb#218 + def visit_match_last_line_node(node); end + # Visit a MatchPredicateNode node # # source://yarp/lib/yarp.rb#218 @@ -14568,6 +16916,11 @@ class YARP::Visitor < ::YARP::BasicVisitor # source://yarp/lib/yarp.rb#218 def visit_match_required_node(node); end + # Visit a MatchWriteNode node + # + # source://yarp/lib/yarp.rb#218 + def visit_match_write_node(node); end + # Visit a MissingNode node # # source://yarp/lib/yarp.rb#218 @@ -14811,67 +17164,79 @@ end # ^^^^^^^^^ # end # -# source://yarp/lib/yarp/node.rb#10208 +# source://yarp/lib/yarp/node.rb#12489 class YARP::WhenNode < ::YARP::Node # def initialize: (keyword_loc: Location, conditions: Array[Node], statements: StatementsNode?, location: Location) -> void # # @return [WhenNode] a new instance of WhenNode # - # source://yarp/lib/yarp/node.rb#10219 + # source://yarp/lib/yarp/node.rb#12500 def initialize(keyword_loc, conditions, statements, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#10227 + # source://yarp/lib/yarp/node.rb#12508 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#10232 + # source://yarp/lib/yarp/node.rb#12513 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#10237 + # source://yarp/lib/yarp/node.rb#12526 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#12518 + def compact_child_nodes; end + # attr_reader conditions: Array[Node] # - # source://yarp/lib/yarp/node.rb#10213 + # source://yarp/lib/yarp/node.rb#12494 def conditions; end # def copy: (**params) -> WhenNode # - # source://yarp/lib/yarp/node.rb#10242 + # source://yarp/lib/yarp/node.rb#12531 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#10232 + # source://yarp/lib/yarp/node.rb#12513 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#10255 + # source://yarp/lib/yarp/node.rb#12544 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#10264 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#12569 + def human; end + + # source://yarp/lib/yarp/node.rb#12553 def inspect(inspector = T.unsafe(nil)); end # def keyword: () -> String # - # source://yarp/lib/yarp/node.rb#10260 + # source://yarp/lib/yarp/node.rb#12549 def keyword; end # attr_reader keyword_loc: Location # - # source://yarp/lib/yarp/node.rb#10210 + # source://yarp/lib/yarp/node.rb#12491 def keyword_loc; end # attr_reader statements: StatementsNode? # - # source://yarp/lib/yarp/node.rb#10216 + # source://yarp/lib/yarp/node.rb#12497 def statements; end end @@ -14883,93 +17248,107 @@ end # while foo do bar end # ^^^^^^^^^^^^^^^^^^^^ # -# source://yarp/lib/yarp/node.rb#10285 +# source://yarp/lib/yarp/node.rb#12581 class YARP::WhileNode < ::YARP::Node # def initialize: (keyword_loc: Location, closing_loc: Location?, predicate: Node, statements: StatementsNode?, flags: Integer, location: Location) -> void # # @return [WhileNode] a new instance of WhileNode # - # source://yarp/lib/yarp/node.rb#10302 + # source://yarp/lib/yarp/node.rb#12598 def initialize(keyword_loc, closing_loc, predicate, statements, flags, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#10312 + # source://yarp/lib/yarp/node.rb#12608 def accept(visitor); end # def begin_modifier?: () -> bool # # @return [Boolean] # - # source://yarp/lib/yarp/node.rb#10361 + # source://yarp/lib/yarp/node.rb#12665 def begin_modifier?; end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#10321 + # source://yarp/lib/yarp/node.rb#12617 def child_nodes; end # def closing: () -> String? # - # source://yarp/lib/yarp/node.rb#10356 + # source://yarp/lib/yarp/node.rb#12660 def closing; end # attr_reader closing_loc: Location? # - # source://yarp/lib/yarp/node.rb#10290 + # source://yarp/lib/yarp/node.rb#12586 def closing_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#10326 + # source://yarp/lib/yarp/node.rb#12630 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#12622 + def compact_child_nodes; end + # def copy: (**params) -> WhileNode # - # source://yarp/lib/yarp/node.rb#10331 + # source://yarp/lib/yarp/node.rb#12635 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#10321 + # source://yarp/lib/yarp/node.rb#12617 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#10346 + # source://yarp/lib/yarp/node.rb#12650 def deconstruct_keys(keys); end - # attr_reader flags: Integer + # Returns a symbol representation of the type of node. # - # source://yarp/lib/yarp/node.rb#10299 - def flags; end + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#12689 + def human; end - # source://yarp/lib/yarp/node.rb#10365 + # source://yarp/lib/yarp/node.rb#12669 def inspect(inspector = T.unsafe(nil)); end # def keyword: () -> String # - # source://yarp/lib/yarp/node.rb#10351 + # source://yarp/lib/yarp/node.rb#12655 def keyword; end # attr_reader keyword_loc: Location # - # source://yarp/lib/yarp/node.rb#10287 + # source://yarp/lib/yarp/node.rb#12583 def keyword_loc; end # attr_reader predicate: Node # - # source://yarp/lib/yarp/node.rb#10293 + # source://yarp/lib/yarp/node.rb#12589 def predicate; end - # source://yarp/lib/yarp/node.rb#10316 + # source://yarp/lib/yarp/node.rb#12612 def set_newline_flag(newline_marked); end # attr_reader statements: StatementsNode? # - # source://yarp/lib/yarp/node.rb#10296 + # source://yarp/lib/yarp/node.rb#12592 def statements; end + + private + + # Returns the value of attribute flags. + # + # source://yarp/lib/yarp/node.rb#12595 + def flags; end end # Represents an xstring literal with no interpolation. @@ -14977,82 +17356,94 @@ end # `foo` # ^^^^^ # -# source://yarp/lib/yarp/node.rb#10386 +# source://yarp/lib/yarp/node.rb#12698 class YARP::XStringNode < ::YARP::Node # def initialize: (opening_loc: Location, content_loc: Location, closing_loc: Location, unescaped: String, location: Location) -> void # # @return [XStringNode] a new instance of XStringNode # - # source://yarp/lib/yarp/node.rb#10400 + # source://yarp/lib/yarp/node.rb#12712 def initialize(opening_loc, content_loc, closing_loc, unescaped, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#10409 + # source://yarp/lib/yarp/node.rb#12721 def accept(visitor); end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#10414 + # source://yarp/lib/yarp/node.rb#12726 def child_nodes; end # def closing: () -> String # - # source://yarp/lib/yarp/node.rb#10453 + # source://yarp/lib/yarp/node.rb#12770 def closing; end # attr_reader closing_loc: Location # - # source://yarp/lib/yarp/node.rb#10394 + # source://yarp/lib/yarp/node.rb#12706 def closing_loc; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#10419 + # source://yarp/lib/yarp/node.rb#12736 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#12731 + def compact_child_nodes; end + # def content: () -> String # - # source://yarp/lib/yarp/node.rb#10448 + # source://yarp/lib/yarp/node.rb#12765 def content; end # attr_reader content_loc: Location # - # source://yarp/lib/yarp/node.rb#10391 + # source://yarp/lib/yarp/node.rb#12703 def content_loc; end # def copy: (**params) -> XStringNode # - # source://yarp/lib/yarp/node.rb#10424 + # source://yarp/lib/yarp/node.rb#12741 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#10414 + # source://yarp/lib/yarp/node.rb#12726 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#10438 + # source://yarp/lib/yarp/node.rb#12755 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#10457 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#12786 + def human; end + + # source://yarp/lib/yarp/node.rb#12774 def inspect(inspector = T.unsafe(nil)); end # def opening: () -> String # - # source://yarp/lib/yarp/node.rb#10443 + # source://yarp/lib/yarp/node.rb#12760 def opening; end # attr_reader opening_loc: Location # - # source://yarp/lib/yarp/node.rb#10388 + # source://yarp/lib/yarp/node.rb#12700 def opening_loc; end # attr_reader unescaped: String # - # source://yarp/lib/yarp/node.rb#10397 + # source://yarp/lib/yarp/node.rb#12709 def unescaped; end end @@ -15061,81 +17452,93 @@ end # yield 1 # ^^^^^^^ # -# source://yarp/lib/yarp/node.rb#10471 +# source://yarp/lib/yarp/node.rb#12795 class YARP::YieldNode < ::YARP::Node # def initialize: (keyword_loc: Location, lparen_loc: Location?, arguments: ArgumentsNode?, rparen_loc: Location?, location: Location) -> void # # @return [YieldNode] a new instance of YieldNode # - # source://yarp/lib/yarp/node.rb#10485 + # source://yarp/lib/yarp/node.rb#12809 def initialize(keyword_loc, lparen_loc, arguments, rparen_loc, location); end # def accept: (visitor: Visitor) -> void # - # source://yarp/lib/yarp/node.rb#10494 + # source://yarp/lib/yarp/node.rb#12818 def accept(visitor); end # attr_reader arguments: ArgumentsNode? # - # source://yarp/lib/yarp/node.rb#10479 + # source://yarp/lib/yarp/node.rb#12803 def arguments; end # def child_nodes: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#10499 + # source://yarp/lib/yarp/node.rb#12823 def child_nodes; end # def comment_targets: () -> Array[Node | Location] # - # source://yarp/lib/yarp/node.rb#10504 + # source://yarp/lib/yarp/node.rb#12835 def comment_targets; end + # def compact_child_nodes: () -> Array[Node] + # + # source://yarp/lib/yarp/node.rb#12828 + def compact_child_nodes; end + # def copy: (**params) -> YieldNode # - # source://yarp/lib/yarp/node.rb#10509 + # source://yarp/lib/yarp/node.rb#12840 def copy(**params); end # def child_nodes: () -> Array[nil | Node] # def deconstruct: () -> Array[nil | Node] # - # source://yarp/lib/yarp/node.rb#10499 + # source://yarp/lib/yarp/node.rb#12823 def deconstruct; end # def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location] # - # source://yarp/lib/yarp/node.rb#10523 + # source://yarp/lib/yarp/node.rb#12854 def deconstruct_keys(keys); end - # source://yarp/lib/yarp/node.rb#10542 + # Returns a symbol representation of the type of node. + # + # def human: () -> Symbol + # + # source://yarp/lib/yarp/node.rb#12890 + def human; end + + # source://yarp/lib/yarp/node.rb#12873 def inspect(inspector = T.unsafe(nil)); end # def keyword: () -> String # - # source://yarp/lib/yarp/node.rb#10528 + # source://yarp/lib/yarp/node.rb#12859 def keyword; end # attr_reader keyword_loc: Location # - # source://yarp/lib/yarp/node.rb#10473 + # source://yarp/lib/yarp/node.rb#12797 def keyword_loc; end # def lparen: () -> String? # - # source://yarp/lib/yarp/node.rb#10533 + # source://yarp/lib/yarp/node.rb#12864 def lparen; end # attr_reader lparen_loc: Location? # - # source://yarp/lib/yarp/node.rb#10476 + # source://yarp/lib/yarp/node.rb#12800 def lparen_loc; end # def rparen: () -> String? # - # source://yarp/lib/yarp/node.rb#10538 + # source://yarp/lib/yarp/node.rb#12869 def rparen; end # attr_reader rparen_loc: Location? # - # source://yarp/lib/yarp/node.rb#10482 + # source://yarp/lib/yarp/node.rb#12806 def rparen_loc; end end diff --git a/sorbet/rbi/shims/yarp.rbi b/sorbet/rbi/shims/yarp.rbi new file mode 100644 index 00000000..505cd85f --- /dev/null +++ b/sorbet/rbi/shims/yarp.rbi @@ -0,0 +1,7123 @@ +# typed: strict + +=begin +This file is generated by the templates/template.rb script and should not be +modified manually. See templates/rbi/yarp.rbi.erb +if you are looking to modify the template +=end + +module YARP + class Node + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(Location) } + def location; end + end + + class Location + sig { returns(String) } + def slice; end + + sig { returns(T::Array[Comment]) } + def comments; end + end + + class Comment + sig { returns(Location) } + def location; end + end + + # Represents the use of the `alias` keyword to alias a global variable. + # + # alias $foo $bar + # ^^^^^^^^^^^^^^^ + class AliasGlobalVariableNode < Node + sig { returns(Node) } + attr_reader :new_name + + sig { returns(Node) } + attr_reader :old_name + + sig { returns(Location) } + attr_reader :keyword_loc + + sig { params(new_name: Node, old_name: Node, keyword_loc: Location, location: Location).void } + def initialize(new_name, old_name, keyword_loc, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(AliasGlobalVariableNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(String) } + def keyword; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents the use of the `alias` keyword to alias a method. + # + # alias foo bar + # ^^^^^^^^^^^^^ + class AliasMethodNode < Node + sig { returns(Node) } + attr_reader :new_name + + sig { returns(Node) } + attr_reader :old_name + + sig { returns(Location) } + attr_reader :keyword_loc + + sig { params(new_name: Node, old_name: Node, keyword_loc: Location, location: Location).void } + def initialize(new_name, old_name, keyword_loc, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(AliasMethodNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(String) } + def keyword; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents an alternation pattern in pattern matching. + # + # foo => bar | baz + # ^^^^^^^^^ + class AlternationPatternNode < Node + sig { returns(Node) } + attr_reader :left + + sig { returns(Node) } + attr_reader :right + + sig { returns(Location) } + attr_reader :operator_loc + + sig { params(left: Node, right: Node, operator_loc: Location, location: Location).void } + def initialize(left, right, operator_loc, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(AlternationPatternNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(String) } + def operator; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents the use of the `&&` operator or the `and` keyword. + # + # left and right + # ^^^^^^^^^^^^^^ + class AndNode < Node + sig { returns(Node) } + attr_reader :left + + sig { returns(Node) } + attr_reader :right + + sig { returns(Location) } + attr_reader :operator_loc + + sig { params(left: Node, right: Node, operator_loc: Location, location: Location).void } + def initialize(left, right, operator_loc, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(AndNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(String) } + def operator; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents a set of arguments to a method or a keyword. + # + # return foo, bar, baz + # ^^^^^^^^^^^^^ + class ArgumentsNode < Node + sig { returns(T::Array[Node]) } + attr_reader :arguments + + sig { params(arguments: T::Array[Node], location: Location).void } + def initialize(arguments, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(ArgumentsNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents an array literal. This can be a regular array using brackets or + # a special array using % like %w or %i. + # + # [1, 2, 3] + # ^^^^^^^^^ + class ArrayNode < Node + sig { returns(T::Array[Node]) } + attr_reader :elements + + sig { returns(T.nilable(Location)) } + attr_reader :opening_loc + + sig { returns(T.nilable(Location)) } + attr_reader :closing_loc + + sig { params(elements: T::Array[Node], opening_loc: T.nilable(Location), closing_loc: T.nilable(Location), location: Location).void } + def initialize(elements, opening_loc, closing_loc, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(ArrayNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(T.nilable(String)) } + def opening; end + + sig { returns(T.nilable(String)) } + def closing; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents an array pattern in pattern matching. + # + # foo in 1, 2 + # ^^^^^^^^^^^ + # + # foo in [1, 2] + # ^^^^^^^^^^^^^ + # + # foo in *1 + # ^^^^^^^^^ + # + # foo in Bar[] + # ^^^^^^^^^^^^ + # + # foo in Bar[1, 2, 3] + # ^^^^^^^^^^^^^^^^^^^ + class ArrayPatternNode < Node + sig { returns(T.nilable(Node)) } + attr_reader :constant + + sig { returns(T::Array[Node]) } + attr_reader :requireds + + sig { returns(T.nilable(Node)) } + attr_reader :rest + + sig { returns(T::Array[Node]) } + attr_reader :posts + + sig { returns(T.nilable(Location)) } + attr_reader :opening_loc + + sig { returns(T.nilable(Location)) } + attr_reader :closing_loc + + sig { params(constant: T.nilable(Node), requireds: T::Array[Node], rest: T.nilable(Node), posts: T::Array[Node], opening_loc: T.nilable(Location), closing_loc: T.nilable(Location), location: Location).void } + def initialize(constant, requireds, rest, posts, opening_loc, closing_loc, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(ArrayPatternNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(T.nilable(String)) } + def opening; end + + sig { returns(T.nilable(String)) } + def closing; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents a hash key/value pair. + # + # { a => b } + # ^^^^^^ + class AssocNode < Node + sig { returns(Node) } + attr_reader :key + + sig { returns(T.nilable(Node)) } + attr_reader :value + + sig { returns(T.nilable(Location)) } + attr_reader :operator_loc + + sig { params(key: Node, value: T.nilable(Node), operator_loc: T.nilable(Location), location: Location).void } + def initialize(key, value, operator_loc, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(AssocNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(T.nilable(String)) } + def operator; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents a splat in a hash literal. + # + # { **foo } + # ^^^^^ + class AssocSplatNode < Node + sig { returns(T.nilable(Node)) } + attr_reader :value + + sig { returns(Location) } + attr_reader :operator_loc + + sig { params(value: T.nilable(Node), operator_loc: Location, location: Location).void } + def initialize(value, operator_loc, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(AssocSplatNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(String) } + def operator; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents reading a reference to a field in the previous match. + # + # $' + # ^^ + class BackReferenceReadNode < Node + sig { params(location: Location).void } + def initialize(location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(BackReferenceReadNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents a begin statement. + # + # begin + # foo + # end + # ^^^^^ + class BeginNode < Node + sig { returns(T.nilable(Location)) } + attr_reader :begin_keyword_loc + + sig { returns(T.nilable(StatementsNode)) } + attr_reader :statements + + sig { returns(T.nilable(RescueNode)) } + attr_reader :rescue_clause + + sig { returns(T.nilable(ElseNode)) } + attr_reader :else_clause + + sig { returns(T.nilable(EnsureNode)) } + attr_reader :ensure_clause + + sig { returns(T.nilable(Location)) } + attr_reader :end_keyword_loc + + sig { params(begin_keyword_loc: T.nilable(Location), statements: T.nilable(StatementsNode), rescue_clause: T.nilable(RescueNode), else_clause: T.nilable(ElseNode), ensure_clause: T.nilable(EnsureNode), end_keyword_loc: T.nilable(Location), location: Location).void } + def initialize(begin_keyword_loc, statements, rescue_clause, else_clause, ensure_clause, end_keyword_loc, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + def set_newline_flag(newline_marked); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(BeginNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(T.nilable(String)) } + def begin_keyword; end + + sig { returns(T.nilable(String)) } + def end_keyword; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents block method arguments. + # + # bar(&args) + # ^^^^^^^^^^ + class BlockArgumentNode < Node + sig { returns(T.nilable(Node)) } + attr_reader :expression + + sig { returns(Location) } + attr_reader :operator_loc + + sig { params(expression: T.nilable(Node), operator_loc: Location, location: Location).void } + def initialize(expression, operator_loc, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(BlockArgumentNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(String) } + def operator; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents a block local variable. + # + # a { |; b| } + # ^ + class BlockLocalVariableNode < Node + sig { returns(Symbol) } + attr_reader :name + + sig { params(name: Symbol, location: Location).void } + def initialize(name, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(BlockLocalVariableNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents a block of ruby code. + # + # [1, 2, 3].each { |i| puts x } + # ^^^^^^^^^^^^^^ + class BlockNode < Node + sig { returns(T::Array[Symbol]) } + attr_reader :locals + + sig { returns(T.nilable(BlockParametersNode)) } + attr_reader :parameters + + sig { returns(T.nilable(Node)) } + attr_reader :body + + sig { returns(Location) } + attr_reader :opening_loc + + sig { returns(Location) } + attr_reader :closing_loc + + sig { params(locals: T::Array[Symbol], parameters: T.nilable(BlockParametersNode), body: T.nilable(Node), opening_loc: Location, closing_loc: Location, location: Location).void } + def initialize(locals, parameters, body, opening_loc, closing_loc, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(BlockNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(String) } + def opening; end + + sig { returns(String) } + def closing; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents a block parameter to a method, block, or lambda definition. + # + # def a(&b) + # ^^ + # end + class BlockParameterNode < Node + sig { returns(T.nilable(Symbol)) } + attr_reader :name + + sig { returns(T.nilable(Location)) } + attr_reader :name_loc + + sig { returns(Location) } + attr_reader :operator_loc + + sig { params(name: T.nilable(Symbol), name_loc: T.nilable(Location), operator_loc: Location, location: Location).void } + def initialize(name, name_loc, operator_loc, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(BlockParameterNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(String) } + def operator; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents a block's parameters declaration. + # + # -> (a, b = 1; local) { } + # ^^^^^^^^^^^^^^^^^ + # + # foo do |a, b = 1; local| + # ^^^^^^^^^^^^^^^^^ + # end + class BlockParametersNode < Node + sig { returns(T.nilable(ParametersNode)) } + attr_reader :parameters + + sig { returns(T::Array[Node]) } + attr_reader :locals + + sig { returns(T.nilable(Location)) } + attr_reader :opening_loc + + sig { returns(T.nilable(Location)) } + attr_reader :closing_loc + + sig { params(parameters: T.nilable(ParametersNode), locals: T::Array[Node], opening_loc: T.nilable(Location), closing_loc: T.nilable(Location), location: Location).void } + def initialize(parameters, locals, opening_loc, closing_loc, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(BlockParametersNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(T.nilable(String)) } + def opening; end + + sig { returns(T.nilable(String)) } + def closing; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents the use of the `break` keyword. + # + # break foo + # ^^^^^^^^^ + class BreakNode < Node + sig { returns(T.nilable(ArgumentsNode)) } + attr_reader :arguments + + sig { returns(Location) } + attr_reader :keyword_loc + + sig { params(arguments: T.nilable(ArgumentsNode), keyword_loc: Location, location: Location).void } + def initialize(arguments, keyword_loc, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(BreakNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(String) } + def keyword; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents the use of the `&&=` operator on a call. + # + # foo.bar &&= value + # ^^^^^^^^^^^^^^^^^ + class CallAndWriteNode < Node + sig { returns(T.nilable(Node)) } + attr_reader :receiver + + sig { returns(T.nilable(Location)) } + attr_reader :call_operator_loc + + sig { returns(T.nilable(Location)) } + attr_reader :message_loc + + sig { returns(T.nilable(Location)) } + attr_reader :opening_loc + + sig { returns(T.nilable(ArgumentsNode)) } + attr_reader :arguments + + sig { returns(T.nilable(Location)) } + attr_reader :closing_loc + + sig { returns(Integer) } + attr_reader :flags + + sig { returns(String) } + attr_reader :read_name + + sig { returns(String) } + attr_reader :write_name + + sig { returns(Location) } + attr_reader :operator_loc + + sig { returns(Node) } + attr_reader :value + + sig { params(receiver: T.nilable(Node), call_operator_loc: T.nilable(Location), message_loc: T.nilable(Location), opening_loc: T.nilable(Location), arguments: T.nilable(ArgumentsNode), closing_loc: T.nilable(Location), flags: Integer, read_name: String, write_name: String, operator_loc: Location, value: Node, location: Location).void } + def initialize(receiver, call_operator_loc, message_loc, opening_loc, arguments, closing_loc, flags, read_name, write_name, operator_loc, value, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(CallAndWriteNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(T.nilable(String)) } + def call_operator; end + + sig { returns(T.nilable(String)) } + def message; end + + sig { returns(T.nilable(String)) } + def opening; end + + sig { returns(T.nilable(String)) } + def closing; end + + sig { returns(T::Boolean) } + def safe_navigation?; end + + sig { returns(T::Boolean) } + def variable_call?; end + + sig { returns(String) } + def operator; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents a method call, in all of the various forms that can take. + # + # foo + # ^^^ + # + # foo() + # ^^^^^ + # + # +foo + # ^^^^ + # + # foo + bar + # ^^^^^^^^^ + # + # foo.bar + # ^^^^^^^ + # + # foo&.bar + # ^^^^^^^^ + class CallNode < Node + sig { returns(T.nilable(Node)) } + attr_reader :receiver + + sig { returns(T.nilable(Location)) } + attr_reader :call_operator_loc + + sig { returns(T.nilable(Location)) } + attr_reader :message_loc + + sig { returns(T.nilable(Location)) } + attr_reader :opening_loc + + sig { returns(T.nilable(ArgumentsNode)) } + attr_reader :arguments + + sig { returns(T.nilable(Location)) } + attr_reader :closing_loc + + sig { returns(T.nilable(BlockNode)) } + attr_reader :block + + sig { returns(Integer) } + attr_reader :flags + + sig { returns(String) } + attr_reader :name + + sig { params(receiver: T.nilable(Node), call_operator_loc: T.nilable(Location), message_loc: T.nilable(Location), opening_loc: T.nilable(Location), arguments: T.nilable(ArgumentsNode), closing_loc: T.nilable(Location), block: T.nilable(BlockNode), flags: Integer, name: String, location: Location).void } + def initialize(receiver, call_operator_loc, message_loc, opening_loc, arguments, closing_loc, block, flags, name, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(CallNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(T.nilable(String)) } + def call_operator; end + + sig { returns(T.nilable(String)) } + def message; end + + sig { returns(T.nilable(String)) } + def opening; end + + sig { returns(T.nilable(String)) } + def closing; end + + sig { returns(T::Boolean) } + def safe_navigation?; end + + sig { returns(T::Boolean) } + def variable_call?; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents the use of an assignment operator on a call. + # + # foo.bar += baz + # ^^^^^^^^^^^^^^ + class CallOperatorWriteNode < Node + sig { returns(T.nilable(Node)) } + attr_reader :receiver + + sig { returns(T.nilable(Location)) } + attr_reader :call_operator_loc + + sig { returns(T.nilable(Location)) } + attr_reader :message_loc + + sig { returns(T.nilable(Location)) } + attr_reader :opening_loc + + sig { returns(T.nilable(ArgumentsNode)) } + attr_reader :arguments + + sig { returns(T.nilable(Location)) } + attr_reader :closing_loc + + sig { returns(Integer) } + attr_reader :flags + + sig { returns(String) } + attr_reader :read_name + + sig { returns(String) } + attr_reader :write_name + + sig { returns(Symbol) } + attr_reader :operator + + sig { returns(Location) } + attr_reader :operator_loc + + sig { returns(Node) } + attr_reader :value + + sig { params(receiver: T.nilable(Node), call_operator_loc: T.nilable(Location), message_loc: T.nilable(Location), opening_loc: T.nilable(Location), arguments: T.nilable(ArgumentsNode), closing_loc: T.nilable(Location), flags: Integer, read_name: String, write_name: String, operator: Symbol, operator_loc: Location, value: Node, location: Location).void } + def initialize(receiver, call_operator_loc, message_loc, opening_loc, arguments, closing_loc, flags, read_name, write_name, operator, operator_loc, value, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(CallOperatorWriteNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(T.nilable(String)) } + def call_operator; end + + sig { returns(T.nilable(String)) } + def message; end + + sig { returns(T.nilable(String)) } + def opening; end + + sig { returns(T.nilable(String)) } + def closing; end + + sig { returns(T::Boolean) } + def safe_navigation?; end + + sig { returns(T::Boolean) } + def variable_call?; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents the use of the `||=` operator on a call. + # + # foo.bar ||= value + # ^^^^^^^^^^^^^^^^^ + class CallOrWriteNode < Node + sig { returns(T.nilable(Node)) } + attr_reader :receiver + + sig { returns(T.nilable(Location)) } + attr_reader :call_operator_loc + + sig { returns(T.nilable(Location)) } + attr_reader :message_loc + + sig { returns(T.nilable(Location)) } + attr_reader :opening_loc + + sig { returns(T.nilable(ArgumentsNode)) } + attr_reader :arguments + + sig { returns(T.nilable(Location)) } + attr_reader :closing_loc + + sig { returns(Integer) } + attr_reader :flags + + sig { returns(String) } + attr_reader :read_name + + sig { returns(String) } + attr_reader :write_name + + sig { returns(Location) } + attr_reader :operator_loc + + sig { returns(Node) } + attr_reader :value + + sig { params(receiver: T.nilable(Node), call_operator_loc: T.nilable(Location), message_loc: T.nilable(Location), opening_loc: T.nilable(Location), arguments: T.nilable(ArgumentsNode), closing_loc: T.nilable(Location), flags: Integer, read_name: String, write_name: String, operator_loc: Location, value: Node, location: Location).void } + def initialize(receiver, call_operator_loc, message_loc, opening_loc, arguments, closing_loc, flags, read_name, write_name, operator_loc, value, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(CallOrWriteNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(T.nilable(String)) } + def call_operator; end + + sig { returns(T.nilable(String)) } + def message; end + + sig { returns(T.nilable(String)) } + def opening; end + + sig { returns(T.nilable(String)) } + def closing; end + + sig { returns(T::Boolean) } + def safe_navigation?; end + + sig { returns(T::Boolean) } + def variable_call?; end + + sig { returns(String) } + def operator; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents assigning to a local variable in pattern matching. + # + # foo => [bar => baz] + # ^^^^^^^^^^^^ + class CapturePatternNode < Node + sig { returns(Node) } + attr_reader :value + + sig { returns(Node) } + attr_reader :target + + sig { returns(Location) } + attr_reader :operator_loc + + sig { params(value: Node, target: Node, operator_loc: Location, location: Location).void } + def initialize(value, target, operator_loc, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(CapturePatternNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(String) } + def operator; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents the use of a case statement. + # + # case true + # ^^^^^^^^^ + # when false + # end + class CaseNode < Node + sig { returns(T.nilable(Node)) } + attr_reader :predicate + + sig { returns(T::Array[Node]) } + attr_reader :conditions + + sig { returns(T.nilable(ElseNode)) } + attr_reader :consequent + + sig { returns(Location) } + attr_reader :case_keyword_loc + + sig { returns(Location) } + attr_reader :end_keyword_loc + + sig { params(predicate: T.nilable(Node), conditions: T::Array[Node], consequent: T.nilable(ElseNode), case_keyword_loc: Location, end_keyword_loc: Location, location: Location).void } + def initialize(predicate, conditions, consequent, case_keyword_loc, end_keyword_loc, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(CaseNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(String) } + def case_keyword; end + + sig { returns(String) } + def end_keyword; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents a class declaration involving the `class` keyword. + # + # class Foo end + # ^^^^^^^^^^^^^ + class ClassNode < Node + sig { returns(T::Array[Symbol]) } + attr_reader :locals + + sig { returns(Location) } + attr_reader :class_keyword_loc + + sig { returns(Node) } + attr_reader :constant_path + + sig { returns(T.nilable(Location)) } + attr_reader :inheritance_operator_loc + + sig { returns(T.nilable(Node)) } + attr_reader :superclass + + sig { returns(T.nilable(Node)) } + attr_reader :body + + sig { returns(Location) } + attr_reader :end_keyword_loc + + sig { returns(Symbol) } + attr_reader :name + + sig { params(locals: T::Array[Symbol], class_keyword_loc: Location, constant_path: Node, inheritance_operator_loc: T.nilable(Location), superclass: T.nilable(Node), body: T.nilable(Node), end_keyword_loc: Location, name: Symbol, location: Location).void } + def initialize(locals, class_keyword_loc, constant_path, inheritance_operator_loc, superclass, body, end_keyword_loc, name, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(ClassNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(String) } + def class_keyword; end + + sig { returns(T.nilable(String)) } + def inheritance_operator; end + + sig { returns(String) } + def end_keyword; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents the use of the `&&=` operator for assignment to a class variable. + # + # @@target &&= value + # ^^^^^^^^^^^^^^^^ + class ClassVariableAndWriteNode < Node + sig { returns(Symbol) } + attr_reader :name + + sig { returns(Location) } + attr_reader :name_loc + + sig { returns(Location) } + attr_reader :operator_loc + + sig { returns(Node) } + attr_reader :value + + sig { params(name: Symbol, name_loc: Location, operator_loc: Location, value: Node, location: Location).void } + def initialize(name, name_loc, operator_loc, value, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(ClassVariableAndWriteNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(String) } + def operator; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents assigning to a class variable using an operator that isn't `=`. + # + # @@target += value + # ^^^^^^^^^^^^^^^^^ + class ClassVariableOperatorWriteNode < Node + sig { returns(Symbol) } + attr_reader :name + + sig { returns(Location) } + attr_reader :name_loc + + sig { returns(Location) } + attr_reader :operator_loc + + sig { returns(Node) } + attr_reader :value + + sig { returns(Symbol) } + attr_reader :operator + + sig { params(name: Symbol, name_loc: Location, operator_loc: Location, value: Node, operator: Symbol, location: Location).void } + def initialize(name, name_loc, operator_loc, value, operator, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(ClassVariableOperatorWriteNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents the use of the `||=` operator for assignment to a class variable. + # + # @@target ||= value + # ^^^^^^^^^^^^^^^^^^ + class ClassVariableOrWriteNode < Node + sig { returns(Symbol) } + attr_reader :name + + sig { returns(Location) } + attr_reader :name_loc + + sig { returns(Location) } + attr_reader :operator_loc + + sig { returns(Node) } + attr_reader :value + + sig { params(name: Symbol, name_loc: Location, operator_loc: Location, value: Node, location: Location).void } + def initialize(name, name_loc, operator_loc, value, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(ClassVariableOrWriteNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(String) } + def operator; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents referencing a class variable. + # + # @@foo + # ^^^^^ + class ClassVariableReadNode < Node + sig { returns(Symbol) } + attr_reader :name + + sig { params(name: Symbol, location: Location).void } + def initialize(name, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(ClassVariableReadNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents writing to a class variable in a context that doesn't have an explicit value. + # + # @@foo, @@bar = baz + # ^^^^^ ^^^^^ + class ClassVariableTargetNode < Node + sig { returns(Symbol) } + attr_reader :name + + sig { params(name: Symbol, location: Location).void } + def initialize(name, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(ClassVariableTargetNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents writing to a class variable. + # + # @@foo = 1 + # ^^^^^^^^^ + class ClassVariableWriteNode < Node + sig { returns(Symbol) } + attr_reader :name + + sig { returns(Location) } + attr_reader :name_loc + + sig { returns(Node) } + attr_reader :value + + sig { returns(T.nilable(Location)) } + attr_reader :operator_loc + + sig { params(name: Symbol, name_loc: Location, value: Node, operator_loc: T.nilable(Location), location: Location).void } + def initialize(name, name_loc, value, operator_loc, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(ClassVariableWriteNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(T.nilable(String)) } + def operator; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents the use of the `&&=` operator for assignment to a constant. + # + # Target &&= value + # ^^^^^^^^^^^^^^^^ + class ConstantAndWriteNode < Node + sig { returns(Symbol) } + attr_reader :name + + sig { returns(Location) } + attr_reader :name_loc + + sig { returns(Location) } + attr_reader :operator_loc + + sig { returns(Node) } + attr_reader :value + + sig { params(name: Symbol, name_loc: Location, operator_loc: Location, value: Node, location: Location).void } + def initialize(name, name_loc, operator_loc, value, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(ConstantAndWriteNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(String) } + def operator; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents assigning to a constant using an operator that isn't `=`. + # + # Target += value + # ^^^^^^^^^^^^^^^ + class ConstantOperatorWriteNode < Node + sig { returns(Symbol) } + attr_reader :name + + sig { returns(Location) } + attr_reader :name_loc + + sig { returns(Location) } + attr_reader :operator_loc + + sig { returns(Node) } + attr_reader :value + + sig { returns(Symbol) } + attr_reader :operator + + sig { params(name: Symbol, name_loc: Location, operator_loc: Location, value: Node, operator: Symbol, location: Location).void } + def initialize(name, name_loc, operator_loc, value, operator, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(ConstantOperatorWriteNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents the use of the `||=` operator for assignment to a constant. + # + # Target ||= value + # ^^^^^^^^^^^^^^^^ + class ConstantOrWriteNode < Node + sig { returns(Symbol) } + attr_reader :name + + sig { returns(Location) } + attr_reader :name_loc + + sig { returns(Location) } + attr_reader :operator_loc + + sig { returns(Node) } + attr_reader :value + + sig { params(name: Symbol, name_loc: Location, operator_loc: Location, value: Node, location: Location).void } + def initialize(name, name_loc, operator_loc, value, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(ConstantOrWriteNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(String) } + def operator; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents the use of the `&&=` operator for assignment to a constant path. + # + # Parent::Child &&= value + # ^^^^^^^^^^^^^^^^^^^^^^^ + class ConstantPathAndWriteNode < Node + sig { returns(ConstantPathNode) } + attr_reader :target + + sig { returns(Location) } + attr_reader :operator_loc + + sig { returns(Node) } + attr_reader :value + + sig { params(target: ConstantPathNode, operator_loc: Location, value: Node, location: Location).void } + def initialize(target, operator_loc, value, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(ConstantPathAndWriteNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(String) } + def operator; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents accessing a constant through a path of `::` operators. + # + # Foo::Bar + # ^^^^^^^^ + class ConstantPathNode < Node + sig { returns(T.nilable(Node)) } + attr_reader :parent + + sig { returns(Node) } + attr_reader :child + + sig { returns(Location) } + attr_reader :delimiter_loc + + sig { params(parent: T.nilable(Node), child: Node, delimiter_loc: Location, location: Location).void } + def initialize(parent, child, delimiter_loc, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(ConstantPathNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(String) } + def delimiter; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents assigning to a constant path using an operator that isn't `=`. + # + # Parent::Child += value + # ^^^^^^^^^^^^^^^^^^^^^^ + class ConstantPathOperatorWriteNode < Node + sig { returns(ConstantPathNode) } + attr_reader :target + + sig { returns(Location) } + attr_reader :operator_loc + + sig { returns(Node) } + attr_reader :value + + sig { returns(Symbol) } + attr_reader :operator + + sig { params(target: ConstantPathNode, operator_loc: Location, value: Node, operator: Symbol, location: Location).void } + def initialize(target, operator_loc, value, operator, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(ConstantPathOperatorWriteNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents the use of the `||=` operator for assignment to a constant path. + # + # Parent::Child ||= value + # ^^^^^^^^^^^^^^^^^^^^^^^ + class ConstantPathOrWriteNode < Node + sig { returns(ConstantPathNode) } + attr_reader :target + + sig { returns(Location) } + attr_reader :operator_loc + + sig { returns(Node) } + attr_reader :value + + sig { params(target: ConstantPathNode, operator_loc: Location, value: Node, location: Location).void } + def initialize(target, operator_loc, value, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(ConstantPathOrWriteNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(String) } + def operator; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents writing to a constant path in a context that doesn't have an explicit value. + # + # Foo::Foo, Bar::Bar = baz + # ^^^^^^^^ ^^^^^^^^ + class ConstantPathTargetNode < Node + sig { returns(T.nilable(Node)) } + attr_reader :parent + + sig { returns(Node) } + attr_reader :child + + sig { returns(Location) } + attr_reader :delimiter_loc + + sig { params(parent: T.nilable(Node), child: Node, delimiter_loc: Location, location: Location).void } + def initialize(parent, child, delimiter_loc, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(ConstantPathTargetNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(String) } + def delimiter; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents writing to a constant path. + # + # ::Foo = 1 + # ^^^^^^^^^ + # + # Foo::Bar = 1 + # ^^^^^^^^^^^^ + # + # ::Foo::Bar = 1 + # ^^^^^^^^^^^^^^ + class ConstantPathWriteNode < Node + sig { returns(ConstantPathNode) } + attr_reader :target + + sig { returns(Location) } + attr_reader :operator_loc + + sig { returns(Node) } + attr_reader :value + + sig { params(target: ConstantPathNode, operator_loc: Location, value: Node, location: Location).void } + def initialize(target, operator_loc, value, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(ConstantPathWriteNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(String) } + def operator; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents referencing a constant. + # + # Foo + # ^^^ + class ConstantReadNode < Node + sig { returns(Symbol) } + attr_reader :name + + sig { params(name: Symbol, location: Location).void } + def initialize(name, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(ConstantReadNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents writing to a constant in a context that doesn't have an explicit value. + # + # Foo, Bar = baz + # ^^^ ^^^ + class ConstantTargetNode < Node + sig { returns(Symbol) } + attr_reader :name + + sig { params(name: Symbol, location: Location).void } + def initialize(name, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(ConstantTargetNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents writing to a constant. + # + # Foo = 1 + # ^^^^^^^ + class ConstantWriteNode < Node + sig { returns(Symbol) } + attr_reader :name + + sig { returns(Location) } + attr_reader :name_loc + + sig { returns(Node) } + attr_reader :value + + sig { returns(Location) } + attr_reader :operator_loc + + sig { params(name: Symbol, name_loc: Location, value: Node, operator_loc: Location, location: Location).void } + def initialize(name, name_loc, value, operator_loc, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(ConstantWriteNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(String) } + def operator; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents a method definition. + # + # def method + # end + # ^^^^^^^^^^ + class DefNode < Node + sig { returns(Symbol) } + attr_reader :name + + sig { returns(Location) } + attr_reader :name_loc + + sig { returns(T.nilable(Node)) } + attr_reader :receiver + + sig { returns(T.nilable(ParametersNode)) } + attr_reader :parameters + + sig { returns(T.nilable(Node)) } + attr_reader :body + + sig { returns(T::Array[Symbol]) } + attr_reader :locals + + sig { returns(Location) } + attr_reader :def_keyword_loc + + sig { returns(T.nilable(Location)) } + attr_reader :operator_loc + + sig { returns(T.nilable(Location)) } + attr_reader :lparen_loc + + sig { returns(T.nilable(Location)) } + attr_reader :rparen_loc + + sig { returns(T.nilable(Location)) } + attr_reader :equal_loc + + sig { returns(T.nilable(Location)) } + attr_reader :end_keyword_loc + + sig { params(name: Symbol, name_loc: Location, receiver: T.nilable(Node), parameters: T.nilable(ParametersNode), body: T.nilable(Node), locals: T::Array[Symbol], def_keyword_loc: Location, operator_loc: T.nilable(Location), lparen_loc: T.nilable(Location), rparen_loc: T.nilable(Location), equal_loc: T.nilable(Location), end_keyword_loc: T.nilable(Location), location: Location).void } + def initialize(name, name_loc, receiver, parameters, body, locals, def_keyword_loc, operator_loc, lparen_loc, rparen_loc, equal_loc, end_keyword_loc, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(DefNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(String) } + def def_keyword; end + + sig { returns(T.nilable(String)) } + def operator; end + + sig { returns(T.nilable(String)) } + def lparen; end + + sig { returns(T.nilable(String)) } + def rparen; end + + sig { returns(T.nilable(String)) } + def equal; end + + sig { returns(T.nilable(String)) } + def end_keyword; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents the use of the `defined?` keyword. + # + # defined?(a) + # ^^^^^^^^^^^ + class DefinedNode < Node + sig { returns(T.nilable(Location)) } + attr_reader :lparen_loc + + sig { returns(Node) } + attr_reader :value + + sig { returns(T.nilable(Location)) } + attr_reader :rparen_loc + + sig { returns(Location) } + attr_reader :keyword_loc + + sig { params(lparen_loc: T.nilable(Location), value: Node, rparen_loc: T.nilable(Location), keyword_loc: Location, location: Location).void } + def initialize(lparen_loc, value, rparen_loc, keyword_loc, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(DefinedNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(T.nilable(String)) } + def lparen; end + + sig { returns(T.nilable(String)) } + def rparen; end + + sig { returns(String) } + def keyword; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents an `else` clause in a `case`, `if`, or `unless` statement. + # + # if a then b else c end + # ^^^^^^^^^^ + class ElseNode < Node + sig { returns(Location) } + attr_reader :else_keyword_loc + + sig { returns(T.nilable(StatementsNode)) } + attr_reader :statements + + sig { returns(T.nilable(Location)) } + attr_reader :end_keyword_loc + + sig { params(else_keyword_loc: Location, statements: T.nilable(StatementsNode), end_keyword_loc: T.nilable(Location), location: Location).void } + def initialize(else_keyword_loc, statements, end_keyword_loc, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(ElseNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(String) } + def else_keyword; end + + sig { returns(T.nilable(String)) } + def end_keyword; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents an interpolated set of statements. + # + # "foo #{bar}" + # ^^^^^^ + class EmbeddedStatementsNode < Node + sig { returns(Location) } + attr_reader :opening_loc + + sig { returns(T.nilable(StatementsNode)) } + attr_reader :statements + + sig { returns(Location) } + attr_reader :closing_loc + + sig { params(opening_loc: Location, statements: T.nilable(StatementsNode), closing_loc: Location, location: Location).void } + def initialize(opening_loc, statements, closing_loc, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(EmbeddedStatementsNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(String) } + def opening; end + + sig { returns(String) } + def closing; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents an interpolated variable. + # + # "foo #@bar" + # ^^^^^ + class EmbeddedVariableNode < Node + sig { returns(Location) } + attr_reader :operator_loc + + sig { returns(Node) } + attr_reader :variable + + sig { params(operator_loc: Location, variable: Node, location: Location).void } + def initialize(operator_loc, variable, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(EmbeddedVariableNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(String) } + def operator; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents an `ensure` clause in a `begin` statement. + # + # begin + # foo + # ensure + # ^^^^^^ + # bar + # end + class EnsureNode < Node + sig { returns(Location) } + attr_reader :ensure_keyword_loc + + sig { returns(T.nilable(StatementsNode)) } + attr_reader :statements + + sig { returns(Location) } + attr_reader :end_keyword_loc + + sig { params(ensure_keyword_loc: Location, statements: T.nilable(StatementsNode), end_keyword_loc: Location, location: Location).void } + def initialize(ensure_keyword_loc, statements, end_keyword_loc, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(EnsureNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(String) } + def ensure_keyword; end + + sig { returns(String) } + def end_keyword; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents the use of the literal `false` keyword. + # + # false + # ^^^^^ + class FalseNode < Node + sig { params(location: Location).void } + def initialize(location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(FalseNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents a find pattern in pattern matching. + # + # foo in *bar, baz, *qux + # ^^^^^^^^^^^^^^^^^^^^^^ + # + # foo in [*bar, baz, *qux] + # ^^^^^^^^^^^^^^^^^^^^^^^^ + # + # foo in Foo(*bar, baz, *qux) + # ^^^^^^^^^^^^^^^^^^^^^^^^^^^ + class FindPatternNode < Node + sig { returns(T.nilable(Node)) } + attr_reader :constant + + sig { returns(Node) } + attr_reader :left + + sig { returns(T::Array[Node]) } + attr_reader :requireds + + sig { returns(Node) } + attr_reader :right + + sig { returns(T.nilable(Location)) } + attr_reader :opening_loc + + sig { returns(T.nilable(Location)) } + attr_reader :closing_loc + + sig { params(constant: T.nilable(Node), left: Node, requireds: T::Array[Node], right: Node, opening_loc: T.nilable(Location), closing_loc: T.nilable(Location), location: Location).void } + def initialize(constant, left, requireds, right, opening_loc, closing_loc, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(FindPatternNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(T.nilable(String)) } + def opening; end + + sig { returns(T.nilable(String)) } + def closing; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents the use of the `..` or `...` operators to create flip flops. + # + # baz if foo .. bar + # ^^^^^^^^^^ + class FlipFlopNode < Node + sig { returns(T.nilable(Node)) } + attr_reader :left + + sig { returns(T.nilable(Node)) } + attr_reader :right + + sig { returns(Location) } + attr_reader :operator_loc + + sig { returns(Integer) } + attr_reader :flags + + sig { params(left: T.nilable(Node), right: T.nilable(Node), operator_loc: Location, flags: Integer, location: Location).void } + def initialize(left, right, operator_loc, flags, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(FlipFlopNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(String) } + def operator; end + + sig { returns(T::Boolean) } + def exclude_end?; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents a floating point number literal. + # + # 1.0 + # ^^^ + class FloatNode < Node + sig { params(location: Location).void } + def initialize(location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(FloatNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents the use of the `for` keyword. + # + # for i in a end + # ^^^^^^^^^^^^^^ + class ForNode < Node + sig { returns(Node) } + attr_reader :index + + sig { returns(Node) } + attr_reader :collection + + sig { returns(T.nilable(StatementsNode)) } + attr_reader :statements + + sig { returns(Location) } + attr_reader :for_keyword_loc + + sig { returns(Location) } + attr_reader :in_keyword_loc + + sig { returns(T.nilable(Location)) } + attr_reader :do_keyword_loc + + sig { returns(Location) } + attr_reader :end_keyword_loc + + sig { params(index: Node, collection: Node, statements: T.nilable(StatementsNode), for_keyword_loc: Location, in_keyword_loc: Location, do_keyword_loc: T.nilable(Location), end_keyword_loc: Location, location: Location).void } + def initialize(index, collection, statements, for_keyword_loc, in_keyword_loc, do_keyword_loc, end_keyword_loc, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(ForNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(String) } + def for_keyword; end + + sig { returns(String) } + def in_keyword; end + + sig { returns(T.nilable(String)) } + def do_keyword; end + + sig { returns(String) } + def end_keyword; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents forwarding all arguments to this method to another method. + # + # def foo(...) + # bar(...) + # ^^^^^^^^ + # end + class ForwardingArgumentsNode < Node + sig { params(location: Location).void } + def initialize(location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(ForwardingArgumentsNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents the use of the forwarding parameter in a method, block, or lambda declaration. + # + # def foo(...) + # ^^^ + # end + class ForwardingParameterNode < Node + sig { params(location: Location).void } + def initialize(location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(ForwardingParameterNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents the use of the `super` keyword without parentheses or arguments. + # + # super + # ^^^^^ + class ForwardingSuperNode < Node + sig { returns(T.nilable(BlockNode)) } + attr_reader :block + + sig { params(block: T.nilable(BlockNode), location: Location).void } + def initialize(block, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(ForwardingSuperNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents the use of the `&&=` operator for assignment to a global variable. + # + # $target &&= value + # ^^^^^^^^^^^^^^^^^ + class GlobalVariableAndWriteNode < Node + sig { returns(Symbol) } + attr_reader :name + + sig { returns(Location) } + attr_reader :name_loc + + sig { returns(Location) } + attr_reader :operator_loc + + sig { returns(Node) } + attr_reader :value + + sig { params(name: Symbol, name_loc: Location, operator_loc: Location, value: Node, location: Location).void } + def initialize(name, name_loc, operator_loc, value, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(GlobalVariableAndWriteNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(String) } + def operator; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents assigning to a global variable using an operator that isn't `=`. + # + # $target += value + # ^^^^^^^^^^^^^^^^ + class GlobalVariableOperatorWriteNode < Node + sig { returns(Symbol) } + attr_reader :name + + sig { returns(Location) } + attr_reader :name_loc + + sig { returns(Location) } + attr_reader :operator_loc + + sig { returns(Node) } + attr_reader :value + + sig { returns(Symbol) } + attr_reader :operator + + sig { params(name: Symbol, name_loc: Location, operator_loc: Location, value: Node, operator: Symbol, location: Location).void } + def initialize(name, name_loc, operator_loc, value, operator, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(GlobalVariableOperatorWriteNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents the use of the `||=` operator for assignment to a global variable. + # + # $target ||= value + # ^^^^^^^^^^^^^^^^^ + class GlobalVariableOrWriteNode < Node + sig { returns(Symbol) } + attr_reader :name + + sig { returns(Location) } + attr_reader :name_loc + + sig { returns(Location) } + attr_reader :operator_loc + + sig { returns(Node) } + attr_reader :value + + sig { params(name: Symbol, name_loc: Location, operator_loc: Location, value: Node, location: Location).void } + def initialize(name, name_loc, operator_loc, value, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(GlobalVariableOrWriteNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(String) } + def operator; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents referencing a global variable. + # + # $foo + # ^^^^ + class GlobalVariableReadNode < Node + sig { returns(Symbol) } + attr_reader :name + + sig { params(name: Symbol, location: Location).void } + def initialize(name, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(GlobalVariableReadNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents writing to a global variable in a context that doesn't have an explicit value. + # + # $foo, $bar = baz + # ^^^^ ^^^^ + class GlobalVariableTargetNode < Node + sig { returns(Symbol) } + attr_reader :name + + sig { params(name: Symbol, location: Location).void } + def initialize(name, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(GlobalVariableTargetNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents writing to a global variable. + # + # $foo = 1 + # ^^^^^^^^ + class GlobalVariableWriteNode < Node + sig { returns(Symbol) } + attr_reader :name + + sig { returns(Location) } + attr_reader :name_loc + + sig { returns(Node) } + attr_reader :value + + sig { returns(Location) } + attr_reader :operator_loc + + sig { params(name: Symbol, name_loc: Location, value: Node, operator_loc: Location, location: Location).void } + def initialize(name, name_loc, value, operator_loc, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(GlobalVariableWriteNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(String) } + def operator; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents a hash literal. + # + # { a => b } + # ^^^^^^^^^^ + class HashNode < Node + sig { returns(Location) } + attr_reader :opening_loc + + sig { returns(T::Array[Node]) } + attr_reader :elements + + sig { returns(Location) } + attr_reader :closing_loc + + sig { params(opening_loc: Location, elements: T::Array[Node], closing_loc: Location, location: Location).void } + def initialize(opening_loc, elements, closing_loc, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(HashNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(String) } + def opening; end + + sig { returns(String) } + def closing; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents a hash pattern in pattern matching. + # + # foo => { a: 1, b: 2 } + # ^^^^^^^^^^^^^^ + # + # foo => { a: 1, b: 2, **c } + # ^^^^^^^^^^^^^^^^^^^ + class HashPatternNode < Node + sig { returns(T.nilable(Node)) } + attr_reader :constant + + sig { returns(T::Array[Node]) } + attr_reader :assocs + + sig { returns(T.nilable(Node)) } + attr_reader :kwrest + + sig { returns(T.nilable(Location)) } + attr_reader :opening_loc + + sig { returns(T.nilable(Location)) } + attr_reader :closing_loc + + sig { params(constant: T.nilable(Node), assocs: T::Array[Node], kwrest: T.nilable(Node), opening_loc: T.nilable(Location), closing_loc: T.nilable(Location), location: Location).void } + def initialize(constant, assocs, kwrest, opening_loc, closing_loc, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(HashPatternNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(T.nilable(String)) } + def opening; end + + sig { returns(T.nilable(String)) } + def closing; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents the use of the `if` keyword, either in the block form or the modifier form. + # + # bar if foo + # ^^^^^^^^^^ + # + # if foo then bar end + # ^^^^^^^^^^^^^^^^^^^ + class IfNode < Node + sig { returns(T.nilable(Location)) } + attr_reader :if_keyword_loc + + sig { returns(Node) } + attr_reader :predicate + + sig { returns(T.nilable(StatementsNode)) } + attr_reader :statements + + sig { returns(T.nilable(Node)) } + attr_reader :consequent + + sig { returns(T.nilable(Location)) } + attr_reader :end_keyword_loc + + sig { params(if_keyword_loc: T.nilable(Location), predicate: Node, statements: T.nilable(StatementsNode), consequent: T.nilable(Node), end_keyword_loc: T.nilable(Location), location: Location).void } + def initialize(if_keyword_loc, predicate, statements, consequent, end_keyword_loc, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + def set_newline_flag(newline_marked); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(IfNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(T.nilable(String)) } + def if_keyword; end + + sig { returns(T.nilable(String)) } + def end_keyword; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents an imaginary number literal. + # + # 1.0i + # ^^^^ + class ImaginaryNode < Node + sig { returns(Node) } + attr_reader :numeric + + sig { params(numeric: Node, location: Location).void } + def initialize(numeric, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(ImaginaryNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents a node that is implicitly being added to the tree but doesn't + # correspond directly to a node in the source. + # + # { foo: } + # ^^^^ + # + # { Foo: } + # ^^^^ + class ImplicitNode < Node + sig { returns(Node) } + attr_reader :value + + sig { params(value: Node, location: Location).void } + def initialize(value, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(ImplicitNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents the use of the `in` keyword in a case statement. + # + # case a; in b then c end + # ^^^^^^^^^^^ + class InNode < Node + sig { returns(Node) } + attr_reader :pattern + + sig { returns(T.nilable(StatementsNode)) } + attr_reader :statements + + sig { returns(Location) } + attr_reader :in_loc + + sig { returns(T.nilable(Location)) } + attr_reader :then_loc + + sig { params(pattern: Node, statements: T.nilable(StatementsNode), in_loc: Location, then_loc: T.nilable(Location), location: Location).void } + def initialize(pattern, statements, in_loc, then_loc, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(InNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(String) } + def in; end + + sig { returns(T.nilable(String)) } + def then; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents the use of the `&&=` operator for assignment to an instance variable. + # + # @target &&= value + # ^^^^^^^^^^^^^^^^^ + class InstanceVariableAndWriteNode < Node + sig { returns(Symbol) } + attr_reader :name + + sig { returns(Location) } + attr_reader :name_loc + + sig { returns(Location) } + attr_reader :operator_loc + + sig { returns(Node) } + attr_reader :value + + sig { params(name: Symbol, name_loc: Location, operator_loc: Location, value: Node, location: Location).void } + def initialize(name, name_loc, operator_loc, value, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(InstanceVariableAndWriteNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(String) } + def operator; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents assigning to an instance variable using an operator that isn't `=`. + # + # @target += value + # ^^^^^^^^^^^^^^^^ + class InstanceVariableOperatorWriteNode < Node + sig { returns(Symbol) } + attr_reader :name + + sig { returns(Location) } + attr_reader :name_loc + + sig { returns(Location) } + attr_reader :operator_loc + + sig { returns(Node) } + attr_reader :value + + sig { returns(Symbol) } + attr_reader :operator + + sig { params(name: Symbol, name_loc: Location, operator_loc: Location, value: Node, operator: Symbol, location: Location).void } + def initialize(name, name_loc, operator_loc, value, operator, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(InstanceVariableOperatorWriteNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents the use of the `||=` operator for assignment to an instance variable. + # + # @target ||= value + # ^^^^^^^^^^^^^^^^^ + class InstanceVariableOrWriteNode < Node + sig { returns(Symbol) } + attr_reader :name + + sig { returns(Location) } + attr_reader :name_loc + + sig { returns(Location) } + attr_reader :operator_loc + + sig { returns(Node) } + attr_reader :value + + sig { params(name: Symbol, name_loc: Location, operator_loc: Location, value: Node, location: Location).void } + def initialize(name, name_loc, operator_loc, value, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(InstanceVariableOrWriteNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(String) } + def operator; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents referencing an instance variable. + # + # @foo + # ^^^^ + class InstanceVariableReadNode < Node + sig { returns(Symbol) } + attr_reader :name + + sig { params(name: Symbol, location: Location).void } + def initialize(name, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(InstanceVariableReadNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents writing to an instance variable in a context that doesn't have an explicit value. + # + # @foo, @bar = baz + # ^^^^ ^^^^ + class InstanceVariableTargetNode < Node + sig { returns(Symbol) } + attr_reader :name + + sig { params(name: Symbol, location: Location).void } + def initialize(name, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(InstanceVariableTargetNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents writing to an instance variable. + # + # @foo = 1 + # ^^^^^^^^ + class InstanceVariableWriteNode < Node + sig { returns(Symbol) } + attr_reader :name + + sig { returns(Location) } + attr_reader :name_loc + + sig { returns(Node) } + attr_reader :value + + sig { returns(Location) } + attr_reader :operator_loc + + sig { params(name: Symbol, name_loc: Location, value: Node, operator_loc: Location, location: Location).void } + def initialize(name, name_loc, value, operator_loc, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(InstanceVariableWriteNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(String) } + def operator; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents an integer number literal. + # + # 1 + # ^ + class IntegerNode < Node + sig { returns(Integer) } + attr_reader :flags + + sig { params(flags: Integer, location: Location).void } + def initialize(flags, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(IntegerNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(T::Boolean) } + def binary?; end + + sig { returns(T::Boolean) } + def octal?; end + + sig { returns(T::Boolean) } + def decimal?; end + + sig { returns(T::Boolean) } + def hexadecimal?; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents a regular expression literal that contains interpolation that + # is being used in the predicate of a conditional to implicitly match + # against the last line read by an IO object. + # + # if /foo #{bar} baz/ then end + # ^^^^^^^^^^^^^^^^ + class InterpolatedMatchLastLineNode < Node + sig { returns(Location) } + attr_reader :opening_loc + + sig { returns(T::Array[Node]) } + attr_reader :parts + + sig { returns(Location) } + attr_reader :closing_loc + + sig { returns(Integer) } + attr_reader :flags + + sig { params(opening_loc: Location, parts: T::Array[Node], closing_loc: Location, flags: Integer, location: Location).void } + def initialize(opening_loc, parts, closing_loc, flags, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + def set_newline_flag(newline_marked); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(InterpolatedMatchLastLineNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(String) } + def opening; end + + sig { returns(String) } + def closing; end + + sig { returns(T::Boolean) } + def ignore_case?; end + + sig { returns(T::Boolean) } + def extended?; end + + sig { returns(T::Boolean) } + def multi_line?; end + + sig { returns(T::Boolean) } + def euc_jp?; end + + sig { returns(T::Boolean) } + def ascii_8bit?; end + + sig { returns(T::Boolean) } + def windows_31j?; end + + sig { returns(T::Boolean) } + def utf_8?; end + + sig { returns(T::Boolean) } + def once?; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents a regular expression literal that contains interpolation. + # + # /foo #{bar} baz/ + # ^^^^^^^^^^^^^^^^ + class InterpolatedRegularExpressionNode < Node + sig { returns(Location) } + attr_reader :opening_loc + + sig { returns(T::Array[Node]) } + attr_reader :parts + + sig { returns(Location) } + attr_reader :closing_loc + + sig { returns(Integer) } + attr_reader :flags + + sig { params(opening_loc: Location, parts: T::Array[Node], closing_loc: Location, flags: Integer, location: Location).void } + def initialize(opening_loc, parts, closing_loc, flags, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + def set_newline_flag(newline_marked); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(InterpolatedRegularExpressionNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(String) } + def opening; end + + sig { returns(String) } + def closing; end + + sig { returns(T::Boolean) } + def ignore_case?; end + + sig { returns(T::Boolean) } + def extended?; end + + sig { returns(T::Boolean) } + def multi_line?; end + + sig { returns(T::Boolean) } + def euc_jp?; end + + sig { returns(T::Boolean) } + def ascii_8bit?; end + + sig { returns(T::Boolean) } + def windows_31j?; end + + sig { returns(T::Boolean) } + def utf_8?; end + + sig { returns(T::Boolean) } + def once?; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents a string literal that contains interpolation. + # + # "foo #{bar} baz" + # ^^^^^^^^^^^^^^^^ + class InterpolatedStringNode < Node + sig { returns(T.nilable(Location)) } + attr_reader :opening_loc + + sig { returns(T::Array[Node]) } + attr_reader :parts + + sig { returns(T.nilable(Location)) } + attr_reader :closing_loc + + sig { params(opening_loc: T.nilable(Location), parts: T::Array[Node], closing_loc: T.nilable(Location), location: Location).void } + def initialize(opening_loc, parts, closing_loc, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + def set_newline_flag(newline_marked); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(InterpolatedStringNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(T.nilable(String)) } + def opening; end + + sig { returns(T.nilable(String)) } + def closing; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents a symbol literal that contains interpolation. + # + # :"foo #{bar} baz" + # ^^^^^^^^^^^^^^^^^ + class InterpolatedSymbolNode < Node + sig { returns(T.nilable(Location)) } + attr_reader :opening_loc + + sig { returns(T::Array[Node]) } + attr_reader :parts + + sig { returns(T.nilable(Location)) } + attr_reader :closing_loc + + sig { params(opening_loc: T.nilable(Location), parts: T::Array[Node], closing_loc: T.nilable(Location), location: Location).void } + def initialize(opening_loc, parts, closing_loc, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + def set_newline_flag(newline_marked); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(InterpolatedSymbolNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(T.nilable(String)) } + def opening; end + + sig { returns(T.nilable(String)) } + def closing; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents an xstring literal that contains interpolation. + # + # `foo #{bar} baz` + # ^^^^^^^^^^^^^^^^ + class InterpolatedXStringNode < Node + sig { returns(Location) } + attr_reader :opening_loc + + sig { returns(T::Array[Node]) } + attr_reader :parts + + sig { returns(Location) } + attr_reader :closing_loc + + sig { params(opening_loc: Location, parts: T::Array[Node], closing_loc: Location, location: Location).void } + def initialize(opening_loc, parts, closing_loc, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + def set_newline_flag(newline_marked); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(InterpolatedXStringNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(String) } + def opening; end + + sig { returns(String) } + def closing; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents a hash literal without opening and closing braces. + # + # foo(a: b) + # ^^^^ + class KeywordHashNode < Node + sig { returns(T::Array[Node]) } + attr_reader :elements + + sig { params(elements: T::Array[Node], location: Location).void } + def initialize(elements, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(KeywordHashNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents a keyword parameter to a method, block, or lambda definition. + # + # def a(b:) + # ^^ + # end + # + # def a(b: 1) + # ^^^^ + # end + class KeywordParameterNode < Node + sig { returns(Symbol) } + attr_reader :name + + sig { returns(Location) } + attr_reader :name_loc + + sig { returns(T.nilable(Node)) } + attr_reader :value + + sig { params(name: Symbol, name_loc: Location, value: T.nilable(Node), location: Location).void } + def initialize(name, name_loc, value, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(KeywordParameterNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents a keyword rest parameter to a method, block, or lambda definition. + # + # def a(**b) + # ^^^ + # end + class KeywordRestParameterNode < Node + sig { returns(T.nilable(Symbol)) } + attr_reader :name + + sig { returns(T.nilable(Location)) } + attr_reader :name_loc + + sig { returns(Location) } + attr_reader :operator_loc + + sig { params(name: T.nilable(Symbol), name_loc: T.nilable(Location), operator_loc: Location, location: Location).void } + def initialize(name, name_loc, operator_loc, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(KeywordRestParameterNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(String) } + def operator; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents using a lambda literal (not the lambda method call). + # + # ->(value) { value * 2 } + # ^^^^^^^^^^^^^^^^^^^^^^^ + class LambdaNode < Node + sig { returns(T::Array[Symbol]) } + attr_reader :locals + + sig { returns(Location) } + attr_reader :operator_loc + + sig { returns(Location) } + attr_reader :opening_loc + + sig { returns(Location) } + attr_reader :closing_loc + + sig { returns(T.nilable(BlockParametersNode)) } + attr_reader :parameters + + sig { returns(T.nilable(Node)) } + attr_reader :body + + sig { params(locals: T::Array[Symbol], operator_loc: Location, opening_loc: Location, closing_loc: Location, parameters: T.nilable(BlockParametersNode), body: T.nilable(Node), location: Location).void } + def initialize(locals, operator_loc, opening_loc, closing_loc, parameters, body, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(LambdaNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(String) } + def operator; end + + sig { returns(String) } + def opening; end + + sig { returns(String) } + def closing; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents the use of the `&&=` operator for assignment to a local variable. + # + # target &&= value + # ^^^^^^^^^^^^^^^^ + class LocalVariableAndWriteNode < Node + sig { returns(Location) } + attr_reader :name_loc + + sig { returns(Location) } + attr_reader :operator_loc + + sig { returns(Node) } + attr_reader :value + + sig { returns(Symbol) } + attr_reader :name + + sig { returns(Integer) } + attr_reader :depth + + sig { params(name_loc: Location, operator_loc: Location, value: Node, name: Symbol, depth: Integer, location: Location).void } + def initialize(name_loc, operator_loc, value, name, depth, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(LocalVariableAndWriteNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(String) } + def operator; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents assigning to a local variable using an operator that isn't `=`. + # + # target += value + # ^^^^^^^^^^^^^^^ + class LocalVariableOperatorWriteNode < Node + sig { returns(Location) } + attr_reader :name_loc + + sig { returns(Location) } + attr_reader :operator_loc + + sig { returns(Node) } + attr_reader :value + + sig { returns(Symbol) } + attr_reader :name + + sig { returns(Symbol) } + attr_reader :operator + + sig { returns(Integer) } + attr_reader :depth + + sig { params(name_loc: Location, operator_loc: Location, value: Node, name: Symbol, operator: Symbol, depth: Integer, location: Location).void } + def initialize(name_loc, operator_loc, value, name, operator, depth, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(LocalVariableOperatorWriteNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents the use of the `||=` operator for assignment to a local variable. + # + # target ||= value + # ^^^^^^^^^^^^^^^^ + class LocalVariableOrWriteNode < Node + sig { returns(Location) } + attr_reader :name_loc + + sig { returns(Location) } + attr_reader :operator_loc + + sig { returns(Node) } + attr_reader :value + + sig { returns(Symbol) } + attr_reader :name + + sig { returns(Integer) } + attr_reader :depth + + sig { params(name_loc: Location, operator_loc: Location, value: Node, name: Symbol, depth: Integer, location: Location).void } + def initialize(name_loc, operator_loc, value, name, depth, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(LocalVariableOrWriteNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(String) } + def operator; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents reading a local variable. Note that this requires that a local + # variable of the same name has already been written to in the same scope, + # otherwise it is parsed as a method call. + # + # foo + # ^^^ + class LocalVariableReadNode < Node + sig { returns(Symbol) } + attr_reader :name + + sig { returns(Integer) } + attr_reader :depth + + sig { params(name: Symbol, depth: Integer, location: Location).void } + def initialize(name, depth, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(LocalVariableReadNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents writing to a local variable in a context that doesn't have an explicit value. + # + # foo, bar = baz + # ^^^ ^^^ + class LocalVariableTargetNode < Node + sig { returns(Symbol) } + attr_reader :name + + sig { returns(Integer) } + attr_reader :depth + + sig { params(name: Symbol, depth: Integer, location: Location).void } + def initialize(name, depth, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(LocalVariableTargetNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents writing to a local variable. + # + # foo = 1 + # ^^^^^^^ + class LocalVariableWriteNode < Node + sig { returns(Symbol) } + attr_reader :name + + sig { returns(Integer) } + attr_reader :depth + + sig { returns(Location) } + attr_reader :name_loc + + sig { returns(Node) } + attr_reader :value + + sig { returns(Location) } + attr_reader :operator_loc + + sig { params(name: Symbol, depth: Integer, name_loc: Location, value: Node, operator_loc: Location, location: Location).void } + def initialize(name, depth, name_loc, value, operator_loc, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(LocalVariableWriteNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(String) } + def operator; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents a regular expression literal used in the predicate of a + # conditional to implicitly match against the last line read by an IO + # object. + # + # if /foo/i then end + # ^^^^^^ + class MatchLastLineNode < Node + sig { returns(Location) } + attr_reader :opening_loc + + sig { returns(Location) } + attr_reader :content_loc + + sig { returns(Location) } + attr_reader :closing_loc + + sig { returns(String) } + attr_reader :unescaped + + sig { returns(Integer) } + attr_reader :flags + + sig { params(opening_loc: Location, content_loc: Location, closing_loc: Location, unescaped: String, flags: Integer, location: Location).void } + def initialize(opening_loc, content_loc, closing_loc, unescaped, flags, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(MatchLastLineNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(String) } + def opening; end + + sig { returns(String) } + def content; end + + sig { returns(String) } + def closing; end + + sig { returns(T::Boolean) } + def ignore_case?; end + + sig { returns(T::Boolean) } + def extended?; end + + sig { returns(T::Boolean) } + def multi_line?; end + + sig { returns(T::Boolean) } + def euc_jp?; end + + sig { returns(T::Boolean) } + def ascii_8bit?; end + + sig { returns(T::Boolean) } + def windows_31j?; end + + sig { returns(T::Boolean) } + def utf_8?; end + + sig { returns(T::Boolean) } + def once?; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents the use of the modifier `in` operator. + # + # foo in bar + # ^^^^^^^^^^ + class MatchPredicateNode < Node + sig { returns(Node) } + attr_reader :value + + sig { returns(Node) } + attr_reader :pattern + + sig { returns(Location) } + attr_reader :operator_loc + + sig { params(value: Node, pattern: Node, operator_loc: Location, location: Location).void } + def initialize(value, pattern, operator_loc, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(MatchPredicateNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(String) } + def operator; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents the use of the `=>` operator. + # + # foo => bar + # ^^^^^^^^^^ + class MatchRequiredNode < Node + sig { returns(Node) } + attr_reader :value + + sig { returns(Node) } + attr_reader :pattern + + sig { returns(Location) } + attr_reader :operator_loc + + sig { params(value: Node, pattern: Node, operator_loc: Location, location: Location).void } + def initialize(value, pattern, operator_loc, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(MatchRequiredNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(String) } + def operator; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents writing local variables using a regular expression match with + # named capture groups. + # + # /(?bar)/ =~ baz + # ^^^^^^^^^^^^^^^^^^^^ + class MatchWriteNode < Node + sig { returns(CallNode) } + attr_reader :call + + sig { returns(T::Array[Symbol]) } + attr_reader :locals + + sig { params(call: CallNode, locals: T::Array[Symbol], location: Location).void } + def initialize(call, locals, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(MatchWriteNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents a node that is missing from the source and results in a syntax + # error. + class MissingNode < Node + sig { params(location: Location).void } + def initialize(location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(MissingNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents a module declaration involving the `module` keyword. + # + # module Foo end + # ^^^^^^^^^^^^^^ + class ModuleNode < Node + sig { returns(T::Array[Symbol]) } + attr_reader :locals + + sig { returns(Location) } + attr_reader :module_keyword_loc + + sig { returns(Node) } + attr_reader :constant_path + + sig { returns(T.nilable(Node)) } + attr_reader :body + + sig { returns(Location) } + attr_reader :end_keyword_loc + + sig { returns(Symbol) } + attr_reader :name + + sig { params(locals: T::Array[Symbol], module_keyword_loc: Location, constant_path: Node, body: T.nilable(Node), end_keyword_loc: Location, name: Symbol, location: Location).void } + def initialize(locals, module_keyword_loc, constant_path, body, end_keyword_loc, name, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(ModuleNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(String) } + def module_keyword; end + + sig { returns(String) } + def end_keyword; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents a multi-target expression. + # + # a, b, c = 1, 2, 3 + # ^^^^^^^ + class MultiTargetNode < Node + sig { returns(T::Array[Node]) } + attr_reader :targets + + sig { returns(T.nilable(Location)) } + attr_reader :lparen_loc + + sig { returns(T.nilable(Location)) } + attr_reader :rparen_loc + + sig { params(targets: T::Array[Node], lparen_loc: T.nilable(Location), rparen_loc: T.nilable(Location), location: Location).void } + def initialize(targets, lparen_loc, rparen_loc, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(MultiTargetNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(T.nilable(String)) } + def lparen; end + + sig { returns(T.nilable(String)) } + def rparen; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents a write to a multi-target expression. + # + # a, b, c = 1, 2, 3 + # ^^^^^^^^^^^^^^^^^ + class MultiWriteNode < Node + sig { returns(T::Array[Node]) } + attr_reader :targets + + sig { returns(T.nilable(Location)) } + attr_reader :lparen_loc + + sig { returns(T.nilable(Location)) } + attr_reader :rparen_loc + + sig { returns(Location) } + attr_reader :operator_loc + + sig { returns(Node) } + attr_reader :value + + sig { params(targets: T::Array[Node], lparen_loc: T.nilable(Location), rparen_loc: T.nilable(Location), operator_loc: Location, value: Node, location: Location).void } + def initialize(targets, lparen_loc, rparen_loc, operator_loc, value, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(MultiWriteNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(T.nilable(String)) } + def lparen; end + + sig { returns(T.nilable(String)) } + def rparen; end + + sig { returns(String) } + def operator; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents the use of the `next` keyword. + # + # next 1 + # ^^^^^^ + class NextNode < Node + sig { returns(T.nilable(ArgumentsNode)) } + attr_reader :arguments + + sig { returns(Location) } + attr_reader :keyword_loc + + sig { params(arguments: T.nilable(ArgumentsNode), keyword_loc: Location, location: Location).void } + def initialize(arguments, keyword_loc, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(NextNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(String) } + def keyword; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents the use of the `nil` keyword. + # + # nil + # ^^^ + class NilNode < Node + sig { params(location: Location).void } + def initialize(location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(NilNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents the use of `**nil` inside method arguments. + # + # def a(**nil) + # ^^^^^ + # end + class NoKeywordsParameterNode < Node + sig { returns(Location) } + attr_reader :operator_loc + + sig { returns(Location) } + attr_reader :keyword_loc + + sig { params(operator_loc: Location, keyword_loc: Location, location: Location).void } + def initialize(operator_loc, keyword_loc, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(NoKeywordsParameterNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(String) } + def operator; end + + sig { returns(String) } + def keyword; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents reading a numbered reference to a capture in the previous match. + # + # $1 + # ^^ + class NumberedReferenceReadNode < Node + sig { returns(Integer) } + attr_reader :number + + sig { params(number: Integer, location: Location).void } + def initialize(number, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(NumberedReferenceReadNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents an optional parameter to a method, block, or lambda definition. + # + # def a(b = 1) + # ^^^^^ + # end + class OptionalParameterNode < Node + sig { returns(Symbol) } + attr_reader :name + + sig { returns(Location) } + attr_reader :name_loc + + sig { returns(Location) } + attr_reader :operator_loc + + sig { returns(Node) } + attr_reader :value + + sig { params(name: Symbol, name_loc: Location, operator_loc: Location, value: Node, location: Location).void } + def initialize(name, name_loc, operator_loc, value, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(OptionalParameterNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(String) } + def operator; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents the use of the `||` operator or the `or` keyword. + # + # left or right + # ^^^^^^^^^^^^^ + class OrNode < Node + sig { returns(Node) } + attr_reader :left + + sig { returns(Node) } + attr_reader :right + + sig { returns(Location) } + attr_reader :operator_loc + + sig { params(left: Node, right: Node, operator_loc: Location, location: Location).void } + def initialize(left, right, operator_loc, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(OrNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(String) } + def operator; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents the list of parameters on a method, block, or lambda definition. + # + # def a(b, c, d) + # ^^^^^^^ + # end + class ParametersNode < Node + sig { returns(T::Array[Node]) } + attr_reader :requireds + + sig { returns(T::Array[Node]) } + attr_reader :optionals + + sig { returns(T.nilable(RestParameterNode)) } + attr_reader :rest + + sig { returns(T::Array[Node]) } + attr_reader :posts + + sig { returns(T::Array[Node]) } + attr_reader :keywords + + sig { returns(T.nilable(Node)) } + attr_reader :keyword_rest + + sig { returns(T.nilable(BlockParameterNode)) } + attr_reader :block + + sig { params(requireds: T::Array[Node], optionals: T::Array[Node], rest: T.nilable(RestParameterNode), posts: T::Array[Node], keywords: T::Array[Node], keyword_rest: T.nilable(Node), block: T.nilable(BlockParameterNode), location: Location).void } + def initialize(requireds, optionals, rest, posts, keywords, keyword_rest, block, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(ParametersNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents a parenthesized expression + # + # (10 + 34) + # ^^^^^^^^^ + class ParenthesesNode < Node + sig { returns(T.nilable(Node)) } + attr_reader :body + + sig { returns(Location) } + attr_reader :opening_loc + + sig { returns(Location) } + attr_reader :closing_loc + + sig { params(body: T.nilable(Node), opening_loc: Location, closing_loc: Location, location: Location).void } + def initialize(body, opening_loc, closing_loc, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + def set_newline_flag(newline_marked); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(ParenthesesNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(String) } + def opening; end + + sig { returns(String) } + def closing; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents the use of the `^` operator for pinning an expression in a + # pattern matching expression. + # + # foo in ^(bar) + # ^^^^^^ + class PinnedExpressionNode < Node + sig { returns(Node) } + attr_reader :expression + + sig { returns(Location) } + attr_reader :operator_loc + + sig { returns(Location) } + attr_reader :lparen_loc + + sig { returns(Location) } + attr_reader :rparen_loc + + sig { params(expression: Node, operator_loc: Location, lparen_loc: Location, rparen_loc: Location, location: Location).void } + def initialize(expression, operator_loc, lparen_loc, rparen_loc, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(PinnedExpressionNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(String) } + def operator; end + + sig { returns(String) } + def lparen; end + + sig { returns(String) } + def rparen; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents the use of the `^` operator for pinning a variable in a pattern + # matching expression. + # + # foo in ^bar + # ^^^^ + class PinnedVariableNode < Node + sig { returns(Node) } + attr_reader :variable + + sig { returns(Location) } + attr_reader :operator_loc + + sig { params(variable: Node, operator_loc: Location, location: Location).void } + def initialize(variable, operator_loc, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(PinnedVariableNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(String) } + def operator; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents the use of the `END` keyword. + # + # END { foo } + # ^^^^^^^^^^^ + class PostExecutionNode < Node + sig { returns(T.nilable(StatementsNode)) } + attr_reader :statements + + sig { returns(Location) } + attr_reader :keyword_loc + + sig { returns(Location) } + attr_reader :opening_loc + + sig { returns(Location) } + attr_reader :closing_loc + + sig { params(statements: T.nilable(StatementsNode), keyword_loc: Location, opening_loc: Location, closing_loc: Location, location: Location).void } + def initialize(statements, keyword_loc, opening_loc, closing_loc, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(PostExecutionNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(String) } + def keyword; end + + sig { returns(String) } + def opening; end + + sig { returns(String) } + def closing; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents the use of the `BEGIN` keyword. + # + # BEGIN { foo } + # ^^^^^^^^^^^^^ + class PreExecutionNode < Node + sig { returns(T.nilable(StatementsNode)) } + attr_reader :statements + + sig { returns(Location) } + attr_reader :keyword_loc + + sig { returns(Location) } + attr_reader :opening_loc + + sig { returns(Location) } + attr_reader :closing_loc + + sig { params(statements: T.nilable(StatementsNode), keyword_loc: Location, opening_loc: Location, closing_loc: Location, location: Location).void } + def initialize(statements, keyword_loc, opening_loc, closing_loc, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(PreExecutionNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(String) } + def keyword; end + + sig { returns(String) } + def opening; end + + sig { returns(String) } + def closing; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # The top level node of any parse tree. + class ProgramNode < Node + sig { returns(T::Array[Symbol]) } + attr_reader :locals + + sig { returns(StatementsNode) } + attr_reader :statements + + sig { params(locals: T::Array[Symbol], statements: StatementsNode, location: Location).void } + def initialize(locals, statements, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(ProgramNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents the use of the `..` or `...` operators. + # + # 1..2 + # ^^^^ + # + # c if a =~ /left/ ... b =~ /right/ + # ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + class RangeNode < Node + sig { returns(T.nilable(Node)) } + attr_reader :left + + sig { returns(T.nilable(Node)) } + attr_reader :right + + sig { returns(Location) } + attr_reader :operator_loc + + sig { returns(Integer) } + attr_reader :flags + + sig { params(left: T.nilable(Node), right: T.nilable(Node), operator_loc: Location, flags: Integer, location: Location).void } + def initialize(left, right, operator_loc, flags, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(RangeNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(String) } + def operator; end + + sig { returns(T::Boolean) } + def exclude_end?; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents a rational number literal. + # + # 1.0r + # ^^^^ + class RationalNode < Node + sig { returns(Node) } + attr_reader :numeric + + sig { params(numeric: Node, location: Location).void } + def initialize(numeric, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(RationalNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents the use of the `redo` keyword. + # + # redo + # ^^^^ + class RedoNode < Node + sig { params(location: Location).void } + def initialize(location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(RedoNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents a regular expression literal with no interpolation. + # + # /foo/i + # ^^^^^^ + class RegularExpressionNode < Node + sig { returns(Location) } + attr_reader :opening_loc + + sig { returns(Location) } + attr_reader :content_loc + + sig { returns(Location) } + attr_reader :closing_loc + + sig { returns(String) } + attr_reader :unescaped + + sig { returns(Integer) } + attr_reader :flags + + sig { params(opening_loc: Location, content_loc: Location, closing_loc: Location, unescaped: String, flags: Integer, location: Location).void } + def initialize(opening_loc, content_loc, closing_loc, unescaped, flags, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(RegularExpressionNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(String) } + def opening; end + + sig { returns(String) } + def content; end + + sig { returns(String) } + def closing; end + + sig { returns(T::Boolean) } + def ignore_case?; end + + sig { returns(T::Boolean) } + def extended?; end + + sig { returns(T::Boolean) } + def multi_line?; end + + sig { returns(T::Boolean) } + def euc_jp?; end + + sig { returns(T::Boolean) } + def ascii_8bit?; end + + sig { returns(T::Boolean) } + def windows_31j?; end + + sig { returns(T::Boolean) } + def utf_8?; end + + sig { returns(T::Boolean) } + def once?; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents a destructured required parameter node. + # + # def foo((bar, baz)) + # ^^^^^^^^^^ + # end + class RequiredDestructuredParameterNode < Node + sig { returns(T::Array[Node]) } + attr_reader :parameters + + sig { returns(Location) } + attr_reader :opening_loc + + sig { returns(Location) } + attr_reader :closing_loc + + sig { params(parameters: T::Array[Node], opening_loc: Location, closing_loc: Location, location: Location).void } + def initialize(parameters, opening_loc, closing_loc, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(RequiredDestructuredParameterNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(String) } + def opening; end + + sig { returns(String) } + def closing; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents a required parameter to a method, block, or lambda definition. + # + # def a(b) + # ^ + # end + class RequiredParameterNode < Node + sig { returns(Symbol) } + attr_reader :name + + sig { params(name: Symbol, location: Location).void } + def initialize(name, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(RequiredParameterNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents an expression modified with a rescue. + # + # foo rescue nil + # ^^^^^^^^^^^^^^ + class RescueModifierNode < Node + sig { returns(Node) } + attr_reader :expression + + sig { returns(Location) } + attr_reader :keyword_loc + + sig { returns(Node) } + attr_reader :rescue_expression + + sig { params(expression: Node, keyword_loc: Location, rescue_expression: Node, location: Location).void } + def initialize(expression, keyword_loc, rescue_expression, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + def set_newline_flag(newline_marked); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(RescueModifierNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(String) } + def keyword; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents a rescue statement. + # + # begin + # rescue Foo, *splat, Bar => ex + # ^^^^^^ + # foo + # end + # + # `Foo, *splat, Bar` are in the `exceptions` field. + # `ex` is in the `exception` field. + class RescueNode < Node + sig { returns(Location) } + attr_reader :keyword_loc + + sig { returns(T::Array[Node]) } + attr_reader :exceptions + + sig { returns(T.nilable(Location)) } + attr_reader :operator_loc + + sig { returns(T.nilable(Node)) } + attr_reader :reference + + sig { returns(T.nilable(StatementsNode)) } + attr_reader :statements + + sig { returns(T.nilable(RescueNode)) } + attr_reader :consequent + + sig { params(keyword_loc: Location, exceptions: T::Array[Node], operator_loc: T.nilable(Location), reference: T.nilable(Node), statements: T.nilable(StatementsNode), consequent: T.nilable(RescueNode), location: Location).void } + def initialize(keyword_loc, exceptions, operator_loc, reference, statements, consequent, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(RescueNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(String) } + def keyword; end + + sig { returns(T.nilable(String)) } + def operator; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents a rest parameter to a method, block, or lambda definition. + # + # def a(*b) + # ^^ + # end + class RestParameterNode < Node + sig { returns(T.nilable(Symbol)) } + attr_reader :name + + sig { returns(T.nilable(Location)) } + attr_reader :name_loc + + sig { returns(Location) } + attr_reader :operator_loc + + sig { params(name: T.nilable(Symbol), name_loc: T.nilable(Location), operator_loc: Location, location: Location).void } + def initialize(name, name_loc, operator_loc, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(RestParameterNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(String) } + def operator; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents the use of the `retry` keyword. + # + # retry + # ^^^^^ + class RetryNode < Node + sig { params(location: Location).void } + def initialize(location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(RetryNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents the use of the `return` keyword. + # + # return 1 + # ^^^^^^^^ + class ReturnNode < Node + sig { returns(Location) } + attr_reader :keyword_loc + + sig { returns(T.nilable(ArgumentsNode)) } + attr_reader :arguments + + sig { params(keyword_loc: Location, arguments: T.nilable(ArgumentsNode), location: Location).void } + def initialize(keyword_loc, arguments, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(ReturnNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(String) } + def keyword; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents the `self` keyword. + # + # self + # ^^^^ + class SelfNode < Node + sig { params(location: Location).void } + def initialize(location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(SelfNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents a singleton class declaration involving the `class` keyword. + # + # class << self end + # ^^^^^^^^^^^^^^^^^ + class SingletonClassNode < Node + sig { returns(T::Array[Symbol]) } + attr_reader :locals + + sig { returns(Location) } + attr_reader :class_keyword_loc + + sig { returns(Location) } + attr_reader :operator_loc + + sig { returns(Node) } + attr_reader :expression + + sig { returns(T.nilable(Node)) } + attr_reader :body + + sig { returns(Location) } + attr_reader :end_keyword_loc + + sig { params(locals: T::Array[Symbol], class_keyword_loc: Location, operator_loc: Location, expression: Node, body: T.nilable(Node), end_keyword_loc: Location, location: Location).void } + def initialize(locals, class_keyword_loc, operator_loc, expression, body, end_keyword_loc, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(SingletonClassNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(String) } + def class_keyword; end + + sig { returns(String) } + def operator; end + + sig { returns(String) } + def end_keyword; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents the use of the `__ENCODING__` keyword. + # + # __ENCODING__ + # ^^^^^^^^^^^^ + class SourceEncodingNode < Node + sig { params(location: Location).void } + def initialize(location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(SourceEncodingNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents the use of the `__FILE__` keyword. + # + # __FILE__ + # ^^^^^^^^ + class SourceFileNode < Node + sig { returns(String) } + attr_reader :filepath + + sig { params(filepath: String, location: Location).void } + def initialize(filepath, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(SourceFileNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents the use of the `__LINE__` keyword. + # + # __LINE__ + # ^^^^^^^^ + class SourceLineNode < Node + sig { params(location: Location).void } + def initialize(location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(SourceLineNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents the use of the splat operator. + # + # [*a] + # ^^ + class SplatNode < Node + sig { returns(Location) } + attr_reader :operator_loc + + sig { returns(T.nilable(Node)) } + attr_reader :expression + + sig { params(operator_loc: Location, expression: T.nilable(Node), location: Location).void } + def initialize(operator_loc, expression, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(SplatNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(String) } + def operator; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents a set of statements contained within some scope. + # + # foo; bar; baz + # ^^^^^^^^^^^^^ + class StatementsNode < Node + sig { returns(T::Array[Node]) } + attr_reader :body + + sig { params(body: T::Array[Node], location: Location).void } + def initialize(body, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(StatementsNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents the use of compile-time string concatenation. + # + # "foo" "bar" + # ^^^^^^^^^^^ + class StringConcatNode < Node + sig { returns(Node) } + attr_reader :left + + sig { returns(Node) } + attr_reader :right + + sig { params(left: Node, right: Node, location: Location).void } + def initialize(left, right, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(StringConcatNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents a string literal, a string contained within a `%w` list, or + # plain string content within an interpolated string. + # + # "foo" + # ^^^^^ + # + # %w[foo] + # ^^^ + # + # "foo #{bar} baz" + # ^^^^ ^^^^ + class StringNode < Node + sig { returns(Integer) } + attr_reader :flags + + sig { returns(T.nilable(Location)) } + attr_reader :opening_loc + + sig { returns(Location) } + attr_reader :content_loc + + sig { returns(T.nilable(Location)) } + attr_reader :closing_loc + + sig { returns(String) } + attr_reader :unescaped + + sig { params(flags: Integer, opening_loc: T.nilable(Location), content_loc: Location, closing_loc: T.nilable(Location), unescaped: String, location: Location).void } + def initialize(flags, opening_loc, content_loc, closing_loc, unescaped, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(StringNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(T::Boolean) } + def frozen?; end + + sig { returns(T.nilable(String)) } + def opening; end + + sig { returns(String) } + def content; end + + sig { returns(T.nilable(String)) } + def closing; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents the use of the `super` keyword with parentheses or arguments. + # + # super() + # ^^^^^^^ + # + # super foo, bar + # ^^^^^^^^^^^^^^ + class SuperNode < Node + sig { returns(Location) } + attr_reader :keyword_loc + + sig { returns(T.nilable(Location)) } + attr_reader :lparen_loc + + sig { returns(T.nilable(ArgumentsNode)) } + attr_reader :arguments + + sig { returns(T.nilable(Location)) } + attr_reader :rparen_loc + + sig { returns(T.nilable(BlockNode)) } + attr_reader :block + + sig { params(keyword_loc: Location, lparen_loc: T.nilable(Location), arguments: T.nilable(ArgumentsNode), rparen_loc: T.nilable(Location), block: T.nilable(BlockNode), location: Location).void } + def initialize(keyword_loc, lparen_loc, arguments, rparen_loc, block, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(SuperNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(String) } + def keyword; end + + sig { returns(T.nilable(String)) } + def lparen; end + + sig { returns(T.nilable(String)) } + def rparen; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents a symbol literal or a symbol contained within a `%i` list. + # + # :foo + # ^^^^ + # + # %i[foo] + # ^^^ + class SymbolNode < Node + sig { returns(T.nilable(Location)) } + attr_reader :opening_loc + + sig { returns(T.nilable(Location)) } + attr_reader :value_loc + + sig { returns(T.nilable(Location)) } + attr_reader :closing_loc + + sig { returns(String) } + attr_reader :unescaped + + sig { params(opening_loc: T.nilable(Location), value_loc: T.nilable(Location), closing_loc: T.nilable(Location), unescaped: String, location: Location).void } + def initialize(opening_loc, value_loc, closing_loc, unescaped, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(SymbolNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(T.nilable(String)) } + def opening; end + + sig { returns(T.nilable(String)) } + def value; end + + sig { returns(T.nilable(String)) } + def closing; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents the use of the literal `true` keyword. + # + # true + # ^^^^ + class TrueNode < Node + sig { params(location: Location).void } + def initialize(location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(TrueNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents the use of the `undef` keyword. + # + # undef :foo, :bar, :baz + # ^^^^^^^^^^^^^^^^^^^^^^ + class UndefNode < Node + sig { returns(T::Array[Node]) } + attr_reader :names + + sig { returns(Location) } + attr_reader :keyword_loc + + sig { params(names: T::Array[Node], keyword_loc: Location, location: Location).void } + def initialize(names, keyword_loc, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(UndefNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(String) } + def keyword; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents the use of the `unless` keyword, either in the block form or the modifier form. + # + # bar unless foo + # ^^^^^^^^^^^^^^ + # + # unless foo then bar end + # ^^^^^^^^^^^^^^^^^^^^^^^ + class UnlessNode < Node + sig { returns(Location) } + attr_reader :keyword_loc + + sig { returns(Node) } + attr_reader :predicate + + sig { returns(T.nilable(StatementsNode)) } + attr_reader :statements + + sig { returns(T.nilable(ElseNode)) } + attr_reader :consequent + + sig { returns(T.nilable(Location)) } + attr_reader :end_keyword_loc + + sig { params(keyword_loc: Location, predicate: Node, statements: T.nilable(StatementsNode), consequent: T.nilable(ElseNode), end_keyword_loc: T.nilable(Location), location: Location).void } + def initialize(keyword_loc, predicate, statements, consequent, end_keyword_loc, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + def set_newline_flag(newline_marked); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(UnlessNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(String) } + def keyword; end + + sig { returns(T.nilable(String)) } + def end_keyword; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents the use of the `until` keyword, either in the block form or the modifier form. + # + # bar until foo + # ^^^^^^^^^^^^^ + # + # until foo do bar end + # ^^^^^^^^^^^^^^^^^^^^ + class UntilNode < Node + sig { returns(Location) } + attr_reader :keyword_loc + + sig { returns(T.nilable(Location)) } + attr_reader :closing_loc + + sig { returns(Node) } + attr_reader :predicate + + sig { returns(T.nilable(StatementsNode)) } + attr_reader :statements + + sig { returns(Integer) } + attr_reader :flags + + sig { params(keyword_loc: Location, closing_loc: T.nilable(Location), predicate: Node, statements: T.nilable(StatementsNode), flags: Integer, location: Location).void } + def initialize(keyword_loc, closing_loc, predicate, statements, flags, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + def set_newline_flag(newline_marked); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(UntilNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(String) } + def keyword; end + + sig { returns(T.nilable(String)) } + def closing; end + + sig { returns(T::Boolean) } + def begin_modifier?; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents the use of the `when` keyword within a case statement. + # + # case true + # when true + # ^^^^^^^^^ + # end + class WhenNode < Node + sig { returns(Location) } + attr_reader :keyword_loc + + sig { returns(T::Array[Node]) } + attr_reader :conditions + + sig { returns(T.nilable(StatementsNode)) } + attr_reader :statements + + sig { params(keyword_loc: Location, conditions: T::Array[Node], statements: T.nilable(StatementsNode), location: Location).void } + def initialize(keyword_loc, conditions, statements, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(WhenNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(String) } + def keyword; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents the use of the `while` keyword, either in the block form or the modifier form. + # + # bar while foo + # ^^^^^^^^^^^^^ + # + # while foo do bar end + # ^^^^^^^^^^^^^^^^^^^^ + class WhileNode < Node + sig { returns(Location) } + attr_reader :keyword_loc + + sig { returns(T.nilable(Location)) } + attr_reader :closing_loc + + sig { returns(Node) } + attr_reader :predicate + + sig { returns(T.nilable(StatementsNode)) } + attr_reader :statements + + sig { returns(Integer) } + attr_reader :flags + + sig { params(keyword_loc: Location, closing_loc: T.nilable(Location), predicate: Node, statements: T.nilable(StatementsNode), flags: Integer, location: Location).void } + def initialize(keyword_loc, closing_loc, predicate, statements, flags, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + def set_newline_flag(newline_marked); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(WhileNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(String) } + def keyword; end + + sig { returns(T.nilable(String)) } + def closing; end + + sig { returns(T::Boolean) } + def begin_modifier?; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents an xstring literal with no interpolation. + # + # `foo` + # ^^^^^ + class XStringNode < Node + sig { returns(Location) } + attr_reader :opening_loc + + sig { returns(Location) } + attr_reader :content_loc + + sig { returns(Location) } + attr_reader :closing_loc + + sig { returns(String) } + attr_reader :unescaped + + sig { params(opening_loc: Location, content_loc: Location, closing_loc: Location, unescaped: String, location: Location).void } + def initialize(opening_loc, content_loc, closing_loc, unescaped, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(XStringNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(String) } + def opening; end + + sig { returns(String) } + def content; end + + sig { returns(String) } + def closing; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + # Represents the use of the `yield` keyword. + # + # yield 1 + # ^^^^^^^ + class YieldNode < Node + sig { returns(Location) } + attr_reader :keyword_loc + + sig { returns(T.nilable(Location)) } + attr_reader :lparen_loc + + sig { returns(T.nilable(ArgumentsNode)) } + attr_reader :arguments + + sig { returns(T.nilable(Location)) } + attr_reader :rparen_loc + + sig { params(keyword_loc: Location, lparen_loc: T.nilable(Location), arguments: T.nilable(ArgumentsNode), rparen_loc: T.nilable(Location), location: Location).void } + def initialize(keyword_loc, lparen_loc, arguments, rparen_loc, location); end + + sig { params(visitor: Visitor).void } + def accept(visitor); end + + sig { returns(T::Array[T.nilable(Node)]) } + def child_nodes; end + + sig { returns(T::Array[T.nilable(Node)]) } + def deconstruct; end + + sig { params(params: T.untyped).returns(YieldNode) } + def copy(**params); end + + sig { params(keys: T::Array[Symbol]).returns(T::Hash[Symbol, T.nilable(T.any(Node, T::Array[Node], String, Token, T::Array[Token], Location))]) } + def deconstruct_keys(keys); end + + sig { returns(String) } + def keyword; end + + sig { returns(T.nilable(String)) } + def lparen; end + + sig { returns(T.nilable(String)) } + def rparen; end + + sig { params(inspector: NodeInspector).returns(String) } + def inspect(inspector); end + end + + module CallNodeFlags + # &. operator + SAFE_NAVIGATION = 1 << 0 + + # a call that could have been a local variable + VARIABLE_CALL = 1 << 1 + end + + module IntegerBaseFlags + # 0b prefix + BINARY = 1 << 0 + + # 0o or 0 prefix + OCTAL = 1 << 1 + + # 0d or no prefix + DECIMAL = 1 << 2 + + # 0x prefix + HEXADECIMAL = 1 << 3 + end + + module LoopFlags + # a loop after a begin statement, so the body is executed first before the condition + BEGIN_MODIFIER = 1 << 0 + end + + module RangeFlags + # ... operator + EXCLUDE_END = 1 << 0 + end + + module RegularExpressionFlags + # i - ignores the case of characters when matching + IGNORE_CASE = 1 << 0 + + # x - ignores whitespace and allows comments in regular expressions + EXTENDED = 1 << 1 + + # m - allows $ to match the end of lines within strings + MULTI_LINE = 1 << 2 + + # e - forces the EUC-JP encoding + EUC_JP = 1 << 3 + + # n - forces the ASCII-8BIT encoding + ASCII_8BIT = 1 << 4 + + # s - forces the Windows-31J encoding + WINDOWS_31J = 1 << 5 + + # u - forces the UTF-8 encoding + UTF_8 = 1 << 6 + + # o - only interpolates values into the regular expression once + ONCE = 1 << 7 + end + + module StringFlags + # frozen by virtue of a frozen_string_literal comment + FROZEN = 1 << 0 + end + + class Visitor < BasicVisitor + # Visit a AliasGlobalVariableNode node + sig { params(node: AliasGlobalVariableNode).void } + def visit_alias_global_variable_node(node); end + + # Visit a AliasMethodNode node + sig { params(node: AliasMethodNode).void } + def visit_alias_method_node(node); end + + # Visit a AlternationPatternNode node + sig { params(node: AlternationPatternNode).void } + def visit_alternation_pattern_node(node); end + + # Visit a AndNode node + sig { params(node: AndNode).void } + def visit_and_node(node); end + + # Visit a ArgumentsNode node + sig { params(node: ArgumentsNode).void } + def visit_arguments_node(node); end + + # Visit a ArrayNode node + sig { params(node: ArrayNode).void } + def visit_array_node(node); end + + # Visit a ArrayPatternNode node + sig { params(node: ArrayPatternNode).void } + def visit_array_pattern_node(node); end + + # Visit a AssocNode node + sig { params(node: AssocNode).void } + def visit_assoc_node(node); end + + # Visit a AssocSplatNode node + sig { params(node: AssocSplatNode).void } + def visit_assoc_splat_node(node); end + + # Visit a BackReferenceReadNode node + sig { params(node: BackReferenceReadNode).void } + def visit_back_reference_read_node(node); end + + # Visit a BeginNode node + sig { params(node: BeginNode).void } + def visit_begin_node(node); end + + # Visit a BlockArgumentNode node + sig { params(node: BlockArgumentNode).void } + def visit_block_argument_node(node); end + + # Visit a BlockLocalVariableNode node + sig { params(node: BlockLocalVariableNode).void } + def visit_block_local_variable_node(node); end + + # Visit a BlockNode node + sig { params(node: BlockNode).void } + def visit_block_node(node); end + + # Visit a BlockParameterNode node + sig { params(node: BlockParameterNode).void } + def visit_block_parameter_node(node); end + + # Visit a BlockParametersNode node + sig { params(node: BlockParametersNode).void } + def visit_block_parameters_node(node); end + + # Visit a BreakNode node + sig { params(node: BreakNode).void } + def visit_break_node(node); end + + # Visit a CallAndWriteNode node + sig { params(node: CallAndWriteNode).void } + def visit_call_and_write_node(node); end + + # Visit a CallNode node + sig { params(node: CallNode).void } + def visit_call_node(node); end + + # Visit a CallOperatorWriteNode node + sig { params(node: CallOperatorWriteNode).void } + def visit_call_operator_write_node(node); end + + # Visit a CallOrWriteNode node + sig { params(node: CallOrWriteNode).void } + def visit_call_or_write_node(node); end + + # Visit a CapturePatternNode node + sig { params(node: CapturePatternNode).void } + def visit_capture_pattern_node(node); end + + # Visit a CaseNode node + sig { params(node: CaseNode).void } + def visit_case_node(node); end + + # Visit a ClassNode node + sig { params(node: ClassNode).void } + def visit_class_node(node); end + + # Visit a ClassVariableAndWriteNode node + sig { params(node: ClassVariableAndWriteNode).void } + def visit_class_variable_and_write_node(node); end + + # Visit a ClassVariableOperatorWriteNode node + sig { params(node: ClassVariableOperatorWriteNode).void } + def visit_class_variable_operator_write_node(node); end + + # Visit a ClassVariableOrWriteNode node + sig { params(node: ClassVariableOrWriteNode).void } + def visit_class_variable_or_write_node(node); end + + # Visit a ClassVariableReadNode node + sig { params(node: ClassVariableReadNode).void } + def visit_class_variable_read_node(node); end + + # Visit a ClassVariableTargetNode node + sig { params(node: ClassVariableTargetNode).void } + def visit_class_variable_target_node(node); end + + # Visit a ClassVariableWriteNode node + sig { params(node: ClassVariableWriteNode).void } + def visit_class_variable_write_node(node); end + + # Visit a ConstantAndWriteNode node + sig { params(node: ConstantAndWriteNode).void } + def visit_constant_and_write_node(node); end + + # Visit a ConstantOperatorWriteNode node + sig { params(node: ConstantOperatorWriteNode).void } + def visit_constant_operator_write_node(node); end + + # Visit a ConstantOrWriteNode node + sig { params(node: ConstantOrWriteNode).void } + def visit_constant_or_write_node(node); end + + # Visit a ConstantPathAndWriteNode node + sig { params(node: ConstantPathAndWriteNode).void } + def visit_constant_path_and_write_node(node); end + + # Visit a ConstantPathNode node + sig { params(node: ConstantPathNode).void } + def visit_constant_path_node(node); end + + # Visit a ConstantPathOperatorWriteNode node + sig { params(node: ConstantPathOperatorWriteNode).void } + def visit_constant_path_operator_write_node(node); end + + # Visit a ConstantPathOrWriteNode node + sig { params(node: ConstantPathOrWriteNode).void } + def visit_constant_path_or_write_node(node); end + + # Visit a ConstantPathTargetNode node + sig { params(node: ConstantPathTargetNode).void } + def visit_constant_path_target_node(node); end + + # Visit a ConstantPathWriteNode node + sig { params(node: ConstantPathWriteNode).void } + def visit_constant_path_write_node(node); end + + # Visit a ConstantReadNode node + sig { params(node: ConstantReadNode).void } + def visit_constant_read_node(node); end + + # Visit a ConstantTargetNode node + sig { params(node: ConstantTargetNode).void } + def visit_constant_target_node(node); end + + # Visit a ConstantWriteNode node + sig { params(node: ConstantWriteNode).void } + def visit_constant_write_node(node); end + + # Visit a DefNode node + sig { params(node: DefNode).void } + def visit_def_node(node); end + + # Visit a DefinedNode node + sig { params(node: DefinedNode).void } + def visit_defined_node(node); end + + # Visit a ElseNode node + sig { params(node: ElseNode).void } + def visit_else_node(node); end + + # Visit a EmbeddedStatementsNode node + sig { params(node: EmbeddedStatementsNode).void } + def visit_embedded_statements_node(node); end + + # Visit a EmbeddedVariableNode node + sig { params(node: EmbeddedVariableNode).void } + def visit_embedded_variable_node(node); end + + # Visit a EnsureNode node + sig { params(node: EnsureNode).void } + def visit_ensure_node(node); end + + # Visit a FalseNode node + sig { params(node: FalseNode).void } + def visit_false_node(node); end + + # Visit a FindPatternNode node + sig { params(node: FindPatternNode).void } + def visit_find_pattern_node(node); end + + # Visit a FlipFlopNode node + sig { params(node: FlipFlopNode).void } + def visit_flip_flop_node(node); end + + # Visit a FloatNode node + sig { params(node: FloatNode).void } + def visit_float_node(node); end + + # Visit a ForNode node + sig { params(node: ForNode).void } + def visit_for_node(node); end + + # Visit a ForwardingArgumentsNode node + sig { params(node: ForwardingArgumentsNode).void } + def visit_forwarding_arguments_node(node); end + + # Visit a ForwardingParameterNode node + sig { params(node: ForwardingParameterNode).void } + def visit_forwarding_parameter_node(node); end + + # Visit a ForwardingSuperNode node + sig { params(node: ForwardingSuperNode).void } + def visit_forwarding_super_node(node); end + + # Visit a GlobalVariableAndWriteNode node + sig { params(node: GlobalVariableAndWriteNode).void } + def visit_global_variable_and_write_node(node); end + + # Visit a GlobalVariableOperatorWriteNode node + sig { params(node: GlobalVariableOperatorWriteNode).void } + def visit_global_variable_operator_write_node(node); end + + # Visit a GlobalVariableOrWriteNode node + sig { params(node: GlobalVariableOrWriteNode).void } + def visit_global_variable_or_write_node(node); end + + # Visit a GlobalVariableReadNode node + sig { params(node: GlobalVariableReadNode).void } + def visit_global_variable_read_node(node); end + + # Visit a GlobalVariableTargetNode node + sig { params(node: GlobalVariableTargetNode).void } + def visit_global_variable_target_node(node); end + + # Visit a GlobalVariableWriteNode node + sig { params(node: GlobalVariableWriteNode).void } + def visit_global_variable_write_node(node); end + + # Visit a HashNode node + sig { params(node: HashNode).void } + def visit_hash_node(node); end + + # Visit a HashPatternNode node + sig { params(node: HashPatternNode).void } + def visit_hash_pattern_node(node); end + + # Visit a IfNode node + sig { params(node: IfNode).void } + def visit_if_node(node); end + + # Visit a ImaginaryNode node + sig { params(node: ImaginaryNode).void } + def visit_imaginary_node(node); end + + # Visit a ImplicitNode node + sig { params(node: ImplicitNode).void } + def visit_implicit_node(node); end + + # Visit a InNode node + sig { params(node: InNode).void } + def visit_in_node(node); end + + # Visit a InstanceVariableAndWriteNode node + sig { params(node: InstanceVariableAndWriteNode).void } + def visit_instance_variable_and_write_node(node); end + + # Visit a InstanceVariableOperatorWriteNode node + sig { params(node: InstanceVariableOperatorWriteNode).void } + def visit_instance_variable_operator_write_node(node); end + + # Visit a InstanceVariableOrWriteNode node + sig { params(node: InstanceVariableOrWriteNode).void } + def visit_instance_variable_or_write_node(node); end + + # Visit a InstanceVariableReadNode node + sig { params(node: InstanceVariableReadNode).void } + def visit_instance_variable_read_node(node); end + + # Visit a InstanceVariableTargetNode node + sig { params(node: InstanceVariableTargetNode).void } + def visit_instance_variable_target_node(node); end + + # Visit a InstanceVariableWriteNode node + sig { params(node: InstanceVariableWriteNode).void } + def visit_instance_variable_write_node(node); end + + # Visit a IntegerNode node + sig { params(node: IntegerNode).void } + def visit_integer_node(node); end + + # Visit a InterpolatedMatchLastLineNode node + sig { params(node: InterpolatedMatchLastLineNode).void } + def visit_interpolated_match_last_line_node(node); end + + # Visit a InterpolatedRegularExpressionNode node + sig { params(node: InterpolatedRegularExpressionNode).void } + def visit_interpolated_regular_expression_node(node); end + + # Visit a InterpolatedStringNode node + sig { params(node: InterpolatedStringNode).void } + def visit_interpolated_string_node(node); end + + # Visit a InterpolatedSymbolNode node + sig { params(node: InterpolatedSymbolNode).void } + def visit_interpolated_symbol_node(node); end + + # Visit a InterpolatedXStringNode node + sig { params(node: InterpolatedXStringNode).void } + def visit_interpolated_x_string_node(node); end + + # Visit a KeywordHashNode node + sig { params(node: KeywordHashNode).void } + def visit_keyword_hash_node(node); end + + # Visit a KeywordParameterNode node + sig { params(node: KeywordParameterNode).void } + def visit_keyword_parameter_node(node); end + + # Visit a KeywordRestParameterNode node + sig { params(node: KeywordRestParameterNode).void } + def visit_keyword_rest_parameter_node(node); end + + # Visit a LambdaNode node + sig { params(node: LambdaNode).void } + def visit_lambda_node(node); end + + # Visit a LocalVariableAndWriteNode node + sig { params(node: LocalVariableAndWriteNode).void } + def visit_local_variable_and_write_node(node); end + + # Visit a LocalVariableOperatorWriteNode node + sig { params(node: LocalVariableOperatorWriteNode).void } + def visit_local_variable_operator_write_node(node); end + + # Visit a LocalVariableOrWriteNode node + sig { params(node: LocalVariableOrWriteNode).void } + def visit_local_variable_or_write_node(node); end + + # Visit a LocalVariableReadNode node + sig { params(node: LocalVariableReadNode).void } + def visit_local_variable_read_node(node); end + + # Visit a LocalVariableTargetNode node + sig { params(node: LocalVariableTargetNode).void } + def visit_local_variable_target_node(node); end + + # Visit a LocalVariableWriteNode node + sig { params(node: LocalVariableWriteNode).void } + def visit_local_variable_write_node(node); end + + # Visit a MatchLastLineNode node + sig { params(node: MatchLastLineNode).void } + def visit_match_last_line_node(node); end + + # Visit a MatchPredicateNode node + sig { params(node: MatchPredicateNode).void } + def visit_match_predicate_node(node); end + + # Visit a MatchRequiredNode node + sig { params(node: MatchRequiredNode).void } + def visit_match_required_node(node); end + + # Visit a MatchWriteNode node + sig { params(node: MatchWriteNode).void } + def visit_match_write_node(node); end + + # Visit a MissingNode node + sig { params(node: MissingNode).void } + def visit_missing_node(node); end + + # Visit a ModuleNode node + sig { params(node: ModuleNode).void } + def visit_module_node(node); end + + # Visit a MultiTargetNode node + sig { params(node: MultiTargetNode).void } + def visit_multi_target_node(node); end + + # Visit a MultiWriteNode node + sig { params(node: MultiWriteNode).void } + def visit_multi_write_node(node); end + + # Visit a NextNode node + sig { params(node: NextNode).void } + def visit_next_node(node); end + + # Visit a NilNode node + sig { params(node: NilNode).void } + def visit_nil_node(node); end + + # Visit a NoKeywordsParameterNode node + sig { params(node: NoKeywordsParameterNode).void } + def visit_no_keywords_parameter_node(node); end + + # Visit a NumberedReferenceReadNode node + sig { params(node: NumberedReferenceReadNode).void } + def visit_numbered_reference_read_node(node); end + + # Visit a OptionalParameterNode node + sig { params(node: OptionalParameterNode).void } + def visit_optional_parameter_node(node); end + + # Visit a OrNode node + sig { params(node: OrNode).void } + def visit_or_node(node); end + + # Visit a ParametersNode node + sig { params(node: ParametersNode).void } + def visit_parameters_node(node); end + + # Visit a ParenthesesNode node + sig { params(node: ParenthesesNode).void } + def visit_parentheses_node(node); end + + # Visit a PinnedExpressionNode node + sig { params(node: PinnedExpressionNode).void } + def visit_pinned_expression_node(node); end + + # Visit a PinnedVariableNode node + sig { params(node: PinnedVariableNode).void } + def visit_pinned_variable_node(node); end + + # Visit a PostExecutionNode node + sig { params(node: PostExecutionNode).void } + def visit_post_execution_node(node); end + + # Visit a PreExecutionNode node + sig { params(node: PreExecutionNode).void } + def visit_pre_execution_node(node); end + + # Visit a ProgramNode node + sig { params(node: ProgramNode).void } + def visit_program_node(node); end + + # Visit a RangeNode node + sig { params(node: RangeNode).void } + def visit_range_node(node); end + + # Visit a RationalNode node + sig { params(node: RationalNode).void } + def visit_rational_node(node); end + + # Visit a RedoNode node + sig { params(node: RedoNode).void } + def visit_redo_node(node); end + + # Visit a RegularExpressionNode node + sig { params(node: RegularExpressionNode).void } + def visit_regular_expression_node(node); end + + # Visit a RequiredDestructuredParameterNode node + sig { params(node: RequiredDestructuredParameterNode).void } + def visit_required_destructured_parameter_node(node); end + + # Visit a RequiredParameterNode node + sig { params(node: RequiredParameterNode).void } + def visit_required_parameter_node(node); end + + # Visit a RescueModifierNode node + sig { params(node: RescueModifierNode).void } + def visit_rescue_modifier_node(node); end + + # Visit a RescueNode node + sig { params(node: RescueNode).void } + def visit_rescue_node(node); end + + # Visit a RestParameterNode node + sig { params(node: RestParameterNode).void } + def visit_rest_parameter_node(node); end + + # Visit a RetryNode node + sig { params(node: RetryNode).void } + def visit_retry_node(node); end + + # Visit a ReturnNode node + sig { params(node: ReturnNode).void } + def visit_return_node(node); end + + # Visit a SelfNode node + sig { params(node: SelfNode).void } + def visit_self_node(node); end + + # Visit a SingletonClassNode node + sig { params(node: SingletonClassNode).void } + def visit_singleton_class_node(node); end + + # Visit a SourceEncodingNode node + sig { params(node: SourceEncodingNode).void } + def visit_source_encoding_node(node); end + + # Visit a SourceFileNode node + sig { params(node: SourceFileNode).void } + def visit_source_file_node(node); end + + # Visit a SourceLineNode node + sig { params(node: SourceLineNode).void } + def visit_source_line_node(node); end + + # Visit a SplatNode node + sig { params(node: SplatNode).void } + def visit_splat_node(node); end + + # Visit a StatementsNode node + sig { params(node: StatementsNode).void } + def visit_statements_node(node); end + + # Visit a StringConcatNode node + sig { params(node: StringConcatNode).void } + def visit_string_concat_node(node); end + + # Visit a StringNode node + sig { params(node: StringNode).void } + def visit_string_node(node); end + + # Visit a SuperNode node + sig { params(node: SuperNode).void } + def visit_super_node(node); end + + # Visit a SymbolNode node + sig { params(node: SymbolNode).void } + def visit_symbol_node(node); end + + # Visit a TrueNode node + sig { params(node: TrueNode).void } + def visit_true_node(node); end + + # Visit a UndefNode node + sig { params(node: UndefNode).void } + def visit_undef_node(node); end + + # Visit a UnlessNode node + sig { params(node: UnlessNode).void } + def visit_unless_node(node); end + + # Visit a UntilNode node + sig { params(node: UntilNode).void } + def visit_until_node(node); end + + # Visit a WhenNode node + sig { params(node: WhenNode).void } + def visit_when_node(node); end + + # Visit a WhileNode node + sig { params(node: WhileNode).void } + def visit_while_node(node); end + + # Visit a XStringNode node + sig { params(node: XStringNode).void } + def visit_x_string_node(node); end + + # Visit a YieldNode node + sig { params(node: YieldNode).void } + def visit_yield_node(node); end + end + + module DSL + private + + # Create a new Location object + sig { params(source: T.nilable(Source), start_offset: Integer, length: Integer).returns(Location) } + def Location(source, start_offset, length); end + + # Create a new AliasGlobalVariableNode node + sig { params(new_name: Node, old_name: Node, keyword_loc: Location, location: Location).returns(AliasGlobalVariableNode) } + def AliasGlobalVariableNode(new_name, old_name, keyword_loc, location); end + # Create a new AliasMethodNode node + sig { params(new_name: Node, old_name: Node, keyword_loc: Location, location: Location).returns(AliasMethodNode) } + def AliasMethodNode(new_name, old_name, keyword_loc, location); end + # Create a new AlternationPatternNode node + sig { params(left: Node, right: Node, operator_loc: Location, location: Location).returns(AlternationPatternNode) } + def AlternationPatternNode(left, right, operator_loc, location); end + # Create a new AndNode node + sig { params(left: Node, right: Node, operator_loc: Location, location: Location).returns(AndNode) } + def AndNode(left, right, operator_loc, location); end + # Create a new ArgumentsNode node + sig { params(arguments: T::Array[Node], location: Location).returns(ArgumentsNode) } + def ArgumentsNode(arguments, location); end + # Create a new ArrayNode node + sig { params(elements: T::Array[Node], opening_loc: T.nilable(Location), closing_loc: T.nilable(Location), location: Location).returns(ArrayNode) } + def ArrayNode(elements, opening_loc, closing_loc, location); end + # Create a new ArrayPatternNode node + sig { params(constant: T.nilable(Node), requireds: T::Array[Node], rest: T.nilable(Node), posts: T::Array[Node], opening_loc: T.nilable(Location), closing_loc: T.nilable(Location), location: Location).returns(ArrayPatternNode) } + def ArrayPatternNode(constant, requireds, rest, posts, opening_loc, closing_loc, location); end + # Create a new AssocNode node + sig { params(key: Node, value: T.nilable(Node), operator_loc: T.nilable(Location), location: Location).returns(AssocNode) } + def AssocNode(key, value, operator_loc, location); end + # Create a new AssocSplatNode node + sig { params(value: T.nilable(Node), operator_loc: Location, location: Location).returns(AssocSplatNode) } + def AssocSplatNode(value, operator_loc, location); end + # Create a new BackReferenceReadNode node + sig { params(location: Location).returns(BackReferenceReadNode) } + def BackReferenceReadNode(location); end + # Create a new BeginNode node + sig { params(begin_keyword_loc: T.nilable(Location), statements: T.nilable(StatementsNode), rescue_clause: T.nilable(RescueNode), else_clause: T.nilable(ElseNode), ensure_clause: T.nilable(EnsureNode), end_keyword_loc: T.nilable(Location), location: Location).returns(BeginNode) } + def BeginNode(begin_keyword_loc, statements, rescue_clause, else_clause, ensure_clause, end_keyword_loc, location); end + # Create a new BlockArgumentNode node + sig { params(expression: T.nilable(Node), operator_loc: Location, location: Location).returns(BlockArgumentNode) } + def BlockArgumentNode(expression, operator_loc, location); end + # Create a new BlockLocalVariableNode node + sig { params(name: Symbol, location: Location).returns(BlockLocalVariableNode) } + def BlockLocalVariableNode(name, location); end + # Create a new BlockNode node + sig { params(locals: T::Array[Symbol], parameters: T.nilable(BlockParametersNode), body: T.nilable(Node), opening_loc: Location, closing_loc: Location, location: Location).returns(BlockNode) } + def BlockNode(locals, parameters, body, opening_loc, closing_loc, location); end + # Create a new BlockParameterNode node + sig { params(name: T.nilable(Symbol), name_loc: T.nilable(Location), operator_loc: Location, location: Location).returns(BlockParameterNode) } + def BlockParameterNode(name, name_loc, operator_loc, location); end + # Create a new BlockParametersNode node + sig { params(parameters: T.nilable(ParametersNode), locals: T::Array[Node], opening_loc: T.nilable(Location), closing_loc: T.nilable(Location), location: Location).returns(BlockParametersNode) } + def BlockParametersNode(parameters, locals, opening_loc, closing_loc, location); end + # Create a new BreakNode node + sig { params(arguments: T.nilable(ArgumentsNode), keyword_loc: Location, location: Location).returns(BreakNode) } + def BreakNode(arguments, keyword_loc, location); end + # Create a new CallAndWriteNode node + sig { params(receiver: T.nilable(Node), call_operator_loc: T.nilable(Location), message_loc: T.nilable(Location), opening_loc: T.nilable(Location), arguments: T.nilable(ArgumentsNode), closing_loc: T.nilable(Location), flags: Integer, read_name: String, write_name: String, operator_loc: Location, value: Node, location: Location).returns(CallAndWriteNode) } + def CallAndWriteNode(receiver, call_operator_loc, message_loc, opening_loc, arguments, closing_loc, flags, read_name, write_name, operator_loc, value, location); end + # Create a new CallNode node + sig { params(receiver: T.nilable(Node), call_operator_loc: T.nilable(Location), message_loc: T.nilable(Location), opening_loc: T.nilable(Location), arguments: T.nilable(ArgumentsNode), closing_loc: T.nilable(Location), block: T.nilable(BlockNode), flags: Integer, name: String, location: Location).returns(CallNode) } + def CallNode(receiver, call_operator_loc, message_loc, opening_loc, arguments, closing_loc, block, flags, name, location); end + # Create a new CallOperatorWriteNode node + sig { params(receiver: T.nilable(Node), call_operator_loc: T.nilable(Location), message_loc: T.nilable(Location), opening_loc: T.nilable(Location), arguments: T.nilable(ArgumentsNode), closing_loc: T.nilable(Location), flags: Integer, read_name: String, write_name: String, operator: Symbol, operator_loc: Location, value: Node, location: Location).returns(CallOperatorWriteNode) } + def CallOperatorWriteNode(receiver, call_operator_loc, message_loc, opening_loc, arguments, closing_loc, flags, read_name, write_name, operator, operator_loc, value, location); end + # Create a new CallOrWriteNode node + sig { params(receiver: T.nilable(Node), call_operator_loc: T.nilable(Location), message_loc: T.nilable(Location), opening_loc: T.nilable(Location), arguments: T.nilable(ArgumentsNode), closing_loc: T.nilable(Location), flags: Integer, read_name: String, write_name: String, operator_loc: Location, value: Node, location: Location).returns(CallOrWriteNode) } + def CallOrWriteNode(receiver, call_operator_loc, message_loc, opening_loc, arguments, closing_loc, flags, read_name, write_name, operator_loc, value, location); end + # Create a new CapturePatternNode node + sig { params(value: Node, target: Node, operator_loc: Location, location: Location).returns(CapturePatternNode) } + def CapturePatternNode(value, target, operator_loc, location); end + # Create a new CaseNode node + sig { params(predicate: T.nilable(Node), conditions: T::Array[Node], consequent: T.nilable(ElseNode), case_keyword_loc: Location, end_keyword_loc: Location, location: Location).returns(CaseNode) } + def CaseNode(predicate, conditions, consequent, case_keyword_loc, end_keyword_loc, location); end + # Create a new ClassNode node + sig { params(locals: T::Array[Symbol], class_keyword_loc: Location, constant_path: Node, inheritance_operator_loc: T.nilable(Location), superclass: T.nilable(Node), body: T.nilable(Node), end_keyword_loc: Location, name: Symbol, location: Location).returns(ClassNode) } + def ClassNode(locals, class_keyword_loc, constant_path, inheritance_operator_loc, superclass, body, end_keyword_loc, name, location); end + # Create a new ClassVariableAndWriteNode node + sig { params(name: Symbol, name_loc: Location, operator_loc: Location, value: Node, location: Location).returns(ClassVariableAndWriteNode) } + def ClassVariableAndWriteNode(name, name_loc, operator_loc, value, location); end + # Create a new ClassVariableOperatorWriteNode node + sig { params(name: Symbol, name_loc: Location, operator_loc: Location, value: Node, operator: Symbol, location: Location).returns(ClassVariableOperatorWriteNode) } + def ClassVariableOperatorWriteNode(name, name_loc, operator_loc, value, operator, location); end + # Create a new ClassVariableOrWriteNode node + sig { params(name: Symbol, name_loc: Location, operator_loc: Location, value: Node, location: Location).returns(ClassVariableOrWriteNode) } + def ClassVariableOrWriteNode(name, name_loc, operator_loc, value, location); end + # Create a new ClassVariableReadNode node + sig { params(name: Symbol, location: Location).returns(ClassVariableReadNode) } + def ClassVariableReadNode(name, location); end + # Create a new ClassVariableTargetNode node + sig { params(name: Symbol, location: Location).returns(ClassVariableTargetNode) } + def ClassVariableTargetNode(name, location); end + # Create a new ClassVariableWriteNode node + sig { params(name: Symbol, name_loc: Location, value: Node, operator_loc: T.nilable(Location), location: Location).returns(ClassVariableWriteNode) } + def ClassVariableWriteNode(name, name_loc, value, operator_loc, location); end + # Create a new ConstantAndWriteNode node + sig { params(name: Symbol, name_loc: Location, operator_loc: Location, value: Node, location: Location).returns(ConstantAndWriteNode) } + def ConstantAndWriteNode(name, name_loc, operator_loc, value, location); end + # Create a new ConstantOperatorWriteNode node + sig { params(name: Symbol, name_loc: Location, operator_loc: Location, value: Node, operator: Symbol, location: Location).returns(ConstantOperatorWriteNode) } + def ConstantOperatorWriteNode(name, name_loc, operator_loc, value, operator, location); end + # Create a new ConstantOrWriteNode node + sig { params(name: Symbol, name_loc: Location, operator_loc: Location, value: Node, location: Location).returns(ConstantOrWriteNode) } + def ConstantOrWriteNode(name, name_loc, operator_loc, value, location); end + # Create a new ConstantPathAndWriteNode node + sig { params(target: ConstantPathNode, operator_loc: Location, value: Node, location: Location).returns(ConstantPathAndWriteNode) } + def ConstantPathAndWriteNode(target, operator_loc, value, location); end + # Create a new ConstantPathNode node + sig { params(parent: T.nilable(Node), child: Node, delimiter_loc: Location, location: Location).returns(ConstantPathNode) } + def ConstantPathNode(parent, child, delimiter_loc, location); end + # Create a new ConstantPathOperatorWriteNode node + sig { params(target: ConstantPathNode, operator_loc: Location, value: Node, operator: Symbol, location: Location).returns(ConstantPathOperatorWriteNode) } + def ConstantPathOperatorWriteNode(target, operator_loc, value, operator, location); end + # Create a new ConstantPathOrWriteNode node + sig { params(target: ConstantPathNode, operator_loc: Location, value: Node, location: Location).returns(ConstantPathOrWriteNode) } + def ConstantPathOrWriteNode(target, operator_loc, value, location); end + # Create a new ConstantPathTargetNode node + sig { params(parent: T.nilable(Node), child: Node, delimiter_loc: Location, location: Location).returns(ConstantPathTargetNode) } + def ConstantPathTargetNode(parent, child, delimiter_loc, location); end + # Create a new ConstantPathWriteNode node + sig { params(target: ConstantPathNode, operator_loc: Location, value: Node, location: Location).returns(ConstantPathWriteNode) } + def ConstantPathWriteNode(target, operator_loc, value, location); end + # Create a new ConstantReadNode node + sig { params(name: Symbol, location: Location).returns(ConstantReadNode) } + def ConstantReadNode(name, location); end + # Create a new ConstantTargetNode node + sig { params(name: Symbol, location: Location).returns(ConstantTargetNode) } + def ConstantTargetNode(name, location); end + # Create a new ConstantWriteNode node + sig { params(name: Symbol, name_loc: Location, value: Node, operator_loc: Location, location: Location).returns(ConstantWriteNode) } + def ConstantWriteNode(name, name_loc, value, operator_loc, location); end + # Create a new DefNode node + sig { params(name: Symbol, name_loc: Location, receiver: T.nilable(Node), parameters: T.nilable(ParametersNode), body: T.nilable(Node), locals: T::Array[Symbol], def_keyword_loc: Location, operator_loc: T.nilable(Location), lparen_loc: T.nilable(Location), rparen_loc: T.nilable(Location), equal_loc: T.nilable(Location), end_keyword_loc: T.nilable(Location), location: Location).returns(DefNode) } + def DefNode(name, name_loc, receiver, parameters, body, locals, def_keyword_loc, operator_loc, lparen_loc, rparen_loc, equal_loc, end_keyword_loc, location); end + # Create a new DefinedNode node + sig { params(lparen_loc: T.nilable(Location), value: Node, rparen_loc: T.nilable(Location), keyword_loc: Location, location: Location).returns(DefinedNode) } + def DefinedNode(lparen_loc, value, rparen_loc, keyword_loc, location); end + # Create a new ElseNode node + sig { params(else_keyword_loc: Location, statements: T.nilable(StatementsNode), end_keyword_loc: T.nilable(Location), location: Location).returns(ElseNode) } + def ElseNode(else_keyword_loc, statements, end_keyword_loc, location); end + # Create a new EmbeddedStatementsNode node + sig { params(opening_loc: Location, statements: T.nilable(StatementsNode), closing_loc: Location, location: Location).returns(EmbeddedStatementsNode) } + def EmbeddedStatementsNode(opening_loc, statements, closing_loc, location); end + # Create a new EmbeddedVariableNode node + sig { params(operator_loc: Location, variable: Node, location: Location).returns(EmbeddedVariableNode) } + def EmbeddedVariableNode(operator_loc, variable, location); end + # Create a new EnsureNode node + sig { params(ensure_keyword_loc: Location, statements: T.nilable(StatementsNode), end_keyword_loc: Location, location: Location).returns(EnsureNode) } + def EnsureNode(ensure_keyword_loc, statements, end_keyword_loc, location); end + # Create a new FalseNode node + sig { params(location: Location).returns(FalseNode) } + def FalseNode(location); end + # Create a new FindPatternNode node + sig { params(constant: T.nilable(Node), left: Node, requireds: T::Array[Node], right: Node, opening_loc: T.nilable(Location), closing_loc: T.nilable(Location), location: Location).returns(FindPatternNode) } + def FindPatternNode(constant, left, requireds, right, opening_loc, closing_loc, location); end + # Create a new FlipFlopNode node + sig { params(left: T.nilable(Node), right: T.nilable(Node), operator_loc: Location, flags: Integer, location: Location).returns(FlipFlopNode) } + def FlipFlopNode(left, right, operator_loc, flags, location); end + # Create a new FloatNode node + sig { params(location: Location).returns(FloatNode) } + def FloatNode(location); end + # Create a new ForNode node + sig { params(index: Node, collection: Node, statements: T.nilable(StatementsNode), for_keyword_loc: Location, in_keyword_loc: Location, do_keyword_loc: T.nilable(Location), end_keyword_loc: Location, location: Location).returns(ForNode) } + def ForNode(index, collection, statements, for_keyword_loc, in_keyword_loc, do_keyword_loc, end_keyword_loc, location); end + # Create a new ForwardingArgumentsNode node + sig { params(location: Location).returns(ForwardingArgumentsNode) } + def ForwardingArgumentsNode(location); end + # Create a new ForwardingParameterNode node + sig { params(location: Location).returns(ForwardingParameterNode) } + def ForwardingParameterNode(location); end + # Create a new ForwardingSuperNode node + sig { params(block: T.nilable(BlockNode), location: Location).returns(ForwardingSuperNode) } + def ForwardingSuperNode(block, location); end + # Create a new GlobalVariableAndWriteNode node + sig { params(name: Symbol, name_loc: Location, operator_loc: Location, value: Node, location: Location).returns(GlobalVariableAndWriteNode) } + def GlobalVariableAndWriteNode(name, name_loc, operator_loc, value, location); end + # Create a new GlobalVariableOperatorWriteNode node + sig { params(name: Symbol, name_loc: Location, operator_loc: Location, value: Node, operator: Symbol, location: Location).returns(GlobalVariableOperatorWriteNode) } + def GlobalVariableOperatorWriteNode(name, name_loc, operator_loc, value, operator, location); end + # Create a new GlobalVariableOrWriteNode node + sig { params(name: Symbol, name_loc: Location, operator_loc: Location, value: Node, location: Location).returns(GlobalVariableOrWriteNode) } + def GlobalVariableOrWriteNode(name, name_loc, operator_loc, value, location); end + # Create a new GlobalVariableReadNode node + sig { params(name: Symbol, location: Location).returns(GlobalVariableReadNode) } + def GlobalVariableReadNode(name, location); end + # Create a new GlobalVariableTargetNode node + sig { params(name: Symbol, location: Location).returns(GlobalVariableTargetNode) } + def GlobalVariableTargetNode(name, location); end + # Create a new GlobalVariableWriteNode node + sig { params(name: Symbol, name_loc: Location, value: Node, operator_loc: Location, location: Location).returns(GlobalVariableWriteNode) } + def GlobalVariableWriteNode(name, name_loc, value, operator_loc, location); end + # Create a new HashNode node + sig { params(opening_loc: Location, elements: T::Array[Node], closing_loc: Location, location: Location).returns(HashNode) } + def HashNode(opening_loc, elements, closing_loc, location); end + # Create a new HashPatternNode node + sig { params(constant: T.nilable(Node), assocs: T::Array[Node], kwrest: T.nilable(Node), opening_loc: T.nilable(Location), closing_loc: T.nilable(Location), location: Location).returns(HashPatternNode) } + def HashPatternNode(constant, assocs, kwrest, opening_loc, closing_loc, location); end + # Create a new IfNode node + sig { params(if_keyword_loc: T.nilable(Location), predicate: Node, statements: T.nilable(StatementsNode), consequent: T.nilable(Node), end_keyword_loc: T.nilable(Location), location: Location).returns(IfNode) } + def IfNode(if_keyword_loc, predicate, statements, consequent, end_keyword_loc, location); end + # Create a new ImaginaryNode node + sig { params(numeric: Node, location: Location).returns(ImaginaryNode) } + def ImaginaryNode(numeric, location); end + # Create a new ImplicitNode node + sig { params(value: Node, location: Location).returns(ImplicitNode) } + def ImplicitNode(value, location); end + # Create a new InNode node + sig { params(pattern: Node, statements: T.nilable(StatementsNode), in_loc: Location, then_loc: T.nilable(Location), location: Location).returns(InNode) } + def InNode(pattern, statements, in_loc, then_loc, location); end + # Create a new InstanceVariableAndWriteNode node + sig { params(name: Symbol, name_loc: Location, operator_loc: Location, value: Node, location: Location).returns(InstanceVariableAndWriteNode) } + def InstanceVariableAndWriteNode(name, name_loc, operator_loc, value, location); end + # Create a new InstanceVariableOperatorWriteNode node + sig { params(name: Symbol, name_loc: Location, operator_loc: Location, value: Node, operator: Symbol, location: Location).returns(InstanceVariableOperatorWriteNode) } + def InstanceVariableOperatorWriteNode(name, name_loc, operator_loc, value, operator, location); end + # Create a new InstanceVariableOrWriteNode node + sig { params(name: Symbol, name_loc: Location, operator_loc: Location, value: Node, location: Location).returns(InstanceVariableOrWriteNode) } + def InstanceVariableOrWriteNode(name, name_loc, operator_loc, value, location); end + # Create a new InstanceVariableReadNode node + sig { params(name: Symbol, location: Location).returns(InstanceVariableReadNode) } + def InstanceVariableReadNode(name, location); end + # Create a new InstanceVariableTargetNode node + sig { params(name: Symbol, location: Location).returns(InstanceVariableTargetNode) } + def InstanceVariableTargetNode(name, location); end + # Create a new InstanceVariableWriteNode node + sig { params(name: Symbol, name_loc: Location, value: Node, operator_loc: Location, location: Location).returns(InstanceVariableWriteNode) } + def InstanceVariableWriteNode(name, name_loc, value, operator_loc, location); end + # Create a new IntegerNode node + sig { params(flags: Integer, location: Location).returns(IntegerNode) } + def IntegerNode(flags, location); end + # Create a new InterpolatedMatchLastLineNode node + sig { params(opening_loc: Location, parts: T::Array[Node], closing_loc: Location, flags: Integer, location: Location).returns(InterpolatedMatchLastLineNode) } + def InterpolatedMatchLastLineNode(opening_loc, parts, closing_loc, flags, location); end + # Create a new InterpolatedRegularExpressionNode node + sig { params(opening_loc: Location, parts: T::Array[Node], closing_loc: Location, flags: Integer, location: Location).returns(InterpolatedRegularExpressionNode) } + def InterpolatedRegularExpressionNode(opening_loc, parts, closing_loc, flags, location); end + # Create a new InterpolatedStringNode node + sig { params(opening_loc: T.nilable(Location), parts: T::Array[Node], closing_loc: T.nilable(Location), location: Location).returns(InterpolatedStringNode) } + def InterpolatedStringNode(opening_loc, parts, closing_loc, location); end + # Create a new InterpolatedSymbolNode node + sig { params(opening_loc: T.nilable(Location), parts: T::Array[Node], closing_loc: T.nilable(Location), location: Location).returns(InterpolatedSymbolNode) } + def InterpolatedSymbolNode(opening_loc, parts, closing_loc, location); end + # Create a new InterpolatedXStringNode node + sig { params(opening_loc: Location, parts: T::Array[Node], closing_loc: Location, location: Location).returns(InterpolatedXStringNode) } + def InterpolatedXStringNode(opening_loc, parts, closing_loc, location); end + # Create a new KeywordHashNode node + sig { params(elements: T::Array[Node], location: Location).returns(KeywordHashNode) } + def KeywordHashNode(elements, location); end + # Create a new KeywordParameterNode node + sig { params(name: Symbol, name_loc: Location, value: T.nilable(Node), location: Location).returns(KeywordParameterNode) } + def KeywordParameterNode(name, name_loc, value, location); end + # Create a new KeywordRestParameterNode node + sig { params(name: T.nilable(Symbol), name_loc: T.nilable(Location), operator_loc: Location, location: Location).returns(KeywordRestParameterNode) } + def KeywordRestParameterNode(name, name_loc, operator_loc, location); end + # Create a new LambdaNode node + sig { params(locals: T::Array[Symbol], operator_loc: Location, opening_loc: Location, closing_loc: Location, parameters: T.nilable(BlockParametersNode), body: T.nilable(Node), location: Location).returns(LambdaNode) } + def LambdaNode(locals, operator_loc, opening_loc, closing_loc, parameters, body, location); end + # Create a new LocalVariableAndWriteNode node + sig { params(name_loc: Location, operator_loc: Location, value: Node, name: Symbol, depth: Integer, location: Location).returns(LocalVariableAndWriteNode) } + def LocalVariableAndWriteNode(name_loc, operator_loc, value, name, depth, location); end + # Create a new LocalVariableOperatorWriteNode node + sig { params(name_loc: Location, operator_loc: Location, value: Node, name: Symbol, operator: Symbol, depth: Integer, location: Location).returns(LocalVariableOperatorWriteNode) } + def LocalVariableOperatorWriteNode(name_loc, operator_loc, value, name, operator, depth, location); end + # Create a new LocalVariableOrWriteNode node + sig { params(name_loc: Location, operator_loc: Location, value: Node, name: Symbol, depth: Integer, location: Location).returns(LocalVariableOrWriteNode) } + def LocalVariableOrWriteNode(name_loc, operator_loc, value, name, depth, location); end + # Create a new LocalVariableReadNode node + sig { params(name: Symbol, depth: Integer, location: Location).returns(LocalVariableReadNode) } + def LocalVariableReadNode(name, depth, location); end + # Create a new LocalVariableTargetNode node + sig { params(name: Symbol, depth: Integer, location: Location).returns(LocalVariableTargetNode) } + def LocalVariableTargetNode(name, depth, location); end + # Create a new LocalVariableWriteNode node + sig { params(name: Symbol, depth: Integer, name_loc: Location, value: Node, operator_loc: Location, location: Location).returns(LocalVariableWriteNode) } + def LocalVariableWriteNode(name, depth, name_loc, value, operator_loc, location); end + # Create a new MatchLastLineNode node + sig { params(opening_loc: Location, content_loc: Location, closing_loc: Location, unescaped: String, flags: Integer, location: Location).returns(MatchLastLineNode) } + def MatchLastLineNode(opening_loc, content_loc, closing_loc, unescaped, flags, location); end + # Create a new MatchPredicateNode node + sig { params(value: Node, pattern: Node, operator_loc: Location, location: Location).returns(MatchPredicateNode) } + def MatchPredicateNode(value, pattern, operator_loc, location); end + # Create a new MatchRequiredNode node + sig { params(value: Node, pattern: Node, operator_loc: Location, location: Location).returns(MatchRequiredNode) } + def MatchRequiredNode(value, pattern, operator_loc, location); end + # Create a new MatchWriteNode node + sig { params(call: CallNode, locals: T::Array[Symbol], location: Location).returns(MatchWriteNode) } + def MatchWriteNode(call, locals, location); end + # Create a new MissingNode node + sig { params(location: Location).returns(MissingNode) } + def MissingNode(location); end + # Create a new ModuleNode node + sig { params(locals: T::Array[Symbol], module_keyword_loc: Location, constant_path: Node, body: T.nilable(Node), end_keyword_loc: Location, name: Symbol, location: Location).returns(ModuleNode) } + def ModuleNode(locals, module_keyword_loc, constant_path, body, end_keyword_loc, name, location); end + # Create a new MultiTargetNode node + sig { params(targets: T::Array[Node], lparen_loc: T.nilable(Location), rparen_loc: T.nilable(Location), location: Location).returns(MultiTargetNode) } + def MultiTargetNode(targets, lparen_loc, rparen_loc, location); end + # Create a new MultiWriteNode node + sig { params(targets: T::Array[Node], lparen_loc: T.nilable(Location), rparen_loc: T.nilable(Location), operator_loc: Location, value: Node, location: Location).returns(MultiWriteNode) } + def MultiWriteNode(targets, lparen_loc, rparen_loc, operator_loc, value, location); end + # Create a new NextNode node + sig { params(arguments: T.nilable(ArgumentsNode), keyword_loc: Location, location: Location).returns(NextNode) } + def NextNode(arguments, keyword_loc, location); end + # Create a new NilNode node + sig { params(location: Location).returns(NilNode) } + def NilNode(location); end + # Create a new NoKeywordsParameterNode node + sig { params(operator_loc: Location, keyword_loc: Location, location: Location).returns(NoKeywordsParameterNode) } + def NoKeywordsParameterNode(operator_loc, keyword_loc, location); end + # Create a new NumberedReferenceReadNode node + sig { params(number: Integer, location: Location).returns(NumberedReferenceReadNode) } + def NumberedReferenceReadNode(number, location); end + # Create a new OptionalParameterNode node + sig { params(name: Symbol, name_loc: Location, operator_loc: Location, value: Node, location: Location).returns(OptionalParameterNode) } + def OptionalParameterNode(name, name_loc, operator_loc, value, location); end + # Create a new OrNode node + sig { params(left: Node, right: Node, operator_loc: Location, location: Location).returns(OrNode) } + def OrNode(left, right, operator_loc, location); end + # Create a new ParametersNode node + sig { params(requireds: T::Array[Node], optionals: T::Array[Node], rest: T.nilable(RestParameterNode), posts: T::Array[Node], keywords: T::Array[Node], keyword_rest: T.nilable(Node), block: T.nilable(BlockParameterNode), location: Location).returns(ParametersNode) } + def ParametersNode(requireds, optionals, rest, posts, keywords, keyword_rest, block, location); end + # Create a new ParenthesesNode node + sig { params(body: T.nilable(Node), opening_loc: Location, closing_loc: Location, location: Location).returns(ParenthesesNode) } + def ParenthesesNode(body, opening_loc, closing_loc, location); end + # Create a new PinnedExpressionNode node + sig { params(expression: Node, operator_loc: Location, lparen_loc: Location, rparen_loc: Location, location: Location).returns(PinnedExpressionNode) } + def PinnedExpressionNode(expression, operator_loc, lparen_loc, rparen_loc, location); end + # Create a new PinnedVariableNode node + sig { params(variable: Node, operator_loc: Location, location: Location).returns(PinnedVariableNode) } + def PinnedVariableNode(variable, operator_loc, location); end + # Create a new PostExecutionNode node + sig { params(statements: T.nilable(StatementsNode), keyword_loc: Location, opening_loc: Location, closing_loc: Location, location: Location).returns(PostExecutionNode) } + def PostExecutionNode(statements, keyword_loc, opening_loc, closing_loc, location); end + # Create a new PreExecutionNode node + sig { params(statements: T.nilable(StatementsNode), keyword_loc: Location, opening_loc: Location, closing_loc: Location, location: Location).returns(PreExecutionNode) } + def PreExecutionNode(statements, keyword_loc, opening_loc, closing_loc, location); end + # Create a new ProgramNode node + sig { params(locals: T::Array[Symbol], statements: StatementsNode, location: Location).returns(ProgramNode) } + def ProgramNode(locals, statements, location); end + # Create a new RangeNode node + sig { params(left: T.nilable(Node), right: T.nilable(Node), operator_loc: Location, flags: Integer, location: Location).returns(RangeNode) } + def RangeNode(left, right, operator_loc, flags, location); end + # Create a new RationalNode node + sig { params(numeric: Node, location: Location).returns(RationalNode) } + def RationalNode(numeric, location); end + # Create a new RedoNode node + sig { params(location: Location).returns(RedoNode) } + def RedoNode(location); end + # Create a new RegularExpressionNode node + sig { params(opening_loc: Location, content_loc: Location, closing_loc: Location, unescaped: String, flags: Integer, location: Location).returns(RegularExpressionNode) } + def RegularExpressionNode(opening_loc, content_loc, closing_loc, unescaped, flags, location); end + # Create a new RequiredDestructuredParameterNode node + sig { params(parameters: T::Array[Node], opening_loc: Location, closing_loc: Location, location: Location).returns(RequiredDestructuredParameterNode) } + def RequiredDestructuredParameterNode(parameters, opening_loc, closing_loc, location); end + # Create a new RequiredParameterNode node + sig { params(name: Symbol, location: Location).returns(RequiredParameterNode) } + def RequiredParameterNode(name, location); end + # Create a new RescueModifierNode node + sig { params(expression: Node, keyword_loc: Location, rescue_expression: Node, location: Location).returns(RescueModifierNode) } + def RescueModifierNode(expression, keyword_loc, rescue_expression, location); end + # Create a new RescueNode node + sig { params(keyword_loc: Location, exceptions: T::Array[Node], operator_loc: T.nilable(Location), reference: T.nilable(Node), statements: T.nilable(StatementsNode), consequent: T.nilable(RescueNode), location: Location).returns(RescueNode) } + def RescueNode(keyword_loc, exceptions, operator_loc, reference, statements, consequent, location); end + # Create a new RestParameterNode node + sig { params(name: T.nilable(Symbol), name_loc: T.nilable(Location), operator_loc: Location, location: Location).returns(RestParameterNode) } + def RestParameterNode(name, name_loc, operator_loc, location); end + # Create a new RetryNode node + sig { params(location: Location).returns(RetryNode) } + def RetryNode(location); end + # Create a new ReturnNode node + sig { params(keyword_loc: Location, arguments: T.nilable(ArgumentsNode), location: Location).returns(ReturnNode) } + def ReturnNode(keyword_loc, arguments, location); end + # Create a new SelfNode node + sig { params(location: Location).returns(SelfNode) } + def SelfNode(location); end + # Create a new SingletonClassNode node + sig { params(locals: T::Array[Symbol], class_keyword_loc: Location, operator_loc: Location, expression: Node, body: T.nilable(Node), end_keyword_loc: Location, location: Location).returns(SingletonClassNode) } + def SingletonClassNode(locals, class_keyword_loc, operator_loc, expression, body, end_keyword_loc, location); end + # Create a new SourceEncodingNode node + sig { params(location: Location).returns(SourceEncodingNode) } + def SourceEncodingNode(location); end + # Create a new SourceFileNode node + sig { params(filepath: String, location: Location).returns(SourceFileNode) } + def SourceFileNode(filepath, location); end + # Create a new SourceLineNode node + sig { params(location: Location).returns(SourceLineNode) } + def SourceLineNode(location); end + # Create a new SplatNode node + sig { params(operator_loc: Location, expression: T.nilable(Node), location: Location).returns(SplatNode) } + def SplatNode(operator_loc, expression, location); end + # Create a new StatementsNode node + sig { params(body: T::Array[Node], location: Location).returns(StatementsNode) } + def StatementsNode(body, location); end + # Create a new StringConcatNode node + sig { params(left: Node, right: Node, location: Location).returns(StringConcatNode) } + def StringConcatNode(left, right, location); end + # Create a new StringNode node + sig { params(flags: Integer, opening_loc: T.nilable(Location), content_loc: Location, closing_loc: T.nilable(Location), unescaped: String, location: Location).returns(StringNode) } + def StringNode(flags, opening_loc, content_loc, closing_loc, unescaped, location); end + # Create a new SuperNode node + sig { params(keyword_loc: Location, lparen_loc: T.nilable(Location), arguments: T.nilable(ArgumentsNode), rparen_loc: T.nilable(Location), block: T.nilable(BlockNode), location: Location).returns(SuperNode) } + def SuperNode(keyword_loc, lparen_loc, arguments, rparen_loc, block, location); end + # Create a new SymbolNode node + sig { params(opening_loc: T.nilable(Location), value_loc: T.nilable(Location), closing_loc: T.nilable(Location), unescaped: String, location: Location).returns(SymbolNode) } + def SymbolNode(opening_loc, value_loc, closing_loc, unescaped, location); end + # Create a new TrueNode node + sig { params(location: Location).returns(TrueNode) } + def TrueNode(location); end + # Create a new UndefNode node + sig { params(names: T::Array[Node], keyword_loc: Location, location: Location).returns(UndefNode) } + def UndefNode(names, keyword_loc, location); end + # Create a new UnlessNode node + sig { params(keyword_loc: Location, predicate: Node, statements: T.nilable(StatementsNode), consequent: T.nilable(ElseNode), end_keyword_loc: T.nilable(Location), location: Location).returns(UnlessNode) } + def UnlessNode(keyword_loc, predicate, statements, consequent, end_keyword_loc, location); end + # Create a new UntilNode node + sig { params(keyword_loc: Location, closing_loc: T.nilable(Location), predicate: Node, statements: T.nilable(StatementsNode), flags: Integer, location: Location).returns(UntilNode) } + def UntilNode(keyword_loc, closing_loc, predicate, statements, flags, location); end + # Create a new WhenNode node + sig { params(keyword_loc: Location, conditions: T::Array[Node], statements: T.nilable(StatementsNode), location: Location).returns(WhenNode) } + def WhenNode(keyword_loc, conditions, statements, location); end + # Create a new WhileNode node + sig { params(keyword_loc: Location, closing_loc: T.nilable(Location), predicate: Node, statements: T.nilable(StatementsNode), flags: Integer, location: Location).returns(WhileNode) } + def WhileNode(keyword_loc, closing_loc, predicate, statements, flags, location); end + # Create a new XStringNode node + sig { params(opening_loc: Location, content_loc: Location, closing_loc: Location, unescaped: String, location: Location).returns(XStringNode) } + def XStringNode(opening_loc, content_loc, closing_loc, unescaped, location); end + # Create a new YieldNode node + sig { params(keyword_loc: Location, lparen_loc: T.nilable(Location), arguments: T.nilable(ArgumentsNode), rparen_loc: T.nilable(Location), location: Location).returns(YieldNode) } + def YieldNode(keyword_loc, lparen_loc, arguments, rparen_loc, location); end + end +end diff --git a/test/ruby_lsp_rails/code_lens_test.rb b/test/ruby_lsp_rails/code_lens_test.rb index 5a37ac38..e7fb96fc 100644 --- a/test/ruby_lsp_rails/code_lens_test.rb +++ b/test/ruby_lsp_rails/code_lens_test.rb @@ -8,8 +8,6 @@ module Rails class CodeLensTest < ActiveSupport::TestCase setup do @message_queue = Thread::Queue.new - @store = RubyLsp::Store.new - @uri = URI("file:///fake.rb") end def teardown @@ -17,7 +15,7 @@ def teardown end test "recognizes Rails Active Support test cases" do - @store.set(uri: @uri, source: <<~RUBY, version: 1) + response = generate_code_lens_for_source(<<~RUBY) class Test < ActiveSupport::TestCase test "an example" do # test body @@ -25,11 +23,6 @@ class Test < ActiveSupport::TestCase end RUBY - response = RubyLsp::Executor.new(@store, @message_queue).execute({ - method: "textDocument/codeLens", - params: { textDocument: { uri: @uri }, position: { line: 0, character: 0 } }, - }).response - # The first 3 responses are for the test class. # The last 3 are for the test declaration. assert_equal(6, response.size) @@ -40,7 +33,7 @@ class Test < ActiveSupport::TestCase end test "recognizes multiline escaped strings" do - @store.set(uri: @uri, source: <<~RUBY, version: 1) + response = generate_code_lens_for_source(<<~RUBY) class Test < ActiveSupport::TestCase test "an example" \ "multiline" do @@ -49,11 +42,6 @@ class Test < ActiveSupport::TestCase end RUBY - response = RubyLsp::Executor.new(@store, @message_queue).execute({ - method: "textDocument/codeLens", - params: { textDocument: { uri: @uri }, position: { line: 0, character: 0 } }, - }).response - # The first 3 responses are for the test class. # The last 3 are for the test declaration. assert_equal(6, response.size) @@ -64,7 +52,7 @@ class Test < ActiveSupport::TestCase end test "ignores unnamed tests (empty string)" do - @store.set(uri: @uri, source: <<~RUBY, version: 1) + response = generate_code_lens_for_source(<<~RUBY) class Test < ActiveSupport::TestCase test "" do # test body @@ -72,36 +60,26 @@ class Test < ActiveSupport::TestCase end RUBY - response = RubyLsp::Executor.new(@store, @message_queue).execute({ - method: "textDocument/codeLens", - params: { textDocument: { uri: @uri }, position: { line: 0, character: 0 } }, - }).response - # The 3 responses are for the test class, none for the test declaration. assert_equal(3, response.size) end test "ignores tests with interpolation in their names" do # Note that we need to quote the heredoc RUBY marker to prevent interpolation when defining the test. - @store.set(uri: @uri, source: <<~'RUBY', version: 1) + response = generate_code_lens_for_source(<<~RUBY) class Test < ActiveSupport::TestCase - test "before #{1 + 1} after" do + test "before \#{1 + 1} after" do # test body end end RUBY - response = RubyLsp::Executor.new(@store, @message_queue).execute({ - method: "textDocument/codeLens", - params: { textDocument: { uri: @uri }, position: { line: 0, character: 0 } }, - }).response - # The 3 responses are for the test class, none for the test declaration. assert_equal(3, response.size) end test "ignores tests with a non-string name argument" do - @store.set(uri: @uri, source: <<~RUBY, version: 1) + response = generate_code_lens_for_source(<<~RUBY) class Test < ActiveSupport::TestCase test foo do # test body @@ -109,17 +87,12 @@ class Test < ActiveSupport::TestCase end RUBY - response = RubyLsp::Executor.new(@store, @message_queue).execute({ - method: "textDocument/codeLens", - params: { textDocument: { uri: @uri }, position: { line: 0, character: 0 } }, - }).response - # The 3 responses are for the test class, none for the test declaration. assert_equal(3, response.size) end test "ignores test cases without a name" do - @store.set(uri: @uri, source: <<~RUBY, version: 1) + response = generate_code_lens_for_source(<<~RUBY) class Test < ActiveSupport::TestCase test do # test body @@ -127,17 +100,12 @@ class Test < ActiveSupport::TestCase end RUBY - response = RubyLsp::Executor.new(@store, @message_queue).execute({ - method: "textDocument/codeLens", - params: { textDocument: { uri: @uri }, position: { line: 0, character: 0 } }, - }).response - # The 3 responses are for the test class, none for the test declaration. assert_equal(3, response.size) end test "recognizes plain test cases" do - @store.set(uri: @uri, source: <<~RUBY, version: 1) + response = generate_code_lens_for_source(<<~RUBY) class Test < ActiveSupport::TestCase def test_example # test body @@ -145,11 +113,6 @@ def test_example end RUBY - response = RubyLsp::Executor.new(@store, @message_queue).execute({ - method: "textDocument/codeLens", - params: { textDocument: { uri: @uri }, position: { line: 0, character: 0 } }, - }).response - # The first 3 responses are for the test declaration. # The last 3 are for the test class. assert_equal(6, response.size) @@ -158,6 +121,23 @@ def test_example assert_match("Run In Terminal", response[4].command.title) assert_match("Debug", response[5].command.title) end + + private + + def generate_code_lens_for_source(source) + uri = URI("file:///fake.rb") + store = RubyLsp::Store.new + store.set(uri: uri, source: source, version: 1) + + response = RubyLsp::Executor.new(store, @message_queue).execute({ + method: "textDocument/codeLens", + params: { textDocument: { uri: uri }, position: { line: 0, character: 0 } }, + }) + + assert_nil(response.error) + + response.response + end end end end diff --git a/test/ruby_lsp_rails/extension_test.rb b/test/ruby_lsp_rails/extension_test.rb index 9b7133e4..650082fd 100644 --- a/test/ruby_lsp_rails/extension_test.rb +++ b/test/ruby_lsp_rails/extension_test.rb @@ -5,18 +5,18 @@ module RubyLsp module Rails - class ExtensionTest < ActiveSupport::TestCase - test "name returns extension name" do - extension = Extension.new - assert_equal("Ruby LSP Rails", extension.name) + class AddonTest < ActiveSupport::TestCase + test "name returns addon name" do + addon = Addon.new + assert_equal("Ruby LSP Rails", addon.name) end test "activate checks if Rails server is running" do rails_client = stub("rails_client", check_if_server_is_running!: true) RubyLsp::Rails::RailsClient.stubs(instance: rails_client) - extension = Extension.new - assert_predicate(extension, :activate) + addon = Addon.new + assert_predicate(addon, :activate) end end end diff --git a/test/ruby_lsp_rails/hover_test.rb b/test/ruby_lsp_rails/hover_test.rb index 856b473f..2e64e3d3 100644 --- a/test/ruby_lsp_rails/hover_test.rb +++ b/test/ruby_lsp_rails/hover_test.rb @@ -34,14 +34,12 @@ class HoverTest < ActiveSupport::TestCase ], } - emitter = RubyLsp::EventEmitter.new - listener = Hover.new(@client, emitter, @message_queue) - stub_http_request("200", expected_response.to_json) @client.stubs(check_if_server_is_running!: true) - emitter.emit_for_target(Const("User")) - assert_equal(<<~CONTENT, T.must(listener.response).contents.value) + response = hover_on_source("User", { line: 0, character: 0 }) + + assert_equal(<<~CONTENT, response.contents.value) [Schema](file://#{@client.root}/db/schema.rb) **id**: integer @@ -63,15 +61,14 @@ class HoverTest < ActiveSupport::TestCase schema_file: "#{@client.root}/db/structure.sql", columns: [], } - emitter = RubyLsp::EventEmitter.new - listener = Hover.new(@client, emitter, @message_queue) stub_http_request("200", expected_response.to_json) @client.stubs(check_if_server_is_running!: true) - emitter.emit_for_target(Const("User")) + + response = hover_on_source("User", { line: 0, character: 0 }) assert_includes( - T.must(listener.response).contents.value, + response.contents.value, "[Schema](file://#{@client.root}/db/structure.sql)", ) end @@ -82,64 +79,68 @@ class HoverTest < ActiveSupport::TestCase columns: [], } - emitter = RubyLsp::EventEmitter.new - listener = Hover.new(@client, emitter, @message_queue) - stub_http_request("200", expected_response.to_json) @client.stubs(check_if_server_is_running!: true) - emitter.emit_for_target(Const("User")) - refute_match(/Schema/, T.must(listener.response).contents.value) + response = hover_on_source("User", { line: 0, character: 0 }) + + refute_match(/Schema/, response.contents.value) end test "shows documentation for routes DSLs" do - emitter = RubyLsp::EventEmitter.new - listener = Hover.new(@client, emitter, @message_queue) - emitter.emit_for_target(Command(Ident("root"), "projects#index", nil)) + value = hover_on_source("root 'projects#index'", { line: 0, character: 0 }).contents.value - response = T.must(listener.response).contents.value - assert_match(/\[Rails Document: `ActionDispatch::Routing::Mapper::Resources#root`\]/, response) - assert_match(%r{\(https://api\.rubyonrails\.org/.*\.html#method-i-root\)}, response) + assert_match(/\[Rails Document: `ActionDispatch::Routing::Mapper::Resources#root`\]/, value) + assert_match(%r{\(https://api\.rubyonrails\.org/.*\.html#method-i-root\)}, value) end test "shows documentation for controller DSLs" do - emitter = RubyLsp::EventEmitter.new - listener = Hover.new(@client, emitter, @message_queue) - emitter.emit_for_target(Command(Ident("before_action"), "foo", nil)) + value = hover_on_source("before_action :foo", { line: 0, character: 0 }).contents.value - response = T.must(listener.response).contents.value - assert_match(/\[Rails Document: `AbstractController::Callbacks::ClassMethods#before_action`\]/, response) - assert_match(%r{\(https://api\.rubyonrails\.org/.*\.html#method-i-before_action\)}, response) + assert_match(/\[Rails Document: `AbstractController::Callbacks::ClassMethods#before_action`\]/, value) + assert_match(%r{\(https://api\.rubyonrails\.org/.*\.html#method-i-before_action\)}, value) end test "shows documentation for job DSLs" do - emitter = RubyLsp::EventEmitter.new - listener = Hover.new(@client, emitter, @message_queue) - emitter.emit_for_target(Command(Ident("queue_as"), "default", nil)) + value = hover_on_source("queue_as :default", { line: 0, character: 0 }).contents.value - response = T.must(listener.response).contents.value - assert_match(/\[Rails Document: `ActiveJob::QueueName::ClassMethods#queue_as`\]/, response) - assert_match(%r{\(https://api\.rubyonrails\.org/.*\.html#method-i-queue_as\)}, response) + assert_match(/\[Rails Document: `ActiveJob::QueueName::ClassMethods#queue_as`\]/, value) + assert_match(%r{\(https://api\.rubyonrails\.org/.*\.html#method-i-queue_as\)}, value) end test "shows documentation for model DSLs" do - emitter = RubyLsp::EventEmitter.new - listener = Hover.new(@client, emitter, @message_queue) - emitter.emit_for_target(CallNode(nil, ".", Ident("validate"), "foo")) + value = hover_on_source("validate :foo", { line: 0, character: 0 }).contents.value - response = T.must(listener.response).contents.value - assert_match(/\[Rails Document: `ActiveModel::EachValidator#validate`\]/, response) - assert_match(%r{\(https://api\.rubyonrails\.org/.*\.html#method-i-validate\)}, response) + assert_match(/\[Rails Document: `ActiveModel::EachValidator#validate`\]/, value) + assert_match(%r{\(https://api\.rubyonrails\.org/.*\.html#method-i-validate\)}, value) end test "shows documentation for Rails constants" do - emitter = RubyLsp::EventEmitter.new - listener = Hover.new(@client, emitter, @message_queue) - emitter.emit_for_target(ConstPathRef(VarRef(Const("ActiveRecord")), Const("Base"))) + value = hover_on_source("ActiveRecord::Base", { line: 0, character: 14 }).contents.value + + assert_match(/\[Rails Document: `ActiveRecord::Base`\]/, value) + assert_match(%r{\(https://api\.rubyonrails\.org/.*Base\.html\)}, value) + end + + private + + def hover_on_source(source, position) + uri = URI("file:///fake.rb") + store = RubyLsp::Store.new + store.set(uri: uri, source: source, version: 1) + + response = RubyLsp::Executor.new(store, @message_queue).execute( + { + method: "textDocument/hover", + params: { + textDocument: { uri: uri }, + position: position, + }, + }, + ) - response = T.must(listener.response).contents.value - assert_match(/\[Rails Document: `ActiveRecord::Base`\]/, response) - assert_match(%r{\(https://api\.rubyonrails\.org/.*Base\.html\)}, response) + assert_nil(response.error) + response.response end end end diff --git a/test/test_helper.rb b/test/test_helper.rb index f5b60a59..48fd9112 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -12,7 +12,7 @@ require "mocha/minitest" require "syntax_tree/dsl" require "ruby_lsp/internal" -require "ruby_lsp/ruby_lsp_rails/extension" +require "ruby_lsp/ruby_lsp_rails/addon" module ActiveSupport class TestCase